Re: calling DispatchAction when clicked Refresh on Browser

2006-02-09 Thread Ext . Ilitia2
Hi, A few days ago, someone put in this list a message with a URL from where you could donwload a pdf about Struts. I don't remember the url, but the title of the book is Struts survival guide and the author is Srikanth Shenoy. Maybe someone can remenber it and reply. In the chapter

Re: html:file OutOfMemoryError

2006-02-03 Thread Ext . Ilitia2
Hi Joscar, In this occasion I can't help you, but as now I know that you are in this list, I will try pay attention in all mails that I will receive. Saludos tío.

Re: What to do...what to do...

2006-01-13 Thread Ext . Ilitia2
Hi Mark, I'm not sure, but I think that the problem is the access to database When you set the user in MySql, you have to put the machine's ip (or dns) from it connects If this users was configurate only with your machine's ip, it could be the reason bye.

Problem with resources file

2005-12-28 Thread Ext . Ilitia2
Hi, I'm trying run an application but I'm geting an error because it don't found the resources file. I have put it into classes folder, but it don't work. I remember I had to put a property into web.xml to indicate where is this file, which I don't remember. Anybody help me?

Re: Specify a file name when using DownloadAction

2005-12-15 Thread Ext . Ilitia2
Hi, You can try with this, for me work fine // Set the headers. res.setContentType(application/x-download); res.setHeader(Content-Disposition, attachment; filename= + filename); // Send the file. OutputStream out = res.getOutputStream( ); returnFile(filename, out); // Shown earlier in

Donwload files

2005-11-17 Thread Ext . Ilitia2
Hi, I have a appli lets download a file. My problem is what dialog box show as file name 'anything.do' instead real file name. I remenber to read something about this, but I don't now know where Anyboy can remenber it? -

Re: Donwload files

2005-11-17 Thread Ext . Ilitia2
Thanks... it works Verdad. Martin Gainty

Re: No getter method servlet Exception. using DynaActionForm

2005-11-16 Thread Ext . Ilitia2
Hi, I'm not sure, but I think you have several mistakes... First, You have put CustForm in the property name of the form, but in the property name of the action you have put SetupForm and in the class you have put CustForm again In the jsp you have put html:form

Problem with a property

2005-10-26 Thread Ext . Ilitia2
Hi, I have an object ('A') in session that I recover form a jsp whit the tag jsp:useBean. This object ('A') contains another object ('B'). And is form this ('B') I want to recover a property that use it like value into text's field. In this case, a html:text... How can I do? thanks

Re: Problems with script in JSP

2005-10-24 Thread Ext . Ilitia2
Hi, I think the problem is to use a scriptlet like this %= % into a tag. I don't know if exist a way to do this, but this is not the way.

Re: request attribute in jsp - please advice

2005-09-06 Thread Ext . Ilitia2
Hi, I don't know but... Can you put a hidden field into form with the value of attribute? Maybe solve your problem... Rivka

Re: TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread Ext . Ilitia2
hi, Have you tried to look into login_jsp.java file (in the line 135) that is in the directory work? Is likely that in this line you will find the motive of the error.

Re: TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread Ext . Ilitia2
I don't know exactly what means, but is likely that you haven't include the call appropriate to tld into head of jsp or the file (tld) into correct directory. Besides maybe that don't are finding the resouces file or that this haven't the key searched. I hope help you.

Re: Some advice

2005-07-15 Thread Ext . Ilitia2
Hi, For the dot 1, you can put a hidden field in the form to indicate waht type of validation you have to use. In the method validate of the ActionForm, you will choice the fields you need validate depending hidden field's value. I hope help you

Re: Some advice

2005-07-15 Thread Ext . Ilitia2
Ok... mayby that an example This is a posible ActionForm. the variable flag indicates the type of validation that needs public class CosaForm extends ActionForm { private String nombre = ; private String apellidos = ; private String telefono = ; private String

Re: another mutliple file uploading question

2005-07-15 Thread Ext . Ilitia2
have you tried with Jakarta's proyect commons-fileupload?. Is really powerfull... but I don't know if is compatible with Struts... |-+ | | dumbQuestionsAsk| | | er _| | | [EMAIL PROTECTED]| |

Re: another mutliple file uploading question

2005-07-15 Thread Ext . Ilitia2
I didn't know... I always have used it in alone mode... and work fine for my |-+ | | dumbQuestionsAsk| | | er _| | | [EMAIL PROTECTED]| | | .com| | |

Re: Alternate color in html:iterate

2005-07-13 Thread Ext . Ilitia2
another way: logic:iterate name=yourForm property=yourProperty id=yourId indexId =counter tr class=%= ((Integer)pageContext.getAttribute(counter)).intValue() % 2 == 0 ? odd : even% |-+ | | Marc Walter | | | [EMAIL

Re: How to display a Java format string 'as is' in a Struts web app page?

2005-07-12 Thread Ext . Ilitia2
I think that you want to use the escape character... you have to use '\' like this: This is a Java\\tformat string\\nthat will be used by {0} to {1} |-+ | | Ian Hayes | | | [EMAIL PROTECTED]| | |

Dinamic forms

2005-04-08 Thread Ext . Ilitia2
Hi, can your helpmy with a dinamic form with struts? I need an example of a dinamic form, please thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sorting of array lists

2005-03-10 Thread Ext . Ilitia2
sort it in the private method readPlanObjectFromDB... in the query DB select * from my_table ORDER BY . |-+ | | Krishna Mohan | | | Radhakrishnan | | | [EMAIL PROTECTED]| | |