Hi Jorge, On 17 Nov 2005 at 11:53, Hassan Schroeder wrote:
> Jorge Rodriguez wrote: > > > When I access a JSP page directly on my localhost, it loads properly with > > images and the stylesheet. > > However, when I access the JSP (or any other JSP for that matter) using a > > filter, servlet or the struts action forward, the JSP content loads up, > > but anything else (images, linked CSS files) do not get served up. > > > > I've tried every single variation of the <img> and <link> tags (relative, > > hardcoded, with a /) but that didn't work. My guess is that there is some > > additional configuration that I haven't completed > > Nope, there isn't -- your app (or your install) is broken :-) > > > The only possible relevant info that shows up related to errors/warnings > > is the following log: > > "Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig > > applicationWebConfig > > INFO: Missing application web.xml, using defaults only > > StandardEngine[Catalina].StandardHost[localhost].StandardContext[]" > > My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like > > it should be ok. > > Sounds to me like it's *not* OK, and getting rid of that should be > the first order of business. For one thing, I'd use a path without > spaces in it -- the '\Web Content\' might well be the problem... I've seen other scenarios that produces this problem, usually related to context.xml file(s). For example, in Tomcat 5.5.12, I've found that if you have a context file anywhere within the docBase tree for your application, and it has "problems", Tomcat will find it and then complain about not finding the web.xml. I don't recall what the subtle problems were that we had in our context.xml when I discovered this, but it was not actually meant to have been used by Tomcat - it was just being stored in that part of the tree. So, when you get this error message about web.xml, it may be your context.xml file that's the problem. HTH, Rob Hills NetPaver Pty Ltd Western Australia --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]