Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

how do the com.springmvc.action.springservlet to be Spring controller?

Posted on 2009-02-12
2
Medium Priority
?
367 Views
Last Modified: 2013-11-11
How to do this in my spring-servlet.xml file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd" >
 
<beans>
<bean name="/submitResult.htm" class="com.springmvc.action.springservlet">
</bean>
 
<bean id="viewResolver" class= "org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
</beans>

Open in new window

0
Comment
Question by:czutshi
  • 2
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 23620400
Its your code that needs to change. subclassing AbstractController is the go if its relatively soimple.


http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/servlet/mvc/AbstractController.html
0
 
LVL 92

Assisted Solution

by:objects
objects earned 2000 total points
ID: 23620401
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question