views:

170

answers:

2

Hi all,

I want to write a custom struts2 tag,which has a separate action class for itself, and can be called from different jsp pages.

Something like:

<s:writetext type="aaa" parentid="xxx" parentname ="yyy" height ="50" width ="125" />

Is it possible? Please help, I'm very new to this and googling about this didn't help.

Thanks, Aditya