thanks,
now there is a problem in struts.xml:
Can not find a java.io.InputStream with the name [${contentType}] in the
invocation stack. Check the
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24067967.html
Sent from the Struts - User mailing list archive a
my action is this:
public class FileDownload extends ActionSupport {
InputStream inputStream;
public void setInputStream(InputStream s){inputStream=s;}
public InputStream getInputStream(){return inputStream;}
public String execute(){
return "sendFile";
}
}
and in
sorry,
i don't succeed
i haven't idea
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24051122.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user
Right it's really too much
because i've not many packages that you've used.
is there a more simple code ?
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24050650.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
please
can anyone send me the cplete code to create an action which allows to
download a file
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24050039.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
good moornig,
my problem is this:
i've this select
in listValue i Want to separate getNome() and getCognome() with a white
space.
How can I make it?
--
View this message in context:
http://www.nabble.com/white-space-tp24031922p24031922.html
Sent from the Struts - User mailing list archive
good evening,
I've a trouble:
I would pass a parameter using tag and i would that the action
result send a its result to a jsp page.
should I use the request or I could use a vaiable String?
--
View this message in context:
http://www.nabble.com/tag-action-tp23487099p23487099.html
Sent from th
thanks.
but i've now a new problem: when i upload my file i received this message
"the request was rejected because its size (3571443) exceeds the configured
maximum (2097152)" now i set in the interceptor-ref name file upload this
param:
10485760
for 10MB but it
excuse me
has some one the code to save the upload file in a specific directory?
--
View this message in context:
http://www.nabble.com/file-upload-tp23282289p23286968.html
Sent from the Struts - User mailing list archive at Nabble.com.
thanks now thw action works but
please send me a right code to make the uploadfile in a specify directory of
the server because the code wich i try doesn't work
--
View this message in context:
http://www.nabble.com/file-upload-tp23282289p23282922.html
Sent from the Struts - User mailing list a
no where is ths file
Nils-Helge Garli wrote:
>
> Do you have a jar with the
> org.apache.struts2.dispatcher.multipart.MultiPartRequest class
> anywhere in your classpath?
>
> Nils-H
>
> On Tue, Apr 28, 2009 at 7:25 PM, PEGASUS84 wrote:
>>
>> pleas
please helm me
i must write a code for uploading file in a directory of the server.
i just try some example but i'm failed.
can someone give me the code to upluoad file
when i try i received this message
java.lang.RuntimeException: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiP
ok but i try to use an hidden tag but it set all values of name because it
is into an iterator tag
--
View this message in context:
http://www.nabble.com/radio-with-two-values-tp23272838p23274112.html
Sent from the Struts - User mailing list archive at Nabble.com.
good moorning.
I've this question:
Can I send to an action two vakues using radion button?
for example i want send the code and the name for each element of radio
buttons.
Is it possible?
--
View this message in context:
http://www.nabble.com/radio-with-two-values-tp23272838p23272838.html
Sent
ok but i must use personal interceptor for my project
Terry Gardner-2 wrote:
>
> I think you can use date formatters in java.text to accomplish this
> with no coding.
>
> On Apr 7, 2009, at 6:36 PM, PEGASUS84 wrote:
>
>>
>> I want create an interceptors wich c
I want create an interceptors wich converts the list of select tag mese in
another string:1,2...
i make this:
package bean;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Interceptor;
import com.opensymphony.xwork2.Action;
public class convMese impl
alue), the Map key will become the option 'value' parameter and the Map
> value will become the option body. ""
>
> Now, you have list as "DataOre". This is not, as the documentation says,
> an
> "Iterable source to populate from".
>
>
this is my bean
package bean;
import java.util.*;
public class DataOre {
List giorno=new ArrayList();
public DataOre(){
giorno = new ArrayList();
giorno.add("Sunday");
giorno.add("Monday");
giorno.add("Tuesday");
giorno.add("Wednesday");
giorno.add("
i repeat my question
i want populate the list from action tag whit ArrayList which is in a bean
without to use action.
Can i do?
--
View this message in context:
http://www.nabble.com/please-help-me-tp22933522p22933522.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
good evening;
I've this question:
I want crate a select tag with a list of 31 days.
I create a java class with an ArrayList with 31 days but how can insert this
ArrayList into a list of the select tag?
--
View this message in context:
http://www.nabble.com/tag-select-tp22931262p22931262.html
Sen
Thank you.
i wish encode data in the query string how can I do?
--
View this message in context:
http://www.nabble.com/hidden-data-tp22905294p22905999.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To u
yes is this my question, but my english is orrible.
the problem is that I don't know the hidden tag.
i try with but for taking the value of x
in an action How can I do.
I'm using the hidden tag into a link tag
--
View this message in context:
http://www.nabble.com/hidden-data-tp22905294p2290574
good moorning;
i've a question: can I send an hidden String with link to an action?
i don't want that on query string there is the value of my string
--
View this message in context:
http://www.nabble.com/hidden-data-tp22905294p22905294.html
Sent from the Struts - User mailing list archive at Na
suggest you take some time to study some
> servlet/jsp tutorials, and then move on to the Struts 2 bootstrap
> guides.
>
> Nils-H
>
> On Mon, Mar 16, 2009 at 5:31 PM, PEGASUS84 wrote:
>>
>> that's right!
>> now i realize this:
>>
>> import
how can I access in the current http request from an interceptor
--
View this message in context:
http://www.nabble.com/interceptor-and-request-http-tp22541808p22541808.html
Sent from the Struts - User mailing list archive at Nabble.com.
How can i set an attribute in the curret http request into an interceptor?
--
View this message in context:
http://www.nabble.com/request-into-interceptor-tp22541443p22541443.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
that's right!
now i realize this:
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Interceptor;
import com.opensymphony.xwork2.Action;
import javax.servlet.http.HttpServletRequest;
import com.opensymphony.xwork2.ActionContext;
import java.util.*;
publi
excuse me!!!
how can I show in a jsp page the text which is into an interceptor
[snipp]
public String intercept(.
System.out.print("text")
[/snipp]
In result page the text doesn't appear
--
View this message in context:
http://www.nabble.com/System.out-into-interceptor-tp225359
please help me.
I realize an interceptor and in this there is this snoppet code
System.out.print("text of message");
Can i display this message in a jsp page?
how can i?
--
View this message in context:
http://www.nabble.com/interceptor-Message-tp22528851p22528851.html
Sent from the Struts -
now it works;
but how can take the message which is in system.out.print...
--
View this message in context:
http://www.nabble.com/interceptor-tp22524102p22524243.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
i've created this interceptor,
does spmeone know why it doesn't work?
package bean;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Interceptor;
import com.opensymphony.xwork2.Action;
import java.util.*;
public class filtro implements Interceptor {
p
is it possible to call an action without a form or a link?
i would
calling an action
--
View this message in context:
http://www.nabble.com/call-action-tp22513608p22513608.html
Sent from the Struts - User mailing list archive at Nabble.com.
> can i achieve this thing? in this way?
>>
>>
>>
>>
>>
>>
>> Nils-Helge Garli wrote:
>> >
>> > Maybe you could try explaining what you're trying to achieve? Usually,
>> > input is passed to the action t
but How can I realize this?
Antonio Petrelli-3 wrote:
>
> 2009/2/23 PEGASUS84 :
>>
>> Antonio se sei italiano potresti dirmi in italiano
>
> Translation (please do not answer here)
> Traduzione (non rispondere qui).
>
> Non lo fare, perché usare Javascript
good moornig;
my question is:
How can I identify the action which came from;
--
View this message in context:
http://www.nabble.com/identify-action-tp22511787p22511787.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
this is my last question pleas help me;
i want realize an action which map on the jsp page which has invoked the
action (as a back button);
excuse me for my english but i'm an italian user
--
View this message in context:
http://www.nabble.com/action-tp22507466p22507466.html
Sent from the Strut
h a form or request parameters.
>
> Nils-H
>
> On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 wrote:
>>
>> good evenig
>> i would ask if i can get the value of variable x in an
>> action
>> --
>> View this message in context:
>> http://www.nab
good evenig
i would ask if i can get the value of variable x in an
action
--
View this message in context:
http://www.nabble.com/tag-set-tp22506157p22506157.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
property u want (u generate for this properties a getter and
> setter method)
> and u get them whith a cast of the form , in the action
>
> = ( ) form;
>
>
>
>
> 2009/3/13 PEGASUS84
>
>>
>> thanks but the data object isn't an input tag as or
thanks but the data object isn't an input tag as or
but a tag ;
Can I get url in an action?
--
View this message in context:
http://www.nabble.com/send-data-tp22498337p22498771.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
good evening;
does someone know how can I send data from a jsp page to an Action?
--
View this message in context:
http://www.nabble.com/send-data-tp22498337p22498337.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
good moorning;
does someone know How can I create an action which allows to go back to the
previous page?
--
View this message in context:
http://www.nabble.com/historyBack-tp22473940p22473940.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
thanks but it doesn't take data from form yet
--
View this message in context:
http://www.nabble.com/one-action-with-two-buttons-tp22456812p22465024.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To uns
it doesnt work mean that the action go to a jsp page but the data in the form
there aren't in the jsp page
--
View this message in context:
http://www.nabble.com/one-action-with-two-buttons-tp22456812p22464237.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
good evening,
in my project i've to create a form with two buttons wich make two different
process:
i try this method:
SOME table here or some fields
Cancel
but it doesn't work.
Can someone help me?
--
View this message in context:
http://www.nabble.com/one-action-with-two-buttons-t
good moorning;
exuse me, i have created a new user with a form in an Action;
now I want send this user in a new jsp page; does someone know how make this
thing?
--
View this message in context:
http://www.nabble.com/data-transfer-tp22369476p22369476.html
Sent from the Struts - User mailing list
Antonio se sei italiano potresti dirmi in italiano
--
View this message in context:
http://www.nabble.com/back-button-tp22159144p22159702.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
tton
>
> Nils-H
>
> On Mon, Feb 23, 2009 at 11:59 AM, PEGASUS84 wrote:
>>
>> certainly;
>> but i must create a back button in a jsp page
>> but the tag submit with action=javascript:history.back(); doesn't work
>>
>>
>> Nils-Helge Gar
Mon, Feb 23, 2009 at 11:44 AM, PEGASUS84 wrote:
>>
>> good moorning.
>> today my question is:"How to create a back button wirh struts 2?"
>> i used this code > action="javascript:history.back();"/>
>> but this metod don't operate.
>&g
good moorning.
today my question is:"How to create a back button wirh struts 2?"
i used this code
but this metod don't operate.
Does someone help me?
--
View this message in context:
http://www.nabble.com/back-button-tp22159144p22159144.html
Sent from the Struts - User mailing list archive at
sorry but i can't.
this is my code jsp:
and this is the image
http://www.nabble.com/file/p22089792/Image.jpg
i don't want the message;
please help me
--
View this message in context:
http://www.nabble.com/struts2-validation-tp22068251p22089792.html
Sent from the Struts - User
thanks,
but in this way i'cant se the labels of the form;
Can i override theme simple and remove only errorMessage?
--
View this message in context:
http://www.nabble.com/struts2-validation-tp22068251p22087958.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
thanks for your answer i've removed the conversion error interceptor but the
same message apper in my jsp page;
if i see the html code i see with the message invalide field value...
is there a way for remove this td?
--
View this message in context:
http://www.nabble.com/struts2-validation-t
sorry I want delete or change the error message from an action input please
help me but in my function validate() there isn't addfielderror.
i think that i can change the return in function validate: can i change
input in error?
i'm sorry for my english but i'm an italian user.
--
View this messa
good evening;
Does someone knows how to hide the error message which cames from the action
with name=input?
i don't want to view this message Invalid field value...
--
View this message in context:
http://www.nabble.com/struts2-validation-tp22068251p22068251.html
Sent from the Struts - User mail
good moorning to all I'm a new user forum and I need a big help:
I'm doing my degree thesis and I'm working with struts2; I would need to do
special thing but I hope that someone can help me:
I have to create an authentication form and I can very well except that I
want that the error message, i
56 matches
Mail list logo