Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validation error comes back as null null

 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm in the process of seeing if Struts is the way to go with our web app's new structure, and I'm right now experimenting with server side validation. Putting in good values works, but when I submit invalid data, the just displays "null null". I'm using Weblogic 8.1
Here is the error code in my ActionForm

In my properties consists of:

and finally, the jsp tag on my page is:

Thanks for any help!
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another little addition - if I change the value in property in the html:error tag, nothing prints out--just blank space where the error message should appear (no null, no nothing). The rest of the page displays fine.
 
George Thomas Thomas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also getting the same issue....
Can any one help?

null Login failed. Please check your Userid and Password. null

I am getting null added to the front and end of the error message.
 
George Thomas Thomas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic