Hi All,
i am trying to call a struts1.3 action from jQuery
i tried this
$.get("/samplAction.do",function(response){
//some code
});
but the action is not called.
waiting for your valuable responses.
Thanking you in anticipation
Hi All,
i am trying to call a struts1.3 action from jQuery
i tried this
$.get("/samplAction.do",function(response){
//some code
});
but the action is not called.
waiting for your valuable responses.
Thanking you in anticipation
how about withou "/" ? because I do this: having
$.post("add.do", $(this).serialize(), function(response){
//code
});
and my struts-config has this:
<action path="/something/add"
type="com.xxxx.yyyy.zzzz"
parameter="add"
name="aForm"
scope="request"
input="major.page">
</action>