RE: Communicate between two struts apps

2006-06-22 Thread Miller, Andy
I've found need to do this myself before. It ended up being a big mess. Fortunately for me I only had a few pieces of data that needed sharing back and forth, so I simply used Cookies to save myself a ton of time. However, it is not a graceful solution, and as eric has stated, it is a shortcoming.

RE: Mistake of syntax in html:button

2006-06-22 Thread Miller, Andy
")"> In the jsp: <% String property = request.getParameter("property"); String optionsCollection = request.getParameter("optionsCollection"); %> -Mensaje original- De: Miller, A

RE: [JAVA]Converting a string to date

2006-06-22 Thread Miller, Andy
For oracle: to_date('06-APR-07', 'DD-MON-YY') but this is more of a sql question than a struts question ;) Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 10:25 AM To: user@struts.apache.org Su

RE: Mistake of syntax in html:button

2006-06-22 Thread Miller, Andy
What is the value of <%=property%> when the form is generated? i.e., do a "view source" on the generated jsp and look at the values; then work backwards from there. Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED]

RE: textarea

2006-06-22 Thread Miller, Andy
You will also need to do server side validation if you are attempting to insert/update into a database (i.e., your users may have javascript disabled in which case a javascript test alone will not be sufficient). a Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From

RE: Disable submit button

2006-05-31 Thread Miller, Andy
You should attach the event to the form and not the button. If the user clicks the enter key on the keyboard and you have used an "onClick" event, then the event will not fire if the user hits enter. Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: rukka [mailto

RE: Validating struts elements of array type in javascript

2006-05-30 Thread Miller, Andy
For JavaScript, here is the easiest way to do this is for your case: Use a hidden variable to store the number of packages. For each package, I am guessing you have 3 fields: height, weight, and length. The names for these fields should be something to the effect of: height_1, weight_1, length

RE: Struts, how to create wizard pages ??

2006-05-26 Thread Miller, Andy
What kind of help exactly do you need? My initial suggestion would be to simply treat each page in the wizard as a separate ActionForm, and then do inserts into your database upon submission of each page... Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: A. Lo

RE: validation

2006-05-23 Thread Miller, Andy
use the maxlength attribute on your field: Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 12:28 PM To: user@struts.apache.org Subject: validation creating a jsp in which the user will be enterin

RE: Req on

2006-05-22 Thread Miller, Andy
Javascript... Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: Radha Krishna [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 7:56 AM To: user@struts.apache.org Subject: Req on Hi All, I have one simple question. i have two controls in same f

RE: ERROR: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImplnot found

2006-05-19 Thread Miller, Andy
entBuilderFactoryImpl'. Chris Miller, Andy wrote: > First off, my apologies if I am sending this email to the wrong list. I > have searched high and low on the web for answers to this question > (including posting on the Java Developer forum), but I am not having any > luck resolving my

ERROR: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

2006-05-18 Thread Miller, Andy
First off, my apologies if I am sending this email to the wrong list. I have searched high and low on the web for answers to this question (including posting on the Java Developer forum), but I am not having any luck resolving my problem. I'm running Java Sun System Web Server 6.1 SP5 on Windo