You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Lester <Ma...@housing.ufl.edu> on 2008/05/20 21:31:36 UTC

Images not showing up when saved(Struts 2 Tomcat, Eclipse)

Hello sorry in advance if this is not a struts issue but I guessing
that it is.

Anyways I have some code in an action method that queries a site for
base64 image, takes that image decodes and save it in a file, and then
sends a relative link to that image as part of the results of that
action. The problem is that the image doesn't show as created unless I
refresh the eclipse navigator otherwise it shows a 404 when I try and
access the file. The code is running in tomcat 6.0.13 

Regards,

Mark


Re: Images not showing up when saved(Struts 2 Tomcat, Eclipse)

Posted by Musachy Barroso <mu...@gmail.com>.
The problem is not related to struts, but eclipse. Eclipse won't
"know" about the new file unless your refresh the project. What I do
in these cases, to avoid refreshing the project, is save the resources
on some folder, then create a soft link from inside the eclipse tomcat
deployment folder, to the resources folder.

musachy

On Tue, May 20, 2008 at 3:31 PM, Mark Lester <Ma...@housing.ufl.edu> wrote:
> Hello sorry in advance if this is not a struts issue but I guessing
> that it is.
>
> Anyways I have some code in an action method that queries a site for
> base64 image, takes that image decodes and save it in a file, and then
> sends a relative link to that image as part of the results of that
> action. The problem is that the image doesn't show as created unless I
> refresh the eclipse navigator otherwise it shows a 404 when I try and
> access the file. The code is running in tomcat 6.0.13
>
> Regards,
>
> Mark
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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