Icefaces issue with subsequent iface call after spring dispatchservlet  XML
Forum Index -> General Help
Author Message

Joined: 04/Sep/2008 00:00:00
Messages: 40

I am toiling hard for quite sometime now but issue doesn't seem to get resolved.

I have my login page i authenticate a user with Spring MVC and from there on all subsequent requests are of iface.
My dispatch-servlet.xml:
<bean id="simpleUrlMapping" class="org.springframework.web.servlet.handler.Sim pleUrlHandlerMapping">
<property name="mappings">
<prop key="/login.html">loginController</prop>
<bean id="loginController"
class="com.lightspeed.webapp.login.LoginController ">
<property name="sessionForm">
<property name="commandName">
<property name="commandClass">

<property name="authenticationService">
<ref bean="authenticationService" />
<property name="formView">
<property name="successView">
<bean id="authenticationService"
class="com.lightspeed.webapp.login.AuthenticationS ervice">
<bean id="viewResolver" class="org.springframework.web.servlet.view.Resour ceBundleViewResolver">
<property name="basename" value="com.lightspeed.util.views" />

It gives error once i try to access an iface page.

javax.servlet.ServletException: Could not resolve view with name 'login' in servlet with name 'dispatch'


This is what u get in the address bar seems like every subsequent request is sent to spring MVC controller.Is there a way that i can change the URl?Clicking on ice:commandlink doesn't make any change to the URL?

Thanx in advance

Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team