-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>Hi,
>
>I am trying to run a servlet, which calls another class and which calls
>a.jsp page and builds the html to be displayed on the browser.
>
>Now, I am getting error just before the .jsp page is called and the
>error shows content type as null and content lenght as -1, for the
>request parameters.
>
>I am wondering that do I have give any other instruction apart from the
>following in the jserv.conf file in order to run .jsp pages :
>
>ApJServAction .jsp com.sun.jsp.runtime.JspServlet
>ApJServAction .jsp /servlets/nl.nmg.jsp.JSPServlet
The first line tells jserv to call the com.sun.jsp.runtime.JspServlet
if requesting a file with suffix .jsp.
I don't think that is valid without a zone.
The second line tells jserv to call the servlet nl.nmg.jsp.JSPServlet
in zone srvlets if requesting a file with suffix .jsp.
Both together ask for trouble.
Only one will be correct for you.
I don't think com.sun.jsp.runtime.JspServlet will function
without properly initialized in some zone file.
GNUJSP 1.0 (cvs snapshot) comes with an INSTALL.apache
that describes what needs to be done to install a jsp engine.
The same changes are needed for com.sun.jsp.runtime.JspServlet I guess.
>
>
>Also, could somebody clarify what exactly the above 2 statements mean?
>
>ANy help is appreciated
>TIA
>--
>Gaurav Kishore
>401K Forum Inc.
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
Ciao,
Carsten Heyl
Carsten Heyl [EMAIL PROTECTED]
NADS - Solutions on Nets http://www.nads.de/
NADS GmbH http://www.pixelboxx.de/
Hildebrandtstr. 4E Tel.: +49 211 933 02-90
D-40215 Duesseldorf Fax.: +49 211 933 02-93
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]