Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apping with Action Class in Spring..

 
Amardeep Salkar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic