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:
Tim Cooke
Campbell Ritchie
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Servlets
Dynamic URLs
ahmed yehia
Ranch Hand
Posts: 424
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Not sure what it's called, but I want be able to have requests that look like:
http://www.mysite.com/users/
myNameHere
http://www.mysite.com/posts/
00007654
The resource URL part doesn't exist = not a
web resource
, but I want to strip it and use it much as I would use a usual
request parameter
.
ahmed yehia
Ranch Hand
Posts: 424
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
um, just by looking in the API, I found it can be done as simple as calling:
request.getPathInfo()
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to access jsps in a different pathinfo path in the same webapp using c:url
how to remove the port number in URL
Using Directory Path as Parameters?
how to encode query string.
servlet mapping clarification
More...