wood burning stoves
The moose likes Struts and the fly likes convertNull in struts1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "convertNull in struts1.3" Watch "convertNull in struts1.3" New topic

convertNull in struts1.3

shrutha keerti

Joined: Feb 13, 2010
Posts: 1
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 .

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

Ninad Kulkarni
Ranch Hand

Joined: Aug 31, 2007
Posts: 802

Welcome to JavaRanch
See JavaRanch Naming Policy

SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
I agree. Here's the link: http://aspose.com/file-tools
subject: convertNull in struts1.3
jQuery in Action, 3rd edition