Results 1 to 2 of 2

Thread: How to modify a Spring app into a portlet ?

  1. #1
    Join Date
    Jan 2009
    Posts
    2

    Default How to modify a Spring app into a portlet ?

    Hi,

    I started using the Spring Web and Spring Portlet technology a few days ago. At the moment I'm trying to modify a Spring Web App into a Spring Portlet. But it won't work

    The Spring Web App is from following tutorial with the Netbeans IDE (only until topic 4.4)

    I attached my PortletApp, the used sources and the exceptions in this message.

    I did following steps:
    1) Create a portlet.xml in the WEB-INF
    2) Modify the web.xml (ViewRenderServlet)
    3) Creating a portlet context (springAppPortlet-context.xml)
    4) Adding Portlet / Spring libs
    5) Modify the controller (InventroryController.java)

    But i don't know how to configure the Controller in the Portlet Context


    Btw. can i keep old controllers and the ViewRenderServlet will bridge the requests ?

    Sry for my, perhaps silly, questions ;-)

    Greetz
    Andi
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2009
    Posts
    2

    Default

    Has nobody any idea how to fix this ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •