The JSP writer writes http response, not html response. You can use jsp to generate html, txt, xml, whatever you want. jsp tags are supposed to output content where they are. If you need to autogenerate the <head> section while you are already in the middle of your .jsp, then you will need your taglib to act hand in hands with a requestfilter which will cache response and inject the head at the end.
David Duke a écrit : > Is this the unique method to do this ? > > I expected to use a JspWriter like to get a writer to the web page > header ! > > Thank you, > > David > > Leon Rosenberg a écrit : > >> <head><yourtag></head>? >> >> regards >> leon >> >> On 2/23/06, David Duke <[EMAIL PROTECTED]> wrote: >> >> >>> Hi everybody, >>> >>> This is my first post on this mailing list. >>> >>> I developped a personal tag librairy which need to inject code - link a >>> javascript or stylesheet file - between the XHtml <head> </head> tags >>> of my generated page. The JspWriter object don't seem to suite me. >>> >>> Is someone know how to do that ? >>> >>> Thanks all, >>> >>> David >>> >>> >>> >>> --------------------------------------------------------------------- >>> 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]