Re: ActionError in Struts1.2 ???

2004-09-06 Thread calandraca
ActionErrors is not deprecated, but saveErrors(HttpServletRequest request, ActionErrors errors) is. According to 1.2.2 javadoc you should use saveErrors(HttpServletRequest, ActionMessages) instead, dispite ActionErrors is a subclass of ActionMessages. I don't mind because it has all functionallity

strange random problem

2004-09-08 Thread calandraca
Since I have rewrited an important part of my application using struts I've had this problem several times. It didn't happen in development environment, with only one or two users using the application at the same time. It happends in production with 20 or 30 users. * Development environment: Debi

Re: strange random problem

2004-09-09 Thread calandraca
way? > > Regards, > David > > > > -Original Message- > From: calandraca [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 1:04 PM > To: Struts Users Mailing List > Subject: strange random problem > > Since I have rewrited an important par

Re: strange random problem

2004-09-10 Thread calandraca
le at http://struts.apache.org/userGuide/building_controller.html#action_design_guide, it will help you to write thread safe code. Now is time to change my code. Thanks a lot On Thu, 9 Sep 2004 22:36:33 -0400, David G. Friedman <[EMAIL PROTECTED]> wrote: > Calandraca(?), > >

Re: help : submit with javascript problem

2004-10-11 Thread calandraca
Try this: function callSubmit() { frm = document.getElementById("myFrm"); frm.submit(); } Note that styleId attribute in html:form tag will be rendered as an id html attribute (see Struts documentation). So you will have a way for locating the form from

Re: FW: R: Detecting the previous JSP

2004-09-30 Thread calandraca
I strongly suggest to use DOM object model when programming JavaScript, since I do it my applications are accessed from Safari, IE, Firefox without problems and no browser dependent code is required. In your case I'd do this: 1. The html form: Note that I have added the styleId attribute, this