RE: REPOST: Relative URLs

2005-03-30 Thread tarek.nabil
: Thanks Erik. I guess when you get into the tags mood, you forget there's something called scriptlets :) -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 5:06 PM To: Struts Users Mailing List Subject: Re: REPOST: Relative URLs

Re: REPOST: Relative URLs

2005-03-30 Thread Erik Weber
-Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 6:26 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Relative URLs Erik, The problem may be that you are using JSP Tags, which are commonly written to only output links to resourc

RE: REPOST: Relative URLs

2005-03-30 Thread tarek.nabil
28 AM To: Struts Users Mailing List Subject: RE: REPOST: Relative URLs Dear Tarek, Action example URL: http://server/my-application/my-module/doSomething.do Resulting JSP's image example UR: http://server/my-application/images/some-image.gif What happens when you use html:img with

RE: REPOST: Relative URLs

2005-03-29 Thread tarek.nabil
rs Mailing List' Subject: RE: REPOST: Relative URLs Erik, The problem may be that you are using JSP Tags, which are commonly written to only output links to resources within your context. You may want to simply think of writing plain old and tags and do it yourself. -Original Message-

RE: REPOST: Relative URLs

2005-03-29 Thread David G. Friedman
Dear Tarek, Action example URL: http://server/my-application/my-module/doSomething.do Resulting JSP's image example UR: http://server/my-application/images/some-image.gif What happens when you use html:img with (depending on your version of Struts): a) contextRelative="false"[for 1.1 or earl

RE: REPOST: Relative URLs

2005-03-29 Thread Benedict, Paul C
: Tuesday, March 29, 2005 9:18 AM To: Struts Users Mailing List Subject: Re: REPOST: Relative URLs Can't you embed a ServletContext attribute (variable) in your links using the EL? The attribute value could come from an init param and get set at app startup. Erik tarek.nabil wrote: >Hi

Re: REPOST: Relative URLs

2005-03-29 Thread Erik Weber
Can't you embed a ServletContext attribute (variable) in your links using the EL? The attribute value could come from an init param and get set at app startup. Erik tarek.nabil wrote: Hi everyone, I still can not find an answer to my question, so I thought I'd repost this and try to make it clea

REPOST: Relative URLs

2005-03-29 Thread tarek.nabil
Hi everyone, I still can not find an answer to my question, so I thought I'd repost this and try to make it clearer. I really apreciate any help. How can I refer to resources that are outside my module in a way that will not mandate rewriting all the URLs in case I change the location of my modu

REPOST: Relative URLs

2005-03-23 Thread tarek.nabil
Can someone please advise me on this issue. Thanks -Original Message- From: tarek.nabil Sent: Saturday, March 19, 2005 10:14 AM To: user@struts.apache.org Subject: Relative URLs Hi everyone, Can someone please explain how to build relative URLs that are higher in the file hierarchy tha