File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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:
subject: convertNull in struts1.3
It's not a secret anymore!