File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes my actionform is not populated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "my actionform is not populated" Watch "my actionform is not populated" New topic
Author

my actionform is not populated

thri nath
Greenhorn

Joined: Mar 13, 2007
Posts: 4
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Thri,
Can you show the JSP/HTML that submits to this form?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Kevin Liu
Greenhorn

Joined: Mar 17, 2007
Posts: 10
How about your web.xml ??
Kevin Liu
Greenhorn

Joined: Mar 17, 2007
Posts: 10
and .jsp file
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
What line of code is throwing the NullPointerException? What object is null?

- Brent
 
Don't get me started about those stupid light bulbs.
 
subject: my actionform is not populated
 
Similar Threads
internal error: (No action instance for path /lookup could be created)
How to Pass Parameter from .java to struts-config.xml to .jsp
I am unable to resolve the exception
Struts Problem with DAO..
struts problem in weblogic 8.1