struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afshartous, Nick" <>
Subject RE: Firewall and Struts inhibit CSS references
Date Wed, 25 Sep 2002 02:17:50 GMT

< From: James Mitchell []

< The request made by the browser for the text file
< "/strutstest/css/adm_01.css" is handled by your web server.  It never even
< makes it to the servlet container, much less the struts action servlet.

Would it be possible that somehow the environment of the servlet or
container indirectly
affects the processing of the CSS link ref ?  I'm asking this because 
when the file has a .html suffix it works fine, but with a .jsp suffix
the CSS file is not applied.  Also, when the URL path to the page is
requested (i.e. .../test.jsp) it works fine.  Its only when an action
forwards to the .jsp file that the CSS file is not found/applied to the

< You should consult the firewall documentation or try a bit more debugging
< with your firewall software.  I run a very restrictive firewall on my home
< server and it handles .css just fine.

The firewall in our case is not at the server end.  The user's machine 
is behind a firewall looking at the outside world where the server is.  
When the user's machine is not behind a firewall the CSS file is applied to
the .jsp and the page is rendered fine.

Thanks for any info.


> -----Original Message-----
> From: Eddie Bush []
> Sent: Tuesday, September 24, 2002 12:33 PM
> To: Struts Users Mailing List
> Subject: Re: Firewall and Struts inhibit CSS references
> Pardon, but I think your subject is misleading.  Struts is doing nothing
> to inhibit your CSS references.  Your firewall I don't know about -
> that's a different story.  This is definitely not a "Struts" issue
> though :-)
> Afshartous, Nick wrote:
> >	We have run into an issue with references to CSS files.
> >	The references have this form
> >
> >	<link rel="STYLESHEET" type="text/css"
> >href="/strutstest/css/adm_01.css">
> >
> >	We have set up the application in our DMZ and the pages are rendered
> >fine for us,
> >	however for one of our customers who is viewing from behind a
> >firewall, the stylesheets
> >	are not being found/applied.
> >
> >	We have tested the pages via a non-Struts servlet and that works
> >fine for the
> >	customer, so somehow
> >	the combination of Struts and the external firewall are causing the
> >problem.
> >	If anyone has any suggestions please let me know, thanks.
> >
> >--
> >    Nick
> >
> --
> Eddie Bush
> --
> To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message