This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 57833 - Javadoc not viewed in Project view|Libraries in Mozilla on WinXP
Summary: Javadoc not viewed in Project view|Libraries in Mozilla on WinXP
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 58385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-13 14:10 UTC by zikmund
Modified: 2005-10-27 14:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-04-13 14:10:16 UTC
Build 200504121800

1) Have Mozilla 1.6 on WinXP
2) Have a WebApp project on Tomcat/Sun Application Server
3) Project view | project's Libraries | server
4) invoke Show Javadoc on jsp-api.jar, servlet-api.jar or j2ee.jar
5) ERROR:
Wrong URL opened:
jar:file:/D:/NetBeans/.../j2eeri-1_4-doc-api.zip!/apidocs//overview-summary.html
should be:
jar:file:/D:/NetBeans/.../j2eeri-1_4-doc-api.zip!/apidocs/overview-summary.html
(or best solution: jar:file:///D:/NetBeans/...)

BTW: The double slash ('//') instead of single before HTML file name is
mandatory - Mozilla 1.6 on WinXP will not show it.

MS IE works fine. Mozilla 1.4 on RedHat linux works fine (IDE uses httpserver
for displaying, not jar:file:///).
Comment 1 zikmund 2005-04-15 11:00:51 UTC
Same problem happens for JAR files in Java Platform (when you set Java
Platform's Javadoc) also in JavaProject -> reassigning.
Comment 2 Tomas Zezula 2005-04-15 13:37:55 UTC
Works fine on Linux both with Mozilla and Firefox.
Thanks for the URLs, I am going to fix it, but someone should try it on WinXP
since I cannot verify it.
Comment 3 Tomas Zezula 2005-04-18 15:13:02 UTC
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/ActionFilterNode.java,v
 <--  ActionFilterNode.java
new revision: 1.7; previous revision: 1.6
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java,v
 <--  PlatformNode.java
new revision: 1.8; previous revision: 1.7
done
Comment 4 Tomas Zezula 2005-04-18 15:13:30 UTC
Karle, can you test it. I don't have WinXP.
Comment 5 Tomas Zezula 2005-05-04 15:15:48 UTC
*** Issue 58385 has been marked as a duplicate of this issue. ***
Comment 6 peterwilkins 2005-05-23 20:33:24 UTC
I am still experiencing this problem in NetBeans 4.1 (IDE/1 spec=5.9.1 
(impl=2005050331930)  running Java VM 1.4.2_08-b03 on Windows 2000.
Comment 7 Tomas Zezula 2005-10-27 14:08:39 UTC
I've tried it on Linux and Windows XP, (I don't have Win 2000). Mozilla opened
fine on both. NetBeans (Build 051028).

The original problem was, as Karel pointed above, that the URL was encoded
jar:file:/C:/...., but it does not work in Mozilla.
Now the URL is encoded as jar:file:///C:/... which should work fine on Mozilla.
I've verified the opened URL and it's OK (jar:file:///C:/...).