• Post Reply Bookmark Topic Watch Topic
  • New Topic

apping with Action Class in Spring..  RSS feed

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.

<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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!