This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

convertNull in struts1.3  RSS feed

 
shrutha keerti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Am working on struts 1.3. Trying to make use of client side validation.Got a text field in a jsp, its getting intialized to '0'. I want that to be initialsed to null. Made use of 'convertNull'
in web.xml, but no use .
<init-param>
<param-name>convertNull</param-name>
<param-value>true</param-value>
</init-param>

Can anyone help me regarding this.I don want to add any logic like'checking 0' in the code.

thanks.
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Java Linux
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!