John: You were dead on! My jsp didn't have a taglib statement for the <nested> tags.
Now I have to report a bug in the IDE. Its feature list includes flagging tags whose definitions are unknown. Since it didn't flag an error I didn't suspect anything wrong. Thanks. Sri > -----Original Message----- > From: John Yu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 10:12 PM > To: Struts Users Mailing List > Subject: Re: [Tag] <nested> tag being interpreted as scriptlet! > > > > Have you double checked you have struts-nested.tld > declared in both your JSP and the web.xml? > > > At 04:33 am 06-09-2002, you wrote: > >Using Struts 1.0.2 with nested extension on Tomcat 4.0.2 > > > >My JSP has the following construct > > > > <nested:root name="sitebean"> > > <nested:equal property="cartBean.haveModelBasedItems" > value="true"> > > etc > > > >This page fails to load with a NullPointerException. > > > >My hunt for its cause has lead me to the process of > translating a JSP > >file > >into a Java file. > > > >The error is being raised because Tomcat is evaluating > > > > <nested:root name="sitebean"> > > > >as > > > > out.write("\r\n\r\n\r\n\r\n<nested:root name=\"sitebean\">\r\n"); > > > >Why could this be happening? I have confirmed and re-confirmed the > >syntactical correctness of my jsp file. > > > >The correct interpretation of this nested tag should be (as derived > >from > >other pages that use the same construct) > > > > org.apache.struts.taglib.nested.NestedRootTag > _jspx_th_nested_root_0 > > = > > new org.apache.struts.taglib.nested.NestedRootTag(); > > _jspx_th_nested_root_0.setPageContext(pageContext); > > _jspx_th_nested_root_0.setParent(null); > > _jspx_th_nested_root_0.setName("sitebean"); > > > >Any suggestions? > > > >Sri > > -- > John Yu Scioworks Technologies > e: [EMAIL PROTECTED] w: +(65) 873 5989 > w: http://www.scioworks.com m: +(65) 9782 9610 > > Scioworks Camino - "Don't develop Struts Apps without it!" > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-> [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]>