tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@attbi.com>
Subject Re: forward request to static html page loses path for included images?
Date Mon, 03 Mar 2003 01:24:01 GMT
At 05:02 AM 3/2/03 -0800, you wrote:
>hi, i am forwarding a request to a static html page that has some pictures 
>included using <IMG SRC="images/help1.jpeg" ...> and using 
>request.getRequestDispatcher("/help.html").forward(request,response);.
>
>the static html file file comes back sans images. but pointing a browser 
>to http://tayek.com:8080/feb/help.html works fine. seems like the path 
>that the static page inherits is hosed somehow. is there some way to set 
>that path? ,,,

this how is works apparently from looking at java servlet programming 2nd 
edition by jason hunter and william crawford pp 371-375. he suggests using 
sendRedirect() instead.

thanks

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message