File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes  validation for bean:write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " validation for bean:write" Watch " validation for bean:write" New topic
Author

validation for bean:write

Ritu Gupta
Greenhorn

Joined: Feb 21, 2006
Posts: 1
how to truncate text in <bean:write> before desplay
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Where are you getting the value from? If it is coming from your action form then you can add a method there that does the truncation.

<bean:write name="myForm" property="truncatedValue" />

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation for bean:write
 
Similar Threads
How to generate a jsp page with form in struts where input values are pre-generated?
Display Check Boxes & Dropdowns in Struts with search results
bean:write and integer properties
Tag to display and fill Form
html tag label equivalent?