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 85644 - How to add appropriate javadoc to project
Summary: How to add appropriate javadoc to project
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 11:11 UTC by kimsp
Modified: 2006-09-24 11:11 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kimsp 2006-09-24 11:11:46 UTC
When making a web project and a simple jsp file, the following issue arises:
If I try to write Java code in a JSP statement or expression <% code %> or <%=
code %> the JSP assistant does not have all the javadocs that it needs available
by default. Take a look at this code:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page</h1>
    <%
    request.(here I need code completion and access to the Javadocs of the
implicitly declared request object but the IDE says that I need to add the
javadoc to the project).
    %>
    </body>
</html>

As can be seen by trying to run the code in a clean install of netbeans the IDE
is not very helpfull. It only says that I need to add the appropriate javadoc to
the project - but by default the javadocs for servlets and jsp APIs are included
in the bundled in Tomcat. So what is the problem then, why does it not use it?

The behavior is the same for Serlvets where it is also missing the basic
documentation for the apis.

This is in both 5.0, 5.5b2 and 6.0M3