Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

[S2] URL management

esemba

2008-09-15

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi,
i'm migrating my old php website to Struts 2 and have problem with url
management. In my db, i have urls tagged like this
[url]http://url.com/[/url]. In php, i just do regexp replace of this custom
url tags with proper html tags. I would need to do something like this in
struts 2, but want to use <s:url>. Best solution would be like this: In
jsp(ognl) replace every occurrence of [url]url string[/url] with
<s:url value= ">.

Thank you for your help.
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.