Sorry about the late reply, but better ate than never.
All you need to do is have a setPar(String par) method in your action and
it's automagically invoked when extending parameteraware (t may even be
invoked generally, I can't remember).
Z.
> file set:
>
> Launch JSP page: TestActionParam.jsp
Thanks anyway, I'll try it immediately...
All my best
Riccardo
___
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html
---
--- Riccardo Mollame <[EMAIL PROTECTED]> wrote:
> WHERE'S THE DAMN PROBLEM?!?
The "params" interceptor [1] does not do what you
think it does. You are assuming you have implemented
ParameterAware [2, sorta], which is different.
d.
[1]
http://struts.apache.org/2.x/docs/parameter
" parameter always null ... (though
> it is actually present in the URL)
>
> WHERE'S THE DAMN PROBLEM?!?
>
> A very discouraged Struts 2 newbie...
>
> Thanks in advance.
>
> Ric
>
>
>
> __
file set:
Launch JSP page: TestActionParam.jsp
Action: ActionParam.java
Response JSP page: ActionParam.jsp
Struts config file: struts.xml
source code:
TestActionParame.jsp **
<%@ taglib prefix="s" uri="/struts-tags" %>
TestActionParam
test
***
5 matches
Mail list logo