I have been nudging people toiwards JSTL.
A nice feature is FMT tag that formats the number, date, etc. in the JSP. FMT tag needs the formBeans to return int!

So if one does a FORM for updates you create formbean with String getAge(), and number formated in Java before returning the String.

If then you just want to display the # (no update) you need to create a bean with int getAge(), and FMT it in JSP.


So return int for JSTL and String for formBean.

A prefered solution is that HTML tag is able to do formating like FMT tag.


.V

Also, it be nice if tiles was able to do some EL, or have a nicer way of FORWARDING to diferent JSP from the tile action one day.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to