Raphael Luta wrote:
> 
> Stephan Hesmer wrote:
> >
> > Raphael,
> >
> > some errors concering the EngineContext appeared during the big code clean
> > up. Due to the JetspeedServlet you changed the constructor parameter of
> > EngineContext, so that the class variables ServerName, ServerPort, etc...
> > are not initialized anymore. The problem is, that there are still
> > get-Methods for the variable, and they are used!!! For example, to locate
> > the search.html of the SearchPortlet.
> >
> 
> Can you find out the class which does this. I've changed all the get-methods
> used to rundata except in PortletConfig because I wanted to think a
> little more about method and its use.
> 
> > We could fix this error in two different ways:
> > * every time when the doGet-Method of the servlet is called, we set the
> > variables to appropriate values, or
> > * we remove the get-Methods and the variables and use insted directly the
> > runddata object.
> >
> 
> I'll commit a fix to PortletConfig. If I've missed other EngineContext
> getXXX(), these should be changed to use RunData whenever possible.
> 

The fix to PortletConfig is committed. If some people could test the current
Jetspeed with a servlet 2.1 container, I'd like to know if the EngineContext 
still works under 2.1 (it should). 
Servlet 2.0 is not supported and I don't see how we can properly support it.

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?:           [EMAIL PROTECTED]

Reply via email to