tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shiv juluru <shivjul...@yahoo.com>
Subject Re: Invoking a servlet from the browser
Date Sat, 14 Aug 2004 11:47:26 GMT
put ur servlets in ur context path,and  create a WEB-INF folder in that.

Julian <developer@joolze.com> wrote:
Thankyou so much. I owe you! :)




Hiroshi Iwatani wrote:

> 
> 
> Julian wrote:
> 
>> Hi,
>>
>> I'm new to tomcat and jsp. Tomcat 5 seems to be working and I can 
>> sucessfully invoke jsp files. No problems there.
>>
>> I want to invoke a servlet by typing the url into a browser and I 
>> can't seem to manage it. Firstly, where do I put my servlets? Do I put 
>> them in [install_dir]/webapps/ROOT/WEB-INF/classes
> 
> Yes.
> And enable invoker servlet in the 
> [install_dir]/webapps/ROOT/WEB-INF/web.xml
> file by uncommenting the relevant entry.
> If you done this, URL is
> http://localhost:8080/servlet/YourServlet
> 
> Or, make and entries for your servlet
> in [install_dir]/webapps/ROOT/WEB-INF/web.xml file.
> URL should be
> http://localhost:8080/YourMappedUrl
> 
> 
> 
> or somewhere else?
> 
>>
>> Many thanks
>> Julian
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message