This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apping with Action Class in Spring..
 
Similar Threads
Struts 1.1 using RAD7
no ContextLoaderListener exception
use of value object ( javabeans )
How to create scrolling text?
Javascript new window is not opening from a jsp page