I have got a page working with nested tags and the functionality is brilliant for master/detail pages However the performance is abysmal, to the point where we mayhave to abandon it completely. The problem appears to be during the page compile/display phase. it is a bit erratic as to where it actually slows down and we suspect the problem is the garbage collector clearing up objects created by various tags although we've yet to put it through Optimizeit Any suggestions for speeding up?
:-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -----Original Message----- From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 11:35 To: 'Struts Users Mailing List' Subject: RE: Nested tags and jsp:include i tried this in my include page and get org.apache.jasper.compiler.CompileException: /Journal/JournalEdit.jsp(235,3) /Journal/JournalLineEdit.jsp(1,0) According to the TLD attribute name is mandatory for tag root :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -----Original Message----- From: Spunky Monkey [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 11:05 To: Struts Users Mailing List Subject: Re: Nested tags and jsp:include pop an empty nested:root tag around all the nested tags in the included page. Nested tags always need their root tag. In this instance, the empty root tag will pick up where the other page left off. First page, eg... <nested:form name="myFormBean" <nested:iterate property="myList"> <jsp:include page="myListItemPage.jsp"> </nested:iterate> </nested:form> Included Page, eg... <nested:root> [... other nested stuff...] </nested:root> The tree tutorial on my site uses dynamic included and the nested tags to do its thing. This is how true JSP recursion happens. Should do the trick. Arron. On Wed, 2002-08-28 at 19:29, Jon.Ridgway wrote: > Hi All, > > I havea problem with the nested tags. If I use a jsp:include on a page and > the included jsp tires to use the nested tags I get a NullPointerException > thrown by one of the Nested classes. I guess that something is being stored > in the page context by the nested tags and that the included page gets a > different page context (???). The normal bean/html tags seem to be fine. > > Is there a work round, as I really need to use the nested tags and an > included page. I have a nested:nest just before the jsp:include that sets > the nested level to an address on my form - the form has delivery, sender > and receiver addresses - each uses the same address value object. If the > nested tags worked on the included jsp (my address jsp) I could reuse it for > each address. > > Any idears.... > > Jon. > > The contents of this email are intended only for the named addressees and > may contain confidential and/or privileged material. If received in error > please contact UPCO on +44 (0) 113 201 0600 and then delete the entire > e-mail from your system. Unauthorised review, distribution, disclosure or > other use of this information could constitute a breach of confidence. Your > co-operation in this matter is greatly appreciated. > > -- > 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]> *************************************************************************** This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication. This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding. Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA). *************************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> *************************************************************************** This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication. This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding. Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA). *************************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

