tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oded Arbel <>
Subject Inquiry about jsp:scriptlets and custom tags
Date Mon, 25 Jul 2005 12:30:15 GMT

Hi list.

I'm having some issues with a jspx page I'm writing. 
I wont to have a jsp:scriptlet in the page but wrap it in a custom tag 
that do some stuff for the jsp:scriptlet. Specifically I want to be 
able to decide whether the scriptlet runs or not.

I wrote a tag with BodyTagSupport and implemented doStartTag(), and 
wrote something like this in the page:
		// Do java stuff

but apparently the jsp:scriptlet is being run before mytag.doStartTag() 
is called and - I believe - before mytag is even initiated !

Can you please explain what is wrong with my approach ?

Oded Arbel
m-Wise mobile solutions

+972-9-9611212 (204)

The difference between a bad student and a good student is that a bad 
student forgets all the material five minutes before the exam, while a 
good student five minutes after it.
	-- Hugo Krawczyk

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message