Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Help!!! How to get a simple jsp page working

Avinash Sridhar

2004-02-10

Replies:

hi,
 I am usng Tomcat 5.0.16 And facing the below mentioned problem

I have a directory by name "sampleapp",now I have made a directory named "ROOT" inside the sampleapp directory.
I have written a simple "MyJsp.jsp" jsp file and placed it in the above mentioned "ROOT" ,now my question is

How does one write the <Context> </Context> for this JSP page in the TOMCAT_HOME/conf/server.xml.

<Context path="/sampleapp" docBase="e:/sampleapp/ROOT" debug="0" reloadable="true">
</Context> Is this the right way?????????????????



Kindly let me know

Thanking you
AS
©2008 junlu.com - Jax Systems, LLC, U.S.A.