wood burning stoves 2.0*
The moose likes Tomcat and the fly likes applicationname url change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

applicationname url change

keerthana kuruba
Greenhorn

Joined: May 12, 2011
Posts: 22
Hi,

I want to change my application url...from http://localhost:8080/keerth/School to http://localhost:8080/keerth....here keerth is my application folder name comes under webapps directory.School is the servlet.I have remove the servlet-mapping <servlet-url> tag in web.xml and havent changed (action=/keerth/School/) in jsp to get the http://localhost:8080/keerth url still getting the welcome page but could not login into the sysytem.I though because of deleteing the servlet mapping tag in web.xml file..am using tomcat 7.0 in windows xp.So i tired to cahnge the context path ,doc but could not find in server.xml file.I did copying the my application content to ROOT folder but it doesnt work.Please tell me how to change my application url....is there any possible way to convert into ..http://127.0.0.1/keerth..url..?? If so kindly let me know how to convert it.

Thanks in advance!!

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60761
    
  65

Please do not post the same question more than once.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: applicationname url change
 
Similar Threads
web.xml url-pattern wildcards?
multiple URL mapping for one web app
Servlet Mapping
Servlet Context Path Issue
applicationname url change