Tripat,

If your setup will serve:

http://yourdomain/yourcontext/OptionList

Then you should try:

<jsp:include page = "/yourcontext/OptionList" flush="true" />

hth

Graham



----- Original Message -----
From: Tripat Kharbanda <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 17, 2000 5:01 PM
Subject: including servlet output in jsp file


>
> Hi people!!!!!!!
>
> I am new here. I have a very basic question(for the gurus) but for me its
> been nearly a day pulling my hair for this.
>
> what i am trying to do is to call servlet from the jsp page and get the
> output generated by the servlet into that jsp file. for this purpose i
> choose to use
>
> <jsp:include page = "../../WEB-INF/servlets/OptionList" flush="true" />
>
> but this gives the following error in the browser window
>
> Included servlet error: 404: File Not Found
> /jsp/maps/../../WEB-INF/servlets/OptionList
>
> but if i append ".class" to the servlet file path it displays the binary
> code of the class file. That means that the path for the servlet is
correct.
>
> i am using jswdk-1.0.1 on win'98
>
> Please help.
>
>
___________________________________________________________________________
> 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

Reply via email to