After glancing over my code I was just about to reply that things were a-ok when I noticed that the jsp had the call to <html:rewrite> *before* the taglib directive.
Without much hope, I swapped the two lines and voila! It's odd that the IDE -- which BTW complains if I don't have necessary taglib directives -- didn't mind the order; maybe it isn't single-pass!! Thanks for suggestion and making me re-read my code. That teaches me to trust my IDE. Sri -----Original Message----- From: James Childers [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 3:57 PM To: Struts Users Mailing List Subject: RE: [html:rewrite] Tag not being evaluated Make sure you are including your taglib definitions in each included file. Whenever I have tags that are output without being parsed by the container this is usually the cause. Hopefully it's that simple. -= J > I am finding that <html:rewrite>s aren't being evaluated > before the resulting HTML page is sent to the browser. With > the result, the source of the HTML shows things like: > > <script language='javascript' src="<html:rewrite > page="/scripts/qs.js"/>"> > > A little background: > The JSP is comprised of several smaller JSPs. For example foo.jsp: > > <%@ include file="qsHead.jsp" %> > > <!-- Layout stuff --> > > <%@ include file="body.jsp" %> > <!-- rewrites here aren't evaluating --> > > <!-- etc --> > > I can understand if it didn't evaluate *correctly*; but why > doesn't it evaluate *at all*? > > I am finding that the <html:rewrite> in qsHead.jsp (see > below) is evaluating correctly > > <%@ include file="../../taglibs.jsp"%> > <head> > <html:base/> > <title><bean:message key="app.appName"/></title> > <link rel='stylesheet' href="<html:rewrite > page="/styles/qs.css"/>" type='text/css'> > > <script language="JavaScript"> > window.defaultStatus="<bean:message key="app.appName"/>"; > </script> > </head> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

