This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Automatic redirect to my context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Automatic redirect to my context" Watch "Automatic redirect to my context" New topic
Author

Automatic redirect to my context

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
currently I have to type like
http://mywebsite:9090/mycontext/

what shud i do so that when i user type
http://mywebsite:9090
it rederict to my context
Thanks d17may
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

"dmay dmay",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Automatic redirect to my context
 
Similar Threads
Replacing the root context
Use of URL Paths
sendRedirect(), oh this must be the most hated thing
internal or external request.
Web.xml Question - Map Servlet