tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Web master <webmas...@unni.com>
Subject Re: Question about configuration
Date Tue, 27 Feb 2001 22:51:38 GMT
where do you have the jsp's?
If you have the JSP in say c:\test
then create a context entry in server.xml

something like this

       <Context path="/test" docBase="/test" debug="0" reloadable="true" >
       </Context>

in the server.xml in the conf directory, right before </ContextManager>

after then stop and start the server.
go back and type in http://localhost:8080/test/example.jsp

Hope this helps.


Robert Keddie wrote:

> HI Unni...can u helpme out too?
> 
> I have Apache 1.3.14/Tomcat 1.1.2
> 
>  both running...
> 
> i can call up the helloworld example through the local host
> 
> but i cant call up my own jsp's! i get a 404
> 
>  
> 
> im on a win nt
> 
>  
> 
> Robert Keddie
> web development
> Marion County, FL
> 
>  >>> Robert.Stote@GTECH.COM 02/27/01 04:45PM >>>
> unni
> 
> I'm on Win2k
> 
> sorry I should have provided that
> 
> thnx
> 
> Rob
> 
> -----Original Message-----
> From: Web master [mailto:webmaster@unni.com]
> Sent: Tuesday, February 27, 2001 4:26 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Question about configuration
> 
> 
> Hi Stote,
> 
> What OS are u using? If you are using Win'98 or Win NT, please let me
> know, I will try my level best to help you.
> 
> -Unni
> 
> 
> 
> Stote, Robert wrote:
> 
>  > Hello:
>  >
>  > I was wondering...after I get apache and Tomcat installed where do I go
> from
>  > there...I've read all the documentation (users guide, developing
>  > applications, howto etc..)...and feeling over whelmed. I would like to
> have
>  > my servlets reside on Tomcat, the requests would be coming from 
> html pages
>  > from apache...worded poorly sorry...but the long and the short of 
> it is I
>  > have no idea what I should or shouldn't be changing...on the config 
> files
>  > for example...are the pound signs..section that are commented 
> out...where
> do
>  > I add the included statments..and when I did follow the users guide and
>  > edited the sever.xml file the whole thin (Tomcat) stopped 
> working...I hope
>  > some one can help me..all I want to have happen is have an html, or jsp
>  > forward a request to a servlet which resides on Tomcat, have the 
> servlet
> do
>  > what it has to do...then stream back the html, or xml back to the 
> browser.
>  >
>  > I am completely lost..is there a book or something I should be 
> reading ? I
>  > am a java programmer, and used to using javawebserver...
>  >
>  > Rob (total newbie)
>  > I guess there is a reason I only program in java ;)
>  >
>  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>  > For additional commands, email: tomcat-user-help@jakarta.apache.org
>  >
>  >
>  >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 


Mime
View raw message