Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Tomcat
Setting Friendly URLs for applications in Tomcat
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear All,
Can somebody please tell me, how do we set friendly URLs to the applications running on our
Tomcat
server?
Thanks in advance.
Cheers,
Ram.
Ulf Dittmer
Rancher
Posts: 43081
77
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is a "friendly URL" ?
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Ulf,
Sorry, that I should made it a bit more elaborate.
We have an application, deployed in a server....say for example it takes the URL "http://localhost:8080/myworld/utils/MyUtils.jsp.
I would like to access the application, just by typing
"myutils"
.
Is there any way, we can achieve this?
Cheers,
Ram.
Ulf Dittmer
Rancher
Posts: 43081
77
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Using <servlet-mapping> in your web.xml you can define a
servlet
that listens to "myutils", which then forwards to the
JSP
.
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Many a thanks Ulf, shall try this and let you know
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JForum nice urls (as on Java Ranch)
SEO friendly URLs with Struts
Tomcat on Linux
Is there a mod_rewrite for Tomcat to make URLs SEO friendly?
get parameter in Servlet in different way
More...