[Webwork-devel] Servlet 2.2 support
Brought to you by:
baldree,
rickardoberg
|
From: Hough, T. <Mat...@Ma...> - 2002-04-18 15:59:23
|
I'm stuck with the Servlet 2.2 spec for awhile but I'd like to use WebWork.
So I compiled the source using my version 2.2 servlet.jar to check how much
code was 2.3 specific. Everything was fine except for the following errors:
Information: 6 errors
Information: 7 warnings
C:\Projects\RnD\WebWork\src\webwork\dispatcher\TestDispatcher.java
Error: line (14) cannot resolve symbol class HttpServletRequestWrapper
Error: line (83) cannot resolve symbol class HttpServletRequestWrapper
Error: line (45) setRequest(javax.servlet.http.HttpServletRequest) in
webwork.action.ActionContext cannot be applied to
(webwork.dispatcher.TestDispatcher.TestRequestWrapper)
C:\Projects\RnD\WebWork\src\webwork\view\taglib\IncludeTag.java
Error: line (14) cannot resolve symbol class HttpServletResponseWrapper
Error: line (193) cannot resolve symbol class
HttpServletResponseWrapper
Error: line (50)
include(javax.servlet.ServletRequest,javax.servlet.ServletResponse) in
javax.servlet.RequestDispatcher cannot be applied to
(javax.servlet.ServletRequest,webwork.view.taglib.IncludeTag.ServletResponse
WrapperInclude)
I don't see anything else using TestDispatcher but ComponentTag uses
IncludeTag and pretty much everything in webwork.view.taglib.ui uses
ComponentTag. I noticed that webwork.view.velocity.WebWorkUtil.include()
doesn't use any 2.3 classes or methods. Is it doing the same thing as
IncludeTag?
Would you consider working from the 2.2 spec? Is there anything in WebWork
that's impossible to do with the 2.2 spec? Are there any statistics about
2.3 adoption rates? Believe me I'd love to use the latest spec but it takes
a lot of coordination and testing to upgrade server software where I work.
Thanks for your hard work producing a quality product.
Todd
|