Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
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:
Servlets
link in servlet
Bob Moranski
Ranch Hand
Posts: 177
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi, I am using
Tomcat
and whenever I had to place a link in my
servlets
I need to type the whole thing, like
http://127.0.0.1:8080/ThisApp/servlet/nextPage.
Is there some way I can just type /ThisApp/servlet/nextPage?
Adrian Yan
Ranch Hand
Posts: 688
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You mean like this:
http://ThisApp/servlet/netxpage?
Correct me if I'm wrong, but I don't think so. Why don't you just bookmark the page.
Frank Carver
Sheriff
Posts: 7001
6
I like...
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I don't understand why the short form you quote is not working. I use this sort of URL all the time. What happens when you use "/ThisApp/servlet/nextPage"?
Read about me at frankcarver.me
~
LinkedIn
~
Frank's PhD research
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
HttpUnit and Ajax enabled submit buttons
Mapping JSP
Grabbing the path and arguements
tomcat setup
problems about "web.xml"
More...