> My question is: How can I announce Eclipse my CLASSPATH or what do I have to
> do that Eclipse knows my servlet-api.jar?
Ehem... I found a document at
http://www.joller-voss.ch/tools/eclipse/EclipseTomcatStarthilfe.pdf
It explains that I need a plug-in for Eclipse... now I can in fact compile
my servlets.
> Hello,
>
[quoted text clipped - 13 lines]
> Nice greetings from
> Thomas
You need to add a Jar to the Project. These instructions are for Linux, I
have never used Eclipse on Windows but I suspect it's almost identical.
Make sure that the project in question is displayed in the "Package
Explorer" or "Packages" windows. Right-click on the project and select
"Properties" from the menu (at the bottom). In the dialog box select "Java
Build Path" in the left pane and the "Libraries" tab in the right, then
click on the "Add External JARs.." button. This will pop-up a file
selection dialog box, just navigate to the servlet jar and select it.

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
Thomas Hoheneder - 19 Oct 2004 11:31 GMT
> You need to add a Jar to the Project. These instructions are for Linux, I
> have never used Eclipse on Windows but I suspect it's almost identical.
[quoted text clipped - 5 lines]
> click on the "Add External JARs.." button. This will pop-up a file
> selection dialog box, just navigate to the servlet jar and select it.
Thank you very much. This is a good hint with less effort than the way
described in the docu I have found.
In Windows it's exactly as you described for Linux. I will do it that way in
future.
Nice greetings from
Thomas