Thank you all! My problem was something in between the "developer's ide knows all packages" and the fact that I was presuming that the JSP and my class are within the same package.
Thanks for the tip about the JAR, I'll use this. It's very convenient.
Cheers,


David

Holger Klawitter wrote:
Am Dienstag, 24. Juni 2003 11:28 schrieb David Zellhoefer:

Hello!

I have a easy question for you:

1)I have written a class called Test, compiled it and placed it in
~/WEB-INF/classes/
2) Now I want to use objects from Test in a JSP, but if I try to use
Test Tomcat always tells me that it is not able to resolve the symbol.

What shall I do? Do I need to change the web.xml?


the contents of "classes" is not part of any package, whereas your jsp page is. You have to "import" your class.

Mit freundlichem Gru� / With kind regards
        Holger Klawitter
--
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to