Raj:

you cannot include a servlet in this way. And you are
using '/' and you don't provide '.class' at the end.

you should try including it at translation time (<%@
include %>).

Otherwise you can make instantiate one and call some
method on it.

Atilio
Good luck



--- "Rajehswar V. Rao" <[EMAIL PROTECTED]>
wrote:
> Hi,
> Here i am pasting the snippet...
> Can i use jsp:include like this....
> Please tell whether i am missing something.....
> Here my requirement is...I want to include
> GetFullNamesServlet if fullnames
> is null....
>  <%
>    Vector
>
fullnames=(Vector)application.getAttribute("fullnames");
>    if(fullnames==null){
> %>
> <jsp:include page="/servlet/GetFullNamesServlet"
> flush="true"/>
> <%
>  }
> %>
>
> raj
>


=====
Ing. Atilio Ranzuglia Buteler
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

===========================================================================
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