Re: Struts forwarding to jsp Problem, Losing path to image/css/scripts resources

2006-07-09 Thread Leon Rosenberg
On 7/9/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote: Thanks, that seems to work. I also found that putting a in the jsp will root the path to the actual jsp being rendered and also fixes it (from some old list posting). I think I'll use the as this will always work, while the other way

Re: Struts forwarding to jsp Problem, Losing path to image/css/scripts resources

2006-07-09 Thread Mississippi John Hurt
Thanks, that seems to work. I also found that putting a in the jsp will root the path to the actual jsp being rendered and also fixes it (from some old list posting). I think I'll use the as this will always work, while the other way might give different results if you're coming from a action.d

Re: Struts forwarding to jsp Problem, Losing path to image/css/scripts resources

2006-07-09 Thread Leon Rosenberg
If the browser requests http://server/appname/login, than ../images/foo.gif will point to http://server/images/foo.gif instead of your desired http://server/appname/images/foo.gif. To solve this simply change the link to the image from ../images/foo.gif into images/foo.gif regards leon On 7/9/0

Struts forwarding to jsp Problem, Losing path to image/css/scripts resources

2006-07-09 Thread Mississippi John Hurt
Can someone help? When I access my /appname/jsp/login.jsp directly in browser its able to find my images and stylesheets (I use relative ie "../images/file.ext" paths) and everything renders fine. But once I click login, and it goes to my Action then forwards it back to a jsp (for instance "failu

RE: jsp problem

2004-06-01 Thread Mick . Knutson
PROTECTED] Sent: Tuesday, June 01, 2004 11:34 AM To: [EMAIL PROTECTED] Subject: jsp problem In my never ending quest to setup my server to use: http://mydomain.com instead of: http://mydomain.com/examples I am now able to use http://mydomain.com but my index.jsp source code is being displayed

jsp problem

2004-06-01 Thread Charles Jordan
In my never ending quest to setup my server to use: http://mydomain.com instead of: http://mydomain.com/examples I am now able to use http://mydomain.com but my index.jsp source code is being displayed, instead of it executing. Any idess as to what I'm doing wrong? Charles (Allen) Jordan <[EM