If I understand correctly, what you want is to create a custom tag to
replace a parametrized piece of jsp-code.
In JSP2.0 this can be done using tagfiles. 

See chapter 15 in the J2EE tutorial, particularly the section
"Encapsulating Reusable Content Using Tag Files".
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

Rob van Maris


Reply via email to