Right off the bat, unless you mistyped, I see that you have fluch="true" and
it should be flush="true". Some servers are case sensitive, so make sure
Test.jsp and test.jsp are one and the same.

As someone else said, using .java is not going to work. Just use
/servlet/TestServlet  you don't need .class or .java on it.

Just a note..your using runtime includes via the <jsp:include..>. That is
fine as it "reuses" the include by only comiling it one time and wherever
you include it, it uses the same one compiled file. However, if you want
"performance" I would use the <%@ include file="..." %> so that the included
file becomes part of the overall servlet.


Then again..maybe that is what your after.


> -----Original Message-----
> From: Rajehswar V. Rao [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 1:21 AM
> To: [EMAIL PROTECTED]
> Subject: <jsp:include />
>
>
> Hi all,
>         when i use like this it works fine..
>         <jsp:include page="Test.jsp" fluch="true"/>
>         but when i use TestServlet.java in place of Test.jsp,
> it is not
> working....
>         I am using Tomcat with IIS on Windows2000...
>         Is there any funda behind it?As i know u can use both JSPs and
> Servlets in jsp action  tag...In fact any dynamic
> resources...Am i missing
> something or everything?
>         (dont say go use JSP..bcoz..I need to connect to DB
> and do some
> processing..thats why i         dont want to use JSPs...i want go for
> Servlets...
> -raj-
>
> ==============================================================
> =============
> 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