validate attribute in ActionMapping

2001-03-27 Thread Matthias Bauer
Hi everybody, I am trying to set the default value for validate in the ActionMapping class to false. So I subclassed ActionMapping and did this in the constructor: public ApplicationMapping() { super(); setValidate(false); } The

RE: validate attribute in ActionMapping

2001-03-27 Thread Katarina Nelson
Just write you own validate() method (with no values) in your form bean. Then your own method overwrites the super class? validate method. Or just write "validate=false" in your struts-config.xml file for the corresponding action e.g.: action path="/saveUser" type="com.myAction"

Re: validate attribute in ActionMapping

2001-03-27 Thread Matthias Bauer
That is exactly what I want to avoid. I don't always want to write validate="false" in struts-config.xml. I would like to have the value false to be the default. And I still want to provide a validate() method in the form bean, because from some actions I would like to have it validated.

RE: validate attribute in ActionMapping

2001-03-27 Thread Katarina Nelson
I use validate="false" in struts-config.xml and then sometimes call the validate() from my save class. So sorry but that?s my advice. KN -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthias Bauer Sent: den 27 mars 2001 15:29 To: [EMAIL PROTECTED]

Re: security and SSL

2001-03-27 Thread Maya Muchnik
I think, SSL is supported or not supported by a servlet container which you are using. If it supports SSL you can find some instructions to set up / configure. Marcin Baj wrote: Hello what is support for secure authorization in Struts? Is SSL included? Can you direct me to some example?

Compile problem

2001-03-27 Thread Scott Fitzgerald
Hello Struts Users, When I run my application I get a JasperException. It tells me that it is unable to compile my LogonForm.java because: class org.apache.struts.action.ActionForm must be an interface. Can someone please offer some explanation? Thanks in advance, Scott Fitzgerald,

RE: Compile problem

2001-03-27 Thread SHROM,BENJAMIN (HP-USA,ex1)
Check the version of your Struts and API you have been using. Benjamin Shrom. Software Engineer. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott FitzgeraldSent: Tuesday, March 27, 2001 9:07 AMTo: [EMAIL PROTECTED]Subject: Compile

iPlanet and struts-config.xml

2001-03-27 Thread Anderson, Jessica
Where should the config file be put when implementing STRUTS with iPlanet? Thanks, Jessica

AW: iPlanet and struts-config.xml

2001-03-27 Thread Frank . Hossfeld
Which version of iPlanet ? cu Frank -Ursprngliche Nachricht- Von: Anderson, Jessica [SMTP:[EMAIL PROTECTED]] Gesendet am: Dienstag, 27. Mrz 2001 17:30 An: '[EMAIL PROTECTED]' Betreff: iPlanet and struts-config.xml Where should the config file be put when implementing

RE: Problem with unchecking check boxes

2001-03-27 Thread rhayden
Hi Pat, Thanks for the suggestion... it works perfectly!!! It was a little tricky to implement in my case because I have one or more ActionForms linked to another ActionForm and I can't fire the reset method in all at the same time- only when the screen is displayed for the specific ActionForm.

RE: iPlanet and struts-config.xml

2001-03-27 Thread Anderson, Jessica
Web Server - 4.1 sp6 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 9:31 AM To: [EMAIL PROTECTED] Subject: AW: iPlanet and struts-config.xml Which version of iPlanet ? cu Frank -Ursprngliche Nachricht- Von: Anderson,

RE: iPlanet and struts-config.xml

2001-03-27 Thread Anderson, Jessica
Same question for all TLD files... thanks. -Original Message- From: Anderson, Jessica [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 9:54 AM To: '[EMAIL PROTECTED]' Subject: RE: iPlanet and struts-config.xml Web Server - 4.1 sp6 -Original Message- From: [EMAIL

Re: using titles from an application resource file in my templates

2001-03-27 Thread Troy Hart
This doesn't work. In the case you show below, the title ends up being: "b bean:message key="publish.title" / /b" Troy Luckly someone answered this last week: template:put name="title" direct="true" b bean:message key="publish.title" / /b /template:put Troy Hart wrote:

RE: Estimating Projects with Struts

2001-03-27 Thread Kyle Robinson
We are using: JDK 1.3 Struts 1.0b1 Tomcat 3.2.1 Apache 1.3.19 Kawa 5.0 (Pro Edition) Win2000 Oracle 8.1.6 (Stored Procedure calls from JDBC) -Original Message- From: malcolm davis [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 22:39 To: [EMAIL PROTECTED] Subject: RE: Estimating

Re: Estimating Projects with Struts

2001-03-27 Thread Maya Muchnik
It is depending on how much your team are familiar with Struts. If you can explain or draw a good picture for page developers how to use the Struts tags, then to develop small screen - 1/2 day (from a scratch), big one - 1 week. Then your java developers need to make the Action and Form classes

RE: Estimating Projects with Struts

2001-03-27 Thread Kyle Robinson
Allaire's Kawa 5.0 http://www.allaire.com/products/kawa/index.cfm -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 09:25 To: [EMAIL PROTECTED] Subject: Re: Estimating Projects with Struts It is depending on how much your team are familiar

Oracle iAS 9i/Struts/BC4J

2001-03-27 Thread Darcy Schultz
We are starting to look at the possibility of combining these technologies and I would like to know if anyone has done this. It seems most are using Tomcat and Struts and I'm a little worried about using Struts with Oracle's Servlets and JSP implementation (which I believe is based on JServ).

Re: Oracle iAS 9i/Struts/BC4J

2001-03-27 Thread Maya Muchnik
Hi, Could you please give me a link to BC4J. I think all database companies application servers are very good from database point of view. They are good to get / put info to the database. I am not sure, that other interfaces are so good too. Maya Darcy Schultz wrote: We are starting to look

Re: Oracle iAS 9i/Struts/BC4J

2001-03-27 Thread Andrew Semprebon
- Original Message - From: "Darcy Schultz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 12:59 PM Subject: Oracle iAS 9i/Struts/BC4J We are starting to look at the possibility of combining these technologies and I would like to know if anyone has done this.

RE: Oracle iAS 9i/Struts/BC4J

2001-03-27 Thread Szlapa, Michael
OffTopic I've been using Oracle BC4J last spring. My experiences were rather bad - basically the product was very immature at that time, and I my opinion not ready for production use. /OffTopic Anyway, looking back I think it could work well with Struts. Struts could replace Oracle Components

Struts and j2ee.jar

2001-03-27 Thread Ted Bergeron
I have a very simple app running on struts/tomcat 4.0 beta/Solaris x86. It works fine, until I place j2ee.jar in my WEB-INF/lib directory. Now I get: javax.servlet.ServletException: Missing resources attribute org.apache.struts.action.MESSAGE on every page. Remove the jar, restart tomcat,

Re: html:errors

2001-03-27 Thread Martin Cooper
With the current implementation, the error key must have a value specified in a properties file. However, the actual message text can have up to four parameters. You specify the values for these in the ActionError constructor. This allows for parameterization of the resulting text, if not

no struts.tld - how does it work?

2001-03-27 Thread Maya Muchnik
Hi, struts-example (maybe other examples) does not have struts.tld file as a tag descriptor in web.xml. How does it work? Find all tags because this file is under WEB-INF? Thanks in advance. Maya

html:form ... does not retrieve values from the Request seems to contradict JavaDoc

2001-03-27 Thread Szlapa, Michael
I am new to the Struts and may be doing something wrong, but it seems like a legitimate problem. I would be very glad if someone could explain it. When I use html:form ... with explicitly defined name and type Struts seems to create a new bean object - the created HTML form has empty values.

Can I nest struts:message tag in struts:link tag?

2001-03-27 Thread JeanX
Hi struts-user, Can I nest struts:message tag in struts:link tag ? Because I want to setup some query parameter in resources. Thx :=) Best regards, JeanX pacificnet.com(GZ)

Re: Can I nest struts:message tag in struts:link tag?

2001-03-27 Thread Maya Muchnik
I have got the answer before, that you cannot nest tags. JeanX wrote: Hi struts-user, Can I nest struts:message tag in struts:link tag ? Because I want to setup some query parameter in resources. Thx :=) Best regards, JeanX pacificnet.com(GZ)

The Continuing Misadventures of Struts in WebSphere

2001-03-27 Thread Assenza, Chris
All - I'm begging for help here! :\ I have to get this working in WS tomorrow or we're going to drop using Struts in our app and that would THOROUGHLY suck. Here's the most detailed info I can provide - thank you all in advance. 1) Current Environment: - Development: JBoss 2.0 w/ Tomcat

Re: no struts.tld - how does it work?

2001-03-27 Thread Maya Muchnik
I have found the answer - struts.tld is for 0.5 version. Maya Muchnik wrote: Hi, struts-example (maybe other examples) does not have struts.tld file as a tag descriptor in web.xml. How does it work? Find all tags because this file is under WEB-INF? Thanks in advance. Maya

Re: The Continuing Misadventures of Struts in WebSphere

2001-03-27 Thread DONNIE HALE
Here's what someone posted to this list just yesterday: I have some additional information for anyone trying to run struts 1.0 based apps with WebSphere 3.5.2/3: There two main issues that have come up with the

Re: Can I nest struts:message tag in struts:link tag?

2001-03-27 Thread Martin Cooper
You can nest tags like this: html:link ... bean:message key="..."/ /html:link However, you can't use a tag to specify the value of an attribute of another tag. So you can't do this: html:link href='bean:message key="..."/' ... Hope this helps. -- Martin Cooper At 09:04 PM 3/26/01,

Re: The Continuing Misadventures of Struts in WebSphere

2001-03-27 Thread rbackhouse
Chris, The fact that you can't get the struts-example war to work in 3.5.3 seems to indicate that there is an environment problem. The message I posted yesterday was from the observations I made while getting the struts-example up and running on WebSphere 3.5.3 on Windows 2000. Here are the

Newbie datasource Q

2001-03-27 Thread JOEL VOGT
Hi all, Hopefully this is an easy question for somebody. In my struts-config I have the datasource data-sources data-source autoCommit="false" description="Access data source config" driverClass="sun.jdbc.odbc.JdbcOdbcDriver"

ActionForm with no default constructor

2001-03-27 Thread Joel Shellman
Is it possible to use an ActionForm with no default constructor? Can the form tag just get it out of my session? I want to grab the object from persistent store and put it in the session (on a previous page before they get to the form). Then when they actually access the page, the form can just

RE: using titles from an application resource file in my templates

2001-03-27 Thread Niall Pemberton
Have you included the bean TLD in your jsp? %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % -Original Message- From: Troy Hart [mailto:[EMAIL PROTECTED]] Sent: 27 March 2001 17:52 To: [EMAIL PROTECTED] Subject: Re: using titles from an application resource file in

RE: Can I nest struts:message tag in struts:link tag?

2001-03-27 Thread Niall Pemberton
When you say struts:message do you mean the 0.5 struts TLD, if so I don't know. I'm using struts 1.0 beta and you can do the following: html:link page="/something.do"bean:message key="x."//html:link -Original Message- From: JeanX [mailto:[EMAIL PROTECTED]] Sent: 27 March 2001

Re: Newbie datasource Q

2001-03-27 Thread Jim Richards
What specific operation are you trying to do? Since you don't have autocommit set to true, you may be having transaction problems. I found it helpful to create a Test.java file with the same operations as creating the datasource (with the same parameters), a connection and doing a sample

How do I forward an Action to another Action and back again

2001-03-27 Thread Greg Perrott
Please refer to the disclaimer statement below. ** What I want to do is: In all my action classes I want to check to see if something exists on the session and if not redirect to the user to my LogonAction. This

Installing Struts using WebLogic 6.0

2001-03-27 Thread Steven Leija
Hello All, I'm new to Struts and trying to get Struts installed, but running into problems setting up my xml files. Does anyone have instructions for installing struts using weblogic at my server? I'm having trouble understanding how to modify the web.xml file to include the necessary xml

RE: Newbie datasource Q

2001-03-27 Thread Kartik Sudarsan
i think the problem lies in your url. i have implemented datasource in my application using datasource and this is what my url looks like jdbc:oracle:thin:@sandstorm:1521:testdb here sandstorm is the name of the machine on which the database is and testdb is the global database name i

Re: A class loader observation

2001-03-27 Thread Craig R. McClanahan
On Tue, 27 Mar 2001, Jacob Thomas wrote: It seems to me that if struts.jar is loaded from either .../jre/lib/ext or WEB-INF/lib, then Struts will not be able to load classes (such as an application's ActionForm beans) from a different location (such as c:\export\java) specified as part of

Template -struts-template and generated HTML / templating using PUSH model

2001-03-27 Thread Vincent Harcq
Hi, 1. I am beginning to look at Templating mechanism and so use the example struts-template using version pre-beta-2 (23/03/01). The result is a strange for me. Can somebody explain me this. On the first page, when I look at the generated code (look at the end of message), I got something

Re: Newbie datasource Q

2001-03-27 Thread piyush raj jain
kartik! url depends on driver class used. piyush Kartik Sudarsan wrote: i think the problem lies in your url. i have implemented datasource in my application using datasource and this is what my url looks like jdbc:oracle:thin:@sandstorm:1521:testdb here sandstorm is the name of the