• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to handle form bean exception

 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I have some problems with using struct form bean.

I created a form bean called LoginForm to handle login form data from my jsp page.( username and passward field )
When I submit (from my jsp page) entering either username or passward field or both, everything is OK.
But when I submit with niether username nor passward , I got the exception.
I got this error message , " no input attribute for mapping path..... ". And yes, I know that is because I didn't enter any input in my jsp form. So, what I want to know is how to handle that exception. ( in the case of I don't use java/VB script at the client side).

Somebody help me please...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add an "input" attribute? Turn off automatic validation?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic