File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

my actionform is not populated

 
thri nath
Greenhorn
Posts: 4
  • 0
  • 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: 33713
316
Eclipse IDE Java VI Editor
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about your web.xml ??
 
Kevin Liu
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and .jsp file
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What line of code is throwing the NullPointerException? What object is null?

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic