Meaningless Drivel is fun!*
The moose likes Other Application Frameworks and the fly likes apping with Action Class in Spring.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "apping with Action Class in Spring.." Watch "apping with Action Class in Spring.." New topic
Author

apping with Action Class in Spring..

Amardeep Salkar
Ranch Hand

Joined: May 22, 2008
Posts: 46
Dear All,


I got the problem in Spring frame work. This is totally new for me.
Please tell me how to write/configure the Action class with xml file.

I've a jsp page which on submit it have to go that action class in spring.
My JSP code is like this.

<html>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<form name="Hello" action="" method="get">
<input type="text" name="text" id="text"/>
<input type="submit"/>
</form>
</body>
</html>
Now I've to Mapped With Action Class in Spring.

I've the despatch-servlet.xml file where I've written the xml like this.

<bean id="Hello" name="Hello" class="global.FirstTest" scope="session">
<property name="" ref="" />
</bean>

Is it a correct. if not then please let me know.

Thanks with Regards,
Amardeep Salkar
 
 
subject: apping with Action Class in Spring..