![]() Preserved Topic: URL Rewriting with Java (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() I have a piece of code here, what I am expecting it to do is perform a URL rewrite. What I plan on having is the servlet mapped to /* (being the root) so that the servlet would process all of the requests to the webserver. From there I would want it to perform URL rewritting along the lines of what is outlined below. (turn /departmentname/ filename.html into index.jsp?department=departmentname&page=filename). code: import java.io.*; |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() Hmmm... that is incredibly interesting. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() |