RE: WSAD Struts ClassCastException: org.apache.struts.action.Ac tionMappings

2002-06-27 Thread Bhattad, Nilesh
I was facing similar kind of problem with WSAD. Not sure whether it'll help u or not. I made a little change in WSAD settings. And it worked for me. 1. From your project properties, select Validation section. 2. Turn on the option of Run validation automatically ... - Nilesh -Original

problem switching apps.. Form object is not getting passed

2002-06-27 Thread Bhattad, Nilesh
Hello While I switch from one application to another, a new Form object is created. Is there a way to use the Form object which is created during the Request process of previous application page? In my struts-config.xml, I have defined 2 different actions namely index and core. From index.jsp

RE: Dynamic Properties

2002-06-24 Thread Bhattad, Nilesh
I'm also facing the same problem of Dynamic properties with Struts 1.0/1.1 As a workaround, I created my own classes DynaForm and DynaFormClass I'm attaching a pseudo code of DynaForm and DynaFormClass // A Form class which is common for all JSP pages

RE: WebLogic 7 and Struts

2002-06-24 Thread Bhattad, Nilesh
You need to download a few commons package separately Logging: http://jakarta.apache.org/builds/jakarta-commons/release/commons-logging/v1. 0/ - Nilesh -Original Message- From: Regan, Patrick [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 3:36 PM To: '[EMAIL PROTECTED]'

Making Action object as singleton

2002-06-21 Thread Bhattad, Nilesh
Hello I have an Action object which is common for all JSP pages. It doesn't have any object level variable in it. What are all the advantages/disadvantages of making Action object as a singleton? Thanks in advance !! - Nilesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Making Action object as singleton

2002-06-21 Thread Bhattad, Nilesh
do you mean, What the the advantages/disadvantages to having only a single Action class in my framework? peace, Joe -Original Message- From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 1:56 PM To: Struts mailing list ([EMAIL PROTECTED]) Subject: Making

Single ActionServlet, ActionForm, Action across entire application... is it ok ?

2002-06-18 Thread Bhattad, Nilesh
Hello Recently I started working on Struts. I'm using Struts 1.0.2 version. Struts framework recommends to create separate ActionForm and Action object for each JSP page. Instead, I created a single Form object DynaForm which has a HashMap in it. And I'm using this form object for all the JSP

RE: Single ActionServlet, ActionForm, Action across entire applic atio n... is it ok ?

2002-06-18 Thread Bhattad, Nilesh
input forms, can't you just change the scope of the mapped actions to session or possibly application? Im not sure what your needs are, but that's all I do. ~ Keith -Original Message- From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 3:57 PM To: Struts mailing

RE: Single ActionServlet, ActionForm, Action across entire applic atio n... is it ok ?

2002-06-18 Thread Bhattad, Nilesh
help Keith. - Nilesh -Original Message- From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:04 PM To: 'Struts Users Mailing List' Subject: RE: Single ActionServlet, ActionForm, Action across entire applic atio n... is it ok ? I want to keep Form object within

RE: Using java.util.Map in place of an ActionForm?

2002-06-18 Thread Bhattad, Nilesh
I looked at DynaActionForm. In order to use DynaActionForm, I'll have to specify all form field properties in struts-config.xml So it'll look something like this... form-beans form-bean name=logonForm type=org.apache.struts.action.DynaActionForm form-property