Re: [S2] downloadaction class

2008-07-15 Thread Riccardo Mollame
024                   true             Define a instance variable holding the file name (should have getters and setters) and use that variable in the config xml as above. Actually you can use this type of referencing the action variables in config file. Regards, ManiKanta Riccardo Mollame wrote: >

Re: [S2] downloadaction class

2008-07-15 Thread Riccardo Mollame
the 'inputName' param is the name of the instance variable of type InputStream in the action file. Hope this will clarify your doubt, and feel free to reply if you are having any more doubt. I can provide some code if you need. But my sincere suggestion is first try it by yourself.

[S2] downloadaction class

2008-07-15 Thread Riccardo Mollame
Can anyone tell me if DownloadAction (or something simlar) is still supported in S2? Any help appreciated. Thanks. Ric Posta, news, sport, oroscopo: tutto in una sola pagina. Crea l'home page che piace a te! www.yahoo.it/latuapagina --

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
libs cause the NPE. unknown > property name? > > > On 9/7/07, Riccardo Mollame <[EMAIL PROTECTED]> > wrote: > > > > Could any one explain why this piece of code works > > fine: > > > > <%@ taglib prefix="c" > > uri="http:/

Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
Could any one explain why this piece of code works fine: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%> <%@ taglib prefix="s" uri="/struts-tags"%> while this one: <%@ taglib prefix="c" uri="

Re: Struts 2 - compatibility between JSTL xml tags and Struts 2

2007-09-05 Thread Riccardo Mollame
cutor$MyWorker.run(ReleasableResourcePooledExecutor .java:303) at java.lang.Thread.run(Thread.java:595) --- Don Brown <[EMAIL PROTECTED]> ha scritto: > Could you provide the stacktrace? > > Don > > On 9/5/07, Riccardo Mollame <[EMAIL PROTECTED]> > wro

Struts 2 - compatibility between JSTL xml tags and Struts 2

2007-09-05 Thread Riccardo Mollame
Has anyone ever experienced compatibility issues between JSTL xml tags (i.e. and the like) and Struts 2? I've isolated, with no ambiguity, a weird case in a web application where the usual combination of and to load and access an xml file in the WEB-INF directory, when invoked in a page whithou

Re: URL paramters accumulating in a sequence of actions

2007-08-29 Thread Riccardo Mollame
Yes: there I have a sequence of "return SUCCESS" all with an actions. Anyway, a good man gave me the probable solution: using the includeParams="none" in the s:url tag. Thanks anyway! Ric --- Antonio Petrelli <[EMAIL PROTECTED]> ha scritto: > 2007/8

RE: URL paramters accumulating in a sequence of actions

2007-08-29 Thread Riccardo Mollame
;none', > 'get' or 'all') > > > -Message d'origine- > De : Riccardo Mollame [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 29 août 2007 13:42 > À : user@struts.apache.org > Objet : URL paramters accumulating in a sequence of > actions > > Can

URL paramters accumulating in a sequence of actions

2007-08-29 Thread Riccardo Mollame
Can anyone explain to a poor newbie why, after calling a sequence of actions, each one passing a set of URL parameters, I end up having in the final URL **all** the parameters called in the previous actions? Thanks in advance. Ric ___ L'emai

Struts 2 - lost URL parameters with tag (bug 1938)

2007-08-27 Thread Riccardo Mollame
Does anybody know about any fix or workaround to the mentioned bug? For the record, it's the bug emerging when the contains more than one tag, in which case strange things happen (e.g. only one parameter is actually retrievable in the target action, the others producing the infamous nullPointerE

Re: Struts2 - troubles with ParameterAware

2007-08-22 Thread Riccardo Mollame
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 ---

Struts2 - troubles with ParameterAware

2007-08-22 Thread Riccardo Mollame
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 ***