Reputation: 25
I'm in a struts project. I wanted to create reusable custom tags. So heres the thing, for example i have this set of struts UI tags:
<s:form action="some.action" namespace="/somenamespace">
<s:textfield name="username" label="Username"/>
<s:textfield name="pwd" label="Password" />
<s:submit value="login"/>
</s:form>
Is it possible to come up with something like this to produce the same output instead of the code above:
<mycustomtag:login />
Upvotes: 2
Views: 3310