Re: Submit a struts form using javascript

2008-07-15 Thread rapsy
I am trying to submit two forms at once. The first form is being submitted by "onclick" event which calls javascript form.submit() and the second form is submitted by submit button itself when it is clicked. The first form submission is failing i.e when I try to retrieve the values of the first

Submit a struts form using javascript

2008-07-15 Thread rapsy
I am using struts 1.1 and having problem submitting first form from inside the second form. What happens when the first form is submitted from the second form using javascript? Does it call the 'execute" method of first form? For example: Here is the code: In the above code, "firstForm" is

Error parsing web-inf/struts-nested.tld

2007-12-19 Thread rapsy
Hi All, I am trying to deploy struts aplication on Oracle Application server 10g. I am getting following list of error, any input will be greatly appreciated. It is really urgent. Below is the stack trace of errors I am getting in deployment log file: Error parsing web-inf/struts-nested.tld Er

Re: Struts validation error on Jdeveloper 10.1.3.3

2007-10-04 Thread rapsy
I don't think that matters but I gave a try just in case. The error message is now changed to: (Error) Invalid element 'arg0' in content of 'field', expected elements '[msg, arg, var]'. Thanks for your reply! Cesar Arevalo wrote: > > Hey Rapsy,

Struts validation error on Jdeveloper 10.1.3.3

2007-10-04 Thread rapsy
Hi, I am using struts 1.3.8 for my application. I am using Oracle Jdeveloper IDE ver 10.1.3.3.0. I have created the following validation in validation.xml file. min0 max9 When I run my applicatio

Cross site scripting issue

2007-03-14 Thread rapsy
Hi All, I am trying to find a best solution to prevent Cross site scripting attacks. I wrote a method to filter out all the bad characters. But my questions is where should I call this method? AT the form level, in setters method r action level or use a filter. I think filter is a good option bu

Drop down list is blank

2007-02-13 Thread rapsy
Hi all, I am using struts 1.1 version for my application. I have to prepopulate drop-down lists on various jsp pages. The approach I am taking right now is in the reset method I make a call to database which returns me all the values for a list..for example it returns me all states. Then I pu

Dynamic form field

2006-12-14 Thread rapsy
Hi I have a requirement to generate dynamic fields on form page depending on a value that user has entered. If user has entered value = 3, I have to generate 3 check boxes and 3 text boxes on a form page. I am able to do this but the problem is if I enter something on that page and navigate to

Question reg EventDispatchAction

2006-11-13 Thread rapsy
Hi All I have multiple submit buttons on my jsp page. I would like to use EventDispatchAction to do that. The issue is I have been working with struts1.1 and I can't upgrade to struts1.2.9. Is is possible for me to add EventDispatchAction to struts1.1 version. If yes, please let me how can I d