You should use the getStack method in the class
webwork.util.ServletValueStack instead.
I believe the getStack method was removed from ValueStack long before the
final 1.3 release so I am surprised that you get a deprecation warning for
it since it should not be there at all.

Cheers,

Dick Zetterberg
[EMAIL PROTECTED]


----- Original Message -----
From: "Gavin Bong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 11:22 AM
Subject: [OS-webwork] webwork.util.ValueStack.getStack( .. ) deprecated ?


> Hello,
>
> I'm trying to access the ValueStack programmatically
> in my JSP file. I'm using WW 1.3. It's giving me a
> deprecation error. Please recommend a method that's
> not deprecated. Thanks.
>
> Generated servlet error:
>     [javac] Compiling 1 source file
>     [javac]
>
D:\progs\jboss-3.2.2RC1_tomcat-4.1.24\server\default\work\MainEngine\localho
st\webwork\rss\addPost_jsp.java:89:
> cannot resolve symbol
>     [javac] symbol  : method getStack
> (javax.servlet.http.HttpServletRequest)
>     [javac] location: class webwork.util.ValueStack
>     [javac]     webwork.util.ValueStack vs =
> webwork.util.ValueStack.getStack( request );
>     [javac]
>              ^
>     [javac] Note:
>
D:\progs\jboss-3.2.2RC1_tomcat-4.1.24\server\default\work\MainEngine\localho
st\webwork\rss\addPost_jsp.java
> uses or overrides a deprecated API.
>     [javac] Note: Recompile with -deprecation for
> details.
>     [javac] 1 error
>




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to