It's not a secret anymore!*
The moose likes Struts and the fly likes Problem with this Action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with this Action class" Watch "Problem with this Action class" New topic
Author

Problem with this Action class

Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 435
Hi,

I have two Action classes
1)RequisitionAction.java
and
2) JobApplication.java

I am using stuts 2. The method for populating beans is bean - backed.

The two beans, using, JPA, are,

1) Requisition.java
2)JobApplication.java

Here is my JobApplicationAction class

It is not holding values???







This class calls bean multiple times and hold only one value is tel home.

Here is the jsp file calling this action.




RequisitionAction.java is very similar. It constructs Requistion bean object only once and uses it only. This JobApplication is not behaving as expected

Thanks in advance,

Maki Jav


Help gets you when you need it!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with this Action class
 
Similar Threads
Retrieving request parameters (from the url) in a jsp page
When Validation Error I Lose My Bean Value-Struts 2
struts2: what kicks in first- the interceptors or the form's validation?
Interceptor messes up action class in Struts2
input values like name="bean.property" can not be populated to interceptors