Top "Struts-action" questions

An Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.

Struts 2: parameters between Actions

I have the following question: I need to pass a parameter (for example ID ) when I finish a form and …

java jakarta-ee parameters struts2 struts-action
Struts2: method attribute in <s:submit> button doesn't work

I have a form in jsp. There are two submit buttons: "Search" and "Add New" button. I had set each …

java jsp struts2 submit-button struts-action
How to use parameters, request and session objects present in ActionContext?

Here in this code I am using ActionContext to get Session and ServletActionContext from Request object. I feel this is …

java session struts2 request struts-action
Accessing a value in Struts ActionForm from JSP

I am a Struts 1.3.10 newbie and I have an issue where I have an Action called RegistrationAction as follows: public …

java struts struts-action
How to determine whether a request is Ajax or Normal?

I want to handle errors differently for AJAX requests vs normal requests. How do I identify whether a request is …

java ajax struts2 http-headers struts-action
struts tag for button call Action

Just wondering if anyone has ever seen or written a customer tag to call Struts2 Actions. What I'm looking for …

struts2 tags struts tld struts-action
Could not find action or result

I am getting: com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn Could not find action or result There is no …

java configuration struts2 struts-action action-mapping
How to call a method in Struts2 Action Class method with javascript

We currently use the following javascript to submit the form when one of the field values change. var url = "project/…

javascript jsp configuration struts2 struts-action
Struts has detected an unhandled exception: java.lang.NullPointerException

Hi I have this problem whit my code, i tried upload file to server and keep on database. The first …

java struts2 struts2-interceptors struts-action interceptorstack
Struts session form bean doesn't retain state

I am creating a wizard-like interface consisting of 3 jsp pages and 3 Struts actions using Struts 1.3. The flow is like below: …

java forms session struts struts-action