Two things :
a) The error seems to be the outcome of some configuration problem.
b) U need to call the other servlet using the requestdispatcher.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: Yomie Chan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 15, 2000 12:33 PM
Subject: Error when serlvet calling serlvet
> HELP >_<
>
> I have "Internal Server Error" in my main page, i have
>
> public class LoginCtr extends HttpServlet
> {
> public void doGet(HttpServletRequest req, HttpServletResponse res)
> throws IOException
> {
> res.setContentType("text/html");
> PrintWriter out = res.getWriter();
> HttpSession session=req.getSession(false);
>
> if(session==null){
> ServletManipulate.noSessionErr (res,out); /*** error at here
> ***/
> return;
> }
>
> .......
> where ServletManipulate is another java servlet extending HttpServlet
>
> The error occurs only 20% rate =(
> at the error_log, i have the following entries:
> [Wed Nov 15] [crit] [ client xxx.xxx.xxx.xx] configuration error: couldn't
> check user. No user file?: /servlet/LoginCtr
>
> Is it because i didn't call servlet within servlet correctly? Thx
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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