Hi Shivaraj,

Things would really be easier if you included a code example!

Nevertheless, I'll try to guess. My guess is that you included the source
file for your servlet.

Are you doing something like :

        <jsp:include page="TestServlet.java" flush="true"/>

If this is what you are doing, you should replace it with :

        <jsp:include page="/servlet/TestServlet" flush="true"/>

If that is note the cause of the problem, please describe exactly what you
are doing, icluding :

        - code example
        - where the jsp is located
        - where the servlet source is located (should be irrelevant;-)
        - where you put the compiled servlet

Pierre-Yves


-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
shivaraj
Envoy� : jeudi 26 juillet 2001 09:56
� : [EMAIL PROTECTED]
Objet : Re: <jsp:include /> another question???


hi pierre,
What i was telling was, In the jsp page i am including a servlet. So in the
jsp page i should get the results from the servlet(after all the
processing). BUT now what i am getting is Whole servlet code is getting
printed to the browser and not the processed result from the servlet...

thanx..

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to