Frans Thamura wrote:
hi all
i want to implement a filter based URL
if the system like this
http://meruvian.org:8080/myapp/personal.action?id=1000
i want to make more human readable become http://frans.meruvian.org:8080
id 1000 = fthamura
any idea all?
i just think about Filter implementation
If I understand your requirement correctly, you will need application
server-specific configuration to set up virtual hosts which all map to
the same application instance. How/if you can do that would depend on
your deployment platform. For example, if you have Apache in front, you
might look at using mod_rewrite.
Presumably the webapp side of the implementation would be fairly
straight forward; however, what you need to do there would depend on how
you solve the vhosting issue.
I would recommend you start out by asking for help with that part on the
mailing lists for whatever application server or servlet container
(JBoss, Tomcat, etc) you are using, then work forward from there.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]