RE: [OT] edit HTML code on fly using java

2005-04-06 Thread Fogleson, Allen
List Subject: RE: [OT] edit HTML code on fly using java Hello My project is sort of screen scrpaer (web facing on AS400) In this i want to add some features which are not available in green screen, like adding some graphics on the fly by modifying the response generated by web facing tool Any guidan

RE: [OT] edit HTML code on fly using java

2005-04-06 Thread Ashish Kulkarni
l > > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 06, 2005 10:06 AM > To: Struts Users Mailing List > Cc: user@struts.apache.org > Subject: Re: [OT] edit HTML code on fly using java > > If your HTML is va

RE: [OT] edit HTML code on fly using java

2005-04-06 Thread Fogleson, Allen
HTML code on fly using java If your HTML is valid XHTML, you should be able to apply XSLT transformations on it without too much trouble. But, this would be an expensive operation per request, probably a VERY expensive one at that, so if it is something that is going to happen frequently I wouldn

Re: [OT] edit HTML code on fly using java

2005-04-06 Thread Frank W. Zammetti
If your HTML is valid XHTML, you should be able to apply XSLT transformations on it without too much trouble. But, this would be an expensive operation per request, probably a VERY expensive one at that, so if it is something that is going to happen frequently I wouldn't go this route. In fact, i

RE: [OT] edit HTML code on fly using java

2005-04-06 Thread Fogleson, Allen
I imagine there are several options here. 1) assuming you know the html is well formatted. And if you use the struts tags it is not necessarily well formatted (i.e. the base tag does not include a closing tag it renders as not ) you could simply run the html into jaxp 2) use an object orient