tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T-Vish...@niit.com
Subject RE: Tomcat 3.1 and JSPs.
Date Fri, 09 Jun 2000 10:50:31 GMT
since u r using the servlet u maybe be calling any one of the following
functions..

doGet() or doPost()..... it is the second argument passed to it.
i think the object is of HttpServletResponse.

Reg
Vishal

> -----Original Message-----
> From:	T-VishalS@niit.com [SMTP:T-VishalS@niit.com]
> Sent:	Friday, June 09, 2000 4:14 PM
> To:	tomcat-dev@jakarta.apache.org
> Subject:	RE: Tomcat 3.1 and JSPs.
> 
> try using response.sendRedirect(<jsp-name>) where the response is the
> object
> of HttpResponse
> 
> Regards
> Vishal
> 
> > -----Original Message-----
> > From:	Gary Murphy [SMTP:glm@hilbertinc.com]
> > Sent:	Friday, June 09, 2000 3:08 PM
> > To:	tomcat-dev@jakarta.apache.org
> > Subject:	Tomcat 3.1 and JSPs.
> > 
> > I am running Tomcat v3.1 on RedHat Linux 6.1 and can't seem to get JSPs
> > to work correctly.  I built a war and configured a web.xml and added the
> > 
> > app to the server.xml.    I can load the servlet and serve HTML.   I can
> > 
> > also explicitly type the name of the JSP and compile it, but when I try
> > to call the JSP within my servlet using the
> > 
> >    ...getRequestDispatcher(...).forward()
> > 
> > method, the servlet just hangs.
> > 
> > This code is working within the WebSphere Test Evironment within
> > VisualAge for Java.
> > 
> > Any ideas or places for additional docs?  I looked through all of the
> > FAQS and UGs I can find.
> > 
> > --
> > Gary Murphy
> > Hilbert Computing, Inc.
> > 13632 S. Sycamore Dr.
> > Olathe, KS 66062
> > 913-780-5051
> > 
> > 
> > 
> > 
> Visit http://www.NetVarsity.com for online learning
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

Mime
View raw message