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