Announcement Announcement Module
Collapse
No announcement yet.
View Resolver issue help needed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • View Resolver issue help needed

    Hi,

    My application uses Icefaces + Spring + Hibernate

    I am using spring MVC for my login page.Once a user is authenticated he moves to the homepage which is a iface.First i configured my view resolver in ***-servlet.xml as

    <bean id="viewResolver" class="org.springframework.web.servlet.view.Intern alResourceViewResolver">
    <property name="viewClass"> <value>org.springframework.web.servlet.view.JstlVi ew</value>
    </property>
    <property name="prefix">
    <value>/jsp/</value>
    </property>
    <property name="suffix">
    <value>.iface</value>
    </property>
    </bean>

    due to which all subsequent iface requests used to fail because for them there was no URLMAPPING.i.e. i only need my homepage request to be trapped by spring.

    I tried fixing it with ResourceBundleViewResolver :

    <bean id="viewResolver"
    class="org.springframework.web.servlet.view.Resour ceBundleViewResolver">
    <property name="basename" value="com.lightspeed.util.views" />
    </bean>

    views.properties
    myhome.class=org.springframework.web.servlet.view. JstlView
    myhome.url=/jsp/myhome.jsp

    but it gives me :
    org.apache.jasper.JasperException: /jsp/myhome.jsp(7,6) &lt;jsp:output&gt; must not be used in standard syntax


    I know it is just a simple thing i might be missing.Is there a way out.Please help any suggestions will be appreciated.

    Thanx n Regards
    Pankaj

  • #2
    Got it fixed

    The extension has to be iface it worked.

    But that was on weired error.



    Thanx
    Pankaj

    Comment

    Working...
    X