Hello again,

just for the archive: It turned out that it worked quite well to use Jericho for that.

[1] - http://jericho.htmlparser.net/docs/index.html

Best,

Sandro

Am 19.07.15 um 14:32 schrieb Sandro Boehme:
Hello,

I have a use case where I have to programatically add HTML and/or
Scriptlet code to a JSP. It has to be placed beside an HTML tag with a
known id or at the end or the beginning within an HTML tag with a known id.

I would like to use Jasper 6.0.14 (or a newer version if that helps) but
I haven't found tests in
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/test that come
close to what I want (didn't check version 6.0.14 though) and I also
haven't found documentation that I can use to get into the details.
Does it makes sense to use
https://theholyjava.wordpress.com/2011/06/10/hacking-jasper-to-get-object-model-of-a-jsp-page/

as a starting point to get it done or is there a better way to approach
it in the mean time?
I thought about regExp but it seemed to be too unreliably to me.

Thanks for any advice,

Sandro

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to