A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
how to use intenationalization in Tag class
Joined: Jun 13, 2005
Nov 05, 2006 21:56:00
I have made my own tag class.
Inside doStartTag() I want to display message.
but it is not working? what to do.
Joined: Feb 15, 2005
Nov 06, 2006 00:24:00
I'd suggest the following:
Make your tag class extend org.apache.struts.taglib.bean.MessageTag
Download the source for the version of
that you're using
In your doStartTag, either copy their code to display a message or call super.doStartTag()
Add your code to do whatever it is you want to do in addition to displaying the message.
It is sorta covered in the
JavaRanch Style Guide
subject: how to use intenationalization in Tag class
Error during deployment
Unable to assign value to integer x
Regarding JSP Tag libraries
Custom Tag Query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015