Hi,
IMHO (literally) this is not that good an idea in that your solution
will be incur more costs (complexity, customization, long-term
maintenance) than benefits (??).

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten
>Sent: Friday, May 21, 2004 8:41 AM
>To: [EMAIL PROTECTED]
>Subject: URL Rewriting
>
>Hi!
>
>We are using Struts 1.1 and Tomcat 4.1.x at our company.
>We are considering to separate our urls from our struts configuration.
>Instead of /news.do?articleid=43 we would like the url to look like
this:
>/news/article/43. Furthermore the generated html should contain urls of
the
>form /news/article/43. This change should happen as transparently as
>possible for our Action classes.
>
>We have found the UrlRewriteFilter at tuckey.org. However it only
solves
>part of the problem. The incoming requests will be translated
correctly.
>However,
>the anchors in the generated html remains unchanged.
>
>A solution could be to write our own HttpConnector and then implement
our
>own HttpServetResponse.encodeURL, which in turn will translate the
links.
>
>Do anyone on this list have an (better) alternative to this problem?
>
>Thanks in advance
>Morten Knudsen
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to