Announcement Announcement Module
No announcement yet.
Spring + Iceface View Resolver Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring + Iceface View Resolver


    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'

    Could anyone help?I am in such a mess.

    Thanx n regards,

  • #2

    I am clear in my head that i can configure both Spring MVC and JSF controllers in my web.xml and the request will be served on the basis of the url that you have mapped to which controller, Spring Web MVC or JSF.

    now i am calling iface from the springMVC that works ok but why all other iface requests are causing issues.

    Any clue? SOS


    • #3

      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?