RE: [S2] URL management

2008-09-16 Thread Martin Gainty
:01 -0700 > From: [EMAIL PROTECTED] > Subject: Re: [S2] URL management > To: user@struts.apache.org > > --- On Tue, 9/16/08, esemba wrote: > > Well, yes, but I just thought, that checking for disabled > > cookies and appending jsessionid, is container's job, not >

Re: [S2] URL management

2008-09-16 Thread Dave Newton
--- On Tue, 9/16/08, esemba wrote: > Well, yes, but I just thought, that checking for disabled > cookies and appending jsessionid, is container's job, not > mine, so i tried to figure out, how to accomplish it. But > i'm afraid, i'll end up doing it manually. Your particular case is different: y

Re: [S2] URL management

2008-09-16 Thread esemba
struts 2, but want to use . Best solution would be like > this: In jsp(ognl) replace every occurrence of [url]url string[/url] with > http://www.nabble.com/-S2--URL-management-tp19494989p19522734.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: [S2] URL management

2008-09-16 Thread Dave Newton
--- On Tue, 9/16/08, esemba wrote: > Well, in that case my problem is probably unsolvable. Main > problem is, that i don't know how many embedded urls there > is going to be in larger text blocks stored in DB. I could > count them, but only on runtime. So, only solution would be > automatically g

Re: [S2] URL management

2008-09-16 Thread esemba
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 &g

Re: [S2] URL management

2008-09-16 Thread Laurie Harper
If the URLs you are substituting in are external to the web app, they don't need to be 's2-friendly'; an external site doesn't care about your Struts app's session ID, etc. If the URLs are (or may be) internal to the application, however, you do need to take care of that. In that case, use s:ur