I am creating my own JSP tag library, which should support some features that application developers can use as follows:
<w:user-label id="usrlb" value="${session.user}"/>
<w:textbox id="tb" label="User Name" value="${usrlb.value.name}"/>
which means that I want my EL to interact with my Tag declaration. and I also need to add a stack concept to this library to support the "id namespace" or something else.
My current research is forcing me to wrap the default JspFactory as follows:
JspFactory.setDefaultFactory(new JspFactoryImpl(JspFactory.getDefaultFactory()));
Which might work in Tomcat5.5, although this is not a good idea. Is there an even more beautiful way to do this?
source
share