Here is a question in a situation of Spring MVC in
conjunction with 
Tile. In the current Struts-Tiles, we have the
following class

public class NewADComponentController extends
ComponentControllerSupport {

    @Override
    protected void doPerform(ComponentContext
componentContext,
            HttpServletRequest request,
HttpServletResponse response)
            throws Exception {

  //... ...
    }

}

To achieve the same goal on Tiles 2, I have the
following class:

public class NewAdsViewPreparer implements
ViewPreparer {

    //... ...

 
    public void execute(TilesRequestContext
tilesContext, 
AttributeContext attributeContext)
    throws PreparerException {
       
       // ... ...
    }
}

A problem of the Tiles migration is that I need to
access a session 
attribute inside of the execute method. I can't see a
way of accessing a 
Http session inside of the method. How can I solve
this problem?

Thanks for your inputs.

-v


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to