Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

my actionform is not populated

 
thri nath
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my action form is not populated because of that I am getting and error as nullpointer exception.so how can i populate my action form.here my code of struts-config.xml,actionclassand action form.
---------------------------------------------------------------------------
struts-config.xml:
..................

---------------------------------------------------------------------------
ACTIONCLASS:
............
---------------------------------------------------------------------------
ACTIONFORM:

[BSouther: Added UBB CODE tags]
[ March 17, 2007: Message edited by: Ben Souther ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thri,
Can you show the JSP/HTML that submits to this form?
 
Kevin Liu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about your web.xml ??
 
Kevin Liu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and .jsp file
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What line of code is throwing the NullPointerException? What object is null?

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic