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

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


Hi,
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">
<props>
<prop key="/login.html">loginController</prop>
</props>
</property>
</bean>
<bean id="loginController"
class="com.lightspeed.webapp.login.LoginController ">
<property name="sessionForm">
<value>true</value>
</property>
<property name="commandName">
<value>loginCommand</value>
</property>
<property name="commandClass">
<value>com.lightspeed.webapp.login.LoginCommand</value>
</property>

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

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'

http://localhost:8080/lightspeed/login.html?rvn=1

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