The problem is cause by the apache httpserver.
I integrate Tomcat and Apache server together,When i just use
Tomcat as the server,it works.I have checked Apache's configure
file and found that all gifs and pngs are routed for apache to handle. I
comment these commands,then it works again.
But that may hurt the performace if you have many pictures contained in
static pages. I think the Apache Foundation should
pay some attention to banlance the conflict.

Speical thanks to *Jeromy Evans.*
**
2007/8/21, Andvar Woo <[EMAIL PROTECTED]>:

> *in the struts-default.properties  file,the struts.serve.static is set
> true;*
> *why the icons still couldnot be displayed?*
> *What should i do?Any other suggestions?*
>
>
> 2007/8/21, Jeromy Evans <[EMAIL PROTECTED]>:
> >
> > The resources are in the 2.0.9 jar under /org/apache/struts2/static
> > They are served from the /struts path by the struts FilterDispatcher if
> > "struts.serve.static" is true (default)
> > If it successfully served the javascript from that path it should have
> > served the images.  Perhaps have a look with Firebug.
> >
> > Andvar Woo wrote:
> > > Nobody encountered this problem?
> > > by the way,I use struts2.0.9. I type the path of the icon in the
> > address bar
> > > of IE,only got a Not found error ? Anyone knows why?
> > > Seriously need your help.
> > >
> > >
> > > 2007/8/20, Andvar Woo < [EMAIL PROTECTED]>:
> > >
> > >> when I use <s:datetimepicker/>, it works well except that  the icons
> > of
> > >> that
> > >> component cannot be displyed.eg. select a date, Up ,Down
> > >> these icons do exist in the struts-core.jar. Why they cannot be
> > displayed?
> > >> Anyone knows? Thanks.
> > >>
> > >>
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG Free Edition.
> > > Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date:
> > 20/08/2007 5:44 PM
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to