Rajinder Sandhu wrote:
>
> now it is working..
> 1. i made a directory under examples and put my jsps in that.
> 2. Another directory same name in web-inf\classes.
> 3. java file has this line of code package directoryName ;
>
> now it works fine.
> I dont know why always i have to use package, it is supposed to take the
> class file from web-inf\classes\ directory, as it is processing JSPs
> directly from examples directory ??
I explain why the package makes a difference here:
<http://TheJSPBook.com/faq/details.jsp?id=1007>
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets