Ya, I compiled Servlet file...
It is not producing any error...
and Servlet is not getting invoked....
and i have doubt that there is some problem with relative path....
and my jsp is here : webapps-->myCon-->jsp-->XXX.jsp(Test.jsp is also here)
and servlet is here :
webapps--->myCon-->Web-Inf-->classes-->TestServlet.class
i have this snippet in XXX.jsp...
<jsp:include page="../servlet/TestServlet" flush="true"/>--------->PRODUCES
ERROR
<jsp:include page="Test.jsp" flush="true"/>--------->WORKS FINE
IS it OK?
-raj-
-----Original Message-----
From: shivaraj [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: <jsp:include />
What error it is giving? Have u compiled the servlet?
----- Original Message -----
From: "Rajehswar V. Rao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 1:03 PM
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, 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
>
>
___________________________________________________________________________
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
___________________________________________________________________________
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