struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi Lu <em...@encs.concordia.ca>
Subject how to make onchange in s:select to submit a form and call a specific method in one action class
Date Thu, 11 Aug 2011 15:16:00 GMT
Good morning,

In struts2.2.3, how to submit a form to a predefined action?

For example,

(1) a.jsp
<s:select onchange="changeProcess" />

(2) Process.java
...
public String change()
{
    get Form values from a.jsp
    database actions ... ...
    return a.jsp;
}


I'd like to know:
===========================
When values changed in s:select, how to submit the form and call 
change() method in Process.java

Thanks lot!
Emi




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message