Hai,
I have an web-app which works fine with JSPs, but I when I used a servlet to do the same it does not work.
Iam using Wait and Notify in the JSP and Servlet code.
Is there a difference in the way the servlet/jsp container creates Threads to serve the Servlet and the way it creates threads to serve JSPs.
10x in advance,Surya
-
JSP Vs Servlet Processing (1 messages)
- Posted by: SuryaNarayana Raju Nellepalli
- Posted on: June 04 2003 00:36 EDT
Threaded Messages (1)
- JSP Vs Servlet Processing by Pratap Das on June 05 2003 14:13 EDT
-
JSP Vs Servlet Processing[ Go to top ]
- Posted by: Pratap Das
- Posted on: June 05 2003 14:13 EDT
- in response to SuryaNarayana Raju Nellepalli
Is there a difference in the way the servlet/jsp container creates Threads to serve the Servlet and the way it creates threads to serve JSPs.
I'm not sure what servlet container you use ... but they all have a way to "keep JSP file generated". This means that when a JSP file is changed, the servlet engine generates a servlet from the JSP and then compiles the servlet to a class file. By configuring your servlet container you can order it to keep the intermediate servlet files without deleting them.
Then open the servlet file corresponding to your JSP and see what's different from your own servlet implementation.
--Das