Hi, all,

I am rather new to JSP and I am having this problem about packages. I am
using JSWDK 1.0.1 and JDK 1.2.2. I am also using the JSP MVC model.

I have no problems serving a JSP page in a browser, have the user enter
some text, post the text to a servlet, and forward the text back to
another JSP page. However, if I forward my own objects (instead of String
or java.util.Vector) there is compilation error messages saying that my
class is not found in declaration or something (if you would like to help
I will send the complete error message). I believe it's because of where I
put my classes or CLASSPATH setting, but I just don't know how.

Things get messier if I put my servlet and other classes in a package. My
servlet is not found at all.

I would really appreciate any help or pointer to documentation or FAQ.
Thank you very much.

PS. My directory structure is like this:

JSP and html files are in \examples\webtrack
servlets are in \examples\Web-inf\servlets

I've tried putting my other auxillary classes in lots of places but none
can be found and used.

--
K

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to