Mike Engelhart wrote:
> Anyone know a work around to calling HttpServletRequest.setAttribute() with
> the current JServ implementation. I'd love to use JServ for my development
> and production systems, but not having this functionality severly limits the
> ability to use servlets for business logic and JSP for presentation.
>
> Is there any other to pass a Bean to a JSP with the JSDK 2.0?
>
The setAttribute() call on both HttpServletRequest and ServletContext were
added in the 2.1 servlet API, so they just are not going to be there
with Apache JServ 1.0. However, you can still use session-scoped bean passing,
because the required calls (HttpSession.putValue and HttpSession.getValue) are
present. I have used this quite successfully with GNUJSP.
>
> Also, what needs to be done to get JServ up to date with JSDK 2.1? I'll
> help if there's anything within my skill set that needs to be done.
>
Over the last several months, quite a lot of progress has been made on Apache
JServ 1.1-DEV (available in the CVS archives under branch JSERV1_1DEV).
Servlet API 2.1 compatibility was a key functional requirement, but so were a
bunch of other things as well -- such as session persistence and swapping, a
new component-based architecture, valves (pre-process and post-process
gadgets), and a plug-in mechanism to integrate the core servlet engine with
different communications protocols.
This week at JavaOne, Sun announced that they are licensing the reference
implementations of JSDK and JSP to the Apache Project (that's us :-), for
distribution under typical Apache licensing. In other words, they just open
sourced two very key components of the Java2 Enterprise Edition architecture.
The next step will be to integrate these things with Apache and Apache JServ
(by writing a communications protocol linkage to the existing MOD_JSERV module,
and/or writing a new Apache module with a higher performance protocol), as well
as determine how to integrate the code and/or features of the two servlet
engine implementations. This whole effort is just starting to get under way.
For more information, or to contribute your time and talents, you will want to
keep checking up on the new project web site:
http://jakarta.apache.org
>
> Thanks,
>
> Mike
>
Craig McClanahan
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]