posted 13 years ago
Hi
I have used spring framework in eclipse.
I have the requirement to pass the values in controller through javascript.
I used follwing code in javascript
function getvalue()
{
var uname=document.user.username.value;
alert(uname);
document.user.username.action="value.do";
document.user.method="Post";
document.user.submit();
}
I have created controller like as value.java