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:
>
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.
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
--
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:/
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="
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
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
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
;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
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
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
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
---
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
***
13 matches
Mail list logo