This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

apping with Action Class in Spring..

 
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
 
That feels good. Thanks. Here's a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!