File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Dynamic URLs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Dynamic URLs" Watch "Dynamic URLs" New topic
Author

Dynamic URLs

ahmed yehia
Ranch Hand

Joined: Apr 22, 2006
Posts: 424
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

Joined: Apr 22, 2006
Posts: 424
um, just by looking in the API, I found it can be done as simple as calling:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic URLs