put ur servlets in ur context path,and  create a WEB-INF folder in that.

Julian <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

Reply via email to