Re: creating CGI_Impersonator in Webmacro-Spring env
Lane Sharman <[email protected]>
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
great, I will make the change over the weekend. -Lane Hai-Chen Tu wrote: > Lane, > I don't think I can check-out/check-in WebMacro CVS files. > > The change is to replace the line > sc_ = ((ServletBroker) > wc.getBroker()).getServletContext(); > with > > sc_ = request_.getSession().getServletContext(); > > and add to the 2.0 release notes: > "WebMacro 2.0 requires Servlet 2.3 or newer." > > Hai-Chen Tu > > At 01:37 PM 10/1/2004, Lane Sharman wrote: > >> Perfect. >> >> so do you know what to do with CGI_Impersonator now? >> >> -Lane >> >> Hai-Chen Tu wrote: >> >>> Lane, >>> >>> I searched Servlet JavaDoc and found out that one can use >>> request.getSession().getServletContext() to retrieve the >>> servlet context. >>> This getServletContext() method is available since Servlet 2.3. >>> >>> Hai-Chen Tu >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Webmacro-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/webmacro-user > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl