File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "my actionform is not populated" Watch "my actionform is not populated" New topic

my actionform is not populated

thri nath

Joined: Mar 13, 2007
Posts: 4
my action form is not populated because of that I am getting and error as nullpointer how can i populate my action my code of struts-config.xml,actionclassand action form.


[BSouther: Added UBB CODE tags]
[ March 17, 2007: Message edited by: Ben Souther ]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32823

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Kevin Liu

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

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
I agree. Here's the link:
subject: my actionform is not populated
It's not a secret anymore!