Re: download file

2009-06-16 Thread PEGASUS84
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

Re: download file

2009-06-16 Thread PEGASUS84
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

Re: download file

2009-06-16 Thread PEGASUS84
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

Re: download file

2009-06-16 Thread PEGASUS84
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. ---

download file

2009-06-16 Thread PEGASUS84
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. -

white space

2009-06-15 Thread PEGASUS84
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

tag action

2009-05-11 Thread PEGASUS84
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

Re: file upload

2009-04-29 Thread PEGASUS84
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

Re: file upload

2009-04-28 Thread PEGASUS84
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.

Re: file upload

2009-04-28 Thread PEGASUS84
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

Re: file upload

2009-04-28 Thread PEGASUS84
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

file upload

2009-04-28 Thread PEGASUS84
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

Re: radio with two values

2009-04-28 Thread PEGASUS84
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.

radio with two values

2009-04-28 Thread PEGASUS84
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

Re: create personal interceptor

2009-04-08 Thread PEGASUS84
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

create personal interceptor

2009-04-07 Thread PEGASUS84
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

RE: please help me

2009-04-07 Thread PEGASUS84
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". > >

Re: please help me

2009-04-07 Thread PEGASUS84
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("

please help me

2009-04-07 Thread PEGASUS84
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. --

tag select

2009-04-07 Thread PEGASUS84
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

Re: hidden data

2009-04-06 Thread PEGASUS84
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

Re: hidden data

2009-04-06 Thread PEGASUS84
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

hidden data

2009-04-06 Thread PEGASUS84
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

Re: System.out into interceptor

2009-03-16 Thread PEGASUS84
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

interceptor and request http

2009-03-16 Thread PEGASUS84
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.

request into interceptor

2009-03-16 Thread PEGASUS84
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. --

Re: System.out into interceptor

2009-03-16 Thread PEGASUS84
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

System.out into interceptor

2009-03-16 Thread PEGASUS84
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

interceptor Message

2009-03-15 Thread PEGASUS84
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 -

Re: interceptor

2009-03-15 Thread PEGASUS84
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. ---

interceptor

2009-03-15 Thread PEGASUS84
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

call action

2009-03-14 Thread PEGASUS84
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.

RE: tag set

2009-03-14 Thread PEGASUS84
> 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

Re: back button

2009-03-14 Thread PEGASUS84
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

identify action

2009-03-14 Thread PEGASUS84
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. -

action

2009-03-13 Thread PEGASUS84
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

Re: tag set

2009-03-13 Thread PEGASUS84
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

tag set

2009-03-13 Thread PEGASUS84
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. ---

Re: send data

2009-03-13 Thread PEGASUS84
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

Re: send data

2009-03-13 Thread PEGASUS84
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. -

send data

2009-03-13 Thread PEGASUS84
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. --

historyBack

2009-03-12 Thread PEGASUS84
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. ---

Re: one action with two buttons

2009-03-11 Thread PEGASUS84
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

Re: one action with two buttons

2009-03-11 Thread PEGASUS84
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. ---

one action with two buttons

2009-03-11 Thread PEGASUS84
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

data transfer

2009-03-06 Thread PEGASUS84
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

Re: back button

2009-02-23 Thread PEGASUS84
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

Re: back button

2009-02-23 Thread PEGASUS84
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

Re: back button

2009-02-23 Thread PEGASUS84
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

back button

2009-02-23 Thread PEGASUS84
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

Re: struts2 validation

2009-02-18 Thread PEGASUS84
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

Re: struts2 validation

2009-02-18 Thread PEGASUS84
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. ---

Re: struts2 validation

2009-02-18 Thread PEGASUS84
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

struts2 validation help please

2009-02-17 Thread PEGASUS84
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

struts2 validation

2009-02-17 Thread PEGASUS84
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

STRUTS2 validator.xml

2009-02-10 Thread PEGASUS84
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