AnsweredAssumed Answered

Add jsp into wcmqs spring framework

Question asked by mangar on Dec 16, 2012
Latest reply on Dec 18, 2012 by mangar
I want to add a Spring Controller to the wcmqs framework.  so I add:

   <import resource="sammy-context.xml" />
to web-application-config.xml

then sammy-context.xml is:

  <bean name="hello" class="com.sammysblog.web.controller.HelloController">
     <property name="webSiteService">
         <ref bean="webSiteService" />
   </property>
  </bean>

how do I map this bean to say "hello.html"?

I can get it to work with a servlet-mapping in the web.xml,  but then of course I have no access to the webSiteService bean.

How is this done?

Outcomes