This all depends on what the tag does with it's body ;) btw if i see <head><tag></head></tag> in a jsp i kill it's author, whatever the tag is Leon Rosenberg a écrit :
>>Am pretty sure, JSP is not about xml at all :) >> >><img src="<c:url value='blabla'/>"/> >> >>and will never fit in a xml parser! >> >> > >no, but jsp can produce well formed xhtml (actually its an optional >setting, isn't it?) > > >so <head><bla></head></bla> is invalid, >but the output of your example: ><img src="/blabla/"/> is a valid xhtml. > >It's not about the jsp itself, but the output :-) > >regards >Leon > >On 2/23/06, David Delbecq <[EMAIL PROTECTED]> wrote: > > >>Chris Loschen a écrit : >> >> >> >>>But you can't do that -- it's not well-formed XML. >>> >>>Chris >>> >>>-----Original Message----- >>>From: David Delbecq [mailto:[EMAIL PROTECTED] >>>Sent: Thursday, February 23, 2006 7:53 AM >>>To: Struts Users Mailing List >>>Subject: Re: How to inject code between <HEAD> </HEAD> of a generated page ? >>> >>>Na, he just asummed the tag was doing additionnal work at a later part: >>> >>>.... >>></html> >>></yourtag> >>> >>>Dave Newton a écrit : >>> >>> >>> >>> >>> >>>>Leon Rosenberg wrote: >>>> >>>> >>>> >>>> >>>> >>>> >>>>><head><yourtag></head>? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>Ah, see, that won't work. >>>> >>>>Try >>>> >>>><head><yourtag/></head> instead. >>>> >>>>;) >>>> >>>>(Hey, it was either this or I would have had to respond to the "I want >>>>to write a fully object-based Java program, how do I do that?" thread >>>>;) >>>> >>>>Dave >>>> >>>> >>>> >>>>--------------------------------------------------------------------- >>>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >>> >>>_______________ >>>Siebel >>>IT'S ALL ABOUT THE CUSTOMER >>>Visit www.siebel.com >>> >>>This e-mail message is for the sole use of the intended recipient(s) and >>>contains confidential and/or privileged information belonging to Siebel >>>Systems, Inc. or its customers or partners. Any unauthorized review, use, >>>copying, disclosure or distribution of this message is strictly prohibited. >>>If you are not an intended recipient of this message, please contact the >>>sender by reply e-mail and destroy all soft and hard copies of the message >>>and any attachments. Thank you for your cooperation. >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]