servlet API help [message #174060] |
Wed, 12 July 2006 02:08  |
Eclipse User |
|
|
|
Using WTP 1.5 (GA).
I have tomcat (5.5) configured as a server. Why can't I browse the servlet's
API (using CTRL+F2)?
|
|
|
|
Re: servlet API help [message #174234 is a reply to message #174077] |
Thu, 13 July 2006 01:59  |
Eclipse User |
|
|
|
Thanks (again),
Sorry - it's (SHIFT + F2)...
Why can't WTP do all that by itself - the location of the docs and sources
is standard for a tomcat installation (as you guided me here). I guess it's
standard for any of the server options also.
"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:e92trp$qeo$1@utils.eclipse.org...
>I don't find any command assigned to CTRL+F2 in my Eclipse, but I would
>guess that you will need to attach source to the servlet API jar for what
>you want to work. Assuming you are using Tomcat 5.0.x or 5.5.x, you would
>expand the Tomcat runtime in the Package Explorer, right-click on the
>servlet-api.jar, and select Properties. Select "Java Source Attachment"
>and provide the path to the source files for the servlet API. This will
>likely be under the "jsr154\src\share" folder where the servlet API is
>found in the Tomcat source distribution. Not being certain of the command
>you want to execute, you might need to also specify the Javadoc Location.
>This can be found in your Tomcat installation within the "tomcat-docs" web
>application.
>
> I recall coming across code in WTP that caches this information, so I
> think you will only have to specify it once per workspace.
>
> Cheers,
> Larry
>
> Zohar wrote:
>> Using WTP 1.5 (GA).
>> I have tomcat (5.5) configured as a server. Why can't I browse the
>> servlet's API (using CTRL+F2)?
|
|
|
Powered by
FUDForum. Page generated in 0.03532 seconds