Re: Error... Instanciate a new bean

2001-08-24 Thread Guus Holshuijsen
Take a look at the tag. If you use "homeForm" for the "name" property and one of the form's properties for the "property" property you're all set.   Example:   Regards, Guus - Original Message - From: stephane roro To: [EMAIL PROTECTED] Sent: Friday, August 24, 200

Re: session ids

2001-08-20 Thread Guus Holshuijsen
You can retrieve the current user's "session id" from the HttpSessionBindingEvent e using "e.getSession().getId()". Use this value to look up an entry in your hastable and remove it. The HttpSessionBindingEvent is generated when the session is invalidated (valueUnbound()) or created (valueBound()

Re: Validating a form

2001-08-20 Thread Guus Holshuijsen
Alexandre, The input attribute must be added to the action mapping as follows: where the "input" attribute should contain the name of the JSP you use to input for the requete action (I assumed it to be '/requete.jsp'). Regards, Guus - Original Message - From: "DUPRAT Alexan

Re: -tag problem

2001-08-17 Thread Guus Holshuijsen
Maybe you can use a tag. Regards, Guus - Original Message - From: "BinhMinh Nguyen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Anthony Xin Chen" <[EMAIL PROTECTED]> Sent: Friday, August 17, 2001 03:00 Subject: -tag problem > hi, > Here is my problem: > I have to use pre-populate m

Re: problem

2001-08-15 Thread Guus Holshuijsen
Are you sure that you have an "input" entry in your action mapping in your struts-config.xml file pointing to the JSP where you want to end up? If you don't provide an input entry you forward into the blueand not to the JSP where you expect to end up. You could also use the relative URL of you

Re: more than one parameter in a forward attribute in struts_config.xml

2001-08-15 Thread Guus Holshuijsen
Use "&" instead of "&." Regards, Guus - Original Message - From: "Langøren, Knut Harald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 10:42 Subject: more than one parameter in a forward attribute in struts_config.xml > Hi all ! > > We're trying to use th

Re: ABSOLUTELY WORLDS NO. 1 ..MEGA !

2001-08-15 Thread Guus Holshuijsen
I am not interested in this kind of spam! Please see to it that I won't recieve this again. - Original Message - From: "ENTERTAINMENT" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 00:43 Subject: ABSOLUTELY WORLDS NO. 1 ..MEGA ! > Dear Ladies & Gentlemen,

Re: Accessing JDBC-ODBC from Struts

2001-07-25 Thread Guus Holshuijsen
One of the - more complicated - solutions is to set up Java Naming and Directory services (JNDI, see the documentation that comes with JDK1.3). Using JNDI you can hide the details of connecting to your database(s) in a DataSource object you store in the naming service. Sun provides us with a "com.

Re: Problem with tag?

2001-07-23 Thread Guus Holshuijsen
The documentation for the tag states the following: "Retrieves an internationalized message for the specified locale, using the specified message key, and write it to the output stream. Up to five parametric replacements (such as "{0}") may be specified. The message key may be specified directl

Problem with tag?

2001-07-20 Thread Guus Holshuijsen
me" & "property" instead of "key"?   Regards, Guus   Guus Holshuijsen, VideturHorsten 1, unit 1.185612 AX Eindhoven The NetherlandsT:+31-40-2450214  F:+31-40-2939343  M:+31-6-25077204

HTTP requests in struts-config.xml

2001-07-20 Thread Guus Holshuijsen
d to handle these kind of requests in a forward in struts-config.xml? 2. If the answer to 1 is yes: am I doing something wrong, or did I run into a Struts bug? 3. If the answer to 1 is no: What's another option?   Regards, Guus   Guus Holshuijsen, VideturHorsten 1, unit 1.185612 AX EindhovenT:+31-40-2450214  F:+31-40-2939343  M:+31-6-25077204

Re: Displaying errors when validating forms (ActionErrors)

2001-07-18 Thread Guus Holshuijsen
;, > new ActionError("error.login.passwort.required")); > } > if (iSprache == null || iSprache.length() < 2 || > iSprache.equals("blank")) > { > errors.add("sprache", > new ActionError("er

Re: Displaying errors when validating forms (ActionErrors)

2001-07-18 Thread Guus Holshuijsen
Do you save your errors? // Report any errors we have discovered if ( !errors.empty() ) { saveErrors( request, errors ); } Regards, Guus - Original Message - From: "Hartmut Bernecker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 11:55

Re: unscribe me please!!!

2001-07-06 Thread Guus Holshuijsen
To remove your address from the list, send a message to: <[EMAIL PROTECTED]> - Original Message - From: "Chittajallu, Vamsi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 14:35 Subject: unscribe me please!!! > can you please unscribe me from the mailing lis

Checked radio buttons

2001-07-06 Thread Guus Holshuijsen
I'm trying to find out if it is possible to set a radiobutton to checked using the HTML tag library. The documentation does not describe it.   Regards, Guus   Guus Holshuijsen, VideturHorsten 1, unit 1.185612 AX Eindhoven The NetherlandsT:+31-40-2450214  F:+31-40-2939343  M:+31-6-25077204

Problem upgrading from struts-1.0-b1 to struts-1.0

2001-07-06 Thread Guus Holshuijsen
tallation notes several times to see if I overlooked something, but found nothing wrong. Does anyone have a suggestion? (In the mean while I'll just add the Struts source to my project and debug through it.)   Regards Guus   Guus Holshuijsen, VideturHorsten 1, unit 1.185612 AX Eindhoven T