|Re: servlet API help [message #174234 is a reply to message #174077]
||Thu, 13 July 2006 01:59
| Zohar Amir
Registered: July 2009
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
>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
> I recall coming across code in WTP that caches this information, so I
> think you will only have to specify it once per workspace.
> 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.01564 seconds