Hello to All!!
Please suggest me how I can give an alias to forward path in struts manner. I mean:
in struts we write
As you can see the "success" name is alias of "/jsp/login.jsp" path. In spring we use viewResolver:
<action path="/process/login" type="com.my.site....">
<forward name="success" path="/jsp/login.jsp"/>
As you know a real name of jsp file we need point in action class. I think it doesn't good idea, that's why I want to do it like in struts. How can I do it?
I tried to use something like that:
but didn't understand what must be in view.xml file. Can anybody show me example?
<bean id="viewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
Thank you for your responses!