Thanks for the answer, sorry it's just a typo in my text.
please read "myPackage" instead of "myPack".

the error I have is not a mispelling in the names, unfortunately :(

thx again
Christophe


> -----Message d'origine-----
> De:   Michael Normington [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 14 février 2001 16:56
> À:    [EMAIL PROTECTED]
> Objet:        Re: JSP/Servlets and JBuilder 4 paths problem
>
> it sounds like you need to reference myPackage.Servlet1.class instead of
> mypack.Servlet1.class
>
> -----Original Message-----
> From: Christophe Dubourg [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 14, 2001 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: JSP/Servlets and JBuilder 4 paths problem
>
>
> Hi, I'm writing a JSP which must call different servlets,
> using the requestDispatcher.forward() function.
>
> The servlet engine has problems finding the servlets.
> I have problems with the paths : the server integrated into JBuilder
> (tomCat) just can't find the servlet, although I have added almost
> everything in my classpath and in the project's search paths.
>
> my jsp contains a line like this:
>         myRequestDispatcher =
> request.getRequestDispatcher("myPackage.Servlet1");
>         myRequestDispatcher.forward();
>
> and I have Servlet1.class in the /classes/mypackage/ directory.
>
> Any idea how to tell tomCat to find the file mypack.Servlet1.class ?
>
> FYI, the files are organized like this (JBuilder 4 default)
>
> myProject/
>   src/
>     myPackage/
>       jsp1.jsp
>       Servlet1.java
>   classes/
>     myPackage/
>       Servlet1.class
>
> Thanks for any help on this
> --Christophe
>
> ========================================================================
> ===
> 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
>
> ==========================================================================
> =
> 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

===========================================================================
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

Reply via email to