wood burning stoves
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 RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "apping with Action Class in Spring.." Watch "apping with Action Class in Spring.." New topic

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.

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<form name="Hello" action="" method="get">
<input type="text" name="text" id="text"/>
<input type="submit"/>
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="" />

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

Thanks with Regards,
Amardeep Salkar
Don't get me started about those stupid light bulbs.
subject: apping with Action Class in Spring..