Re: Introductory Struts Article / Tutorial / Reference page

2001-04-14 Thread Ted Husted
I'm unsure if you should mention using more than one controller at http://www.jspinsider.com/tutorials/jsp/struts/struts.html Typically, there is just one ActionServlet (controller), but several Actions. The text also seems to imply that Struts provides a model object, which may confuse

Re: Bean-applet support?

2001-04-14 Thread Jim Crossley
"Craig R. McClanahan" wrote: You might ask your staff to look inside the "commercial" pacakges they are using - they would probably be fascinated to find that the web server inside IBM's WebSphere is actually Apache (for example). Not to get too off-topic, but IBM didn't stop with Apache.

Re: logic:iterate questions

2001-04-14 Thread Jim Crossley
See below. "Craig R. McClanahan" wrote: 2) I have a bean that has a collection of Phone objects, accessible via its getPhones() method. Shouldn't I be able to return EITHER a Phone[] or a java.util.Collection? The following element works fine when a Collection is returned, but I get

Template tags

2001-04-14 Thread Olivier Houyoux
Hi, I'm using the template library to create a dynamic template for index pages that share the same format (see below). One of the pages (menu.jsp) that compose the template has a form which validation is handled by two components : the associated ActionForm object for the simple validation and

Serialize object to form.. class mismatch?

2001-04-14 Thread Michael Mok
Hi Young Wayne posted an previous in regards to getting version mismatch error when serializing class. I encountered similar problem when serializing my object as well. The errors are java.io.InvalidClassException: java.lang.Integer; Local class not compatible: stream classdesc

Pre populating a Form Bean

2001-04-14 Thread Tewathia, Atul
Title: Pre populating a Form Bean I want to pre-populate a formBean in this scenario. Jsp1 -- Jsp2 When I process the data of jsp1 using form1 in the perform method how do I set the form2 attributes .. so that the jsp2 is displayed with preloaded data. Can any body guide in this ??

Re: advantages of Struts

2001-04-14 Thread Ted Husted
I think the best discussion of "Why we need Struts" is summed up in Jason Hunter's. article regarding the difficulties with JSP Model 1 applications. http://www.servlets.com/soapbox/problems-jsp.html What all this boils down to is that Struts gives you a place to stand. Without a

The Struts User's Guide 1.0 translated in German language

2001-04-14 Thread Hartmut Bernecker
Einleitung in Struts 1.0 (German translation of "Struts User's Guide") URL: http://habweb.de/struts/ cheers Hartmut Bernecker // Hartmut Bernecker Heinrich-Rorbeck-Weg 30 73614 Schorndorf Tel. 0 71 81 / 25 75 39 Fax. 0 71 81 / 25 75 41 [EMAIL PROTECTED]

Re: The Struts User's Guide 1.0 translated in German language

2001-04-14 Thread Ted Husted
Ach du lieber! I suppose translation is also the sincerest form of flattery! (If you subscribe to Struts-Dev, you can watch for any CVS updates to the documentation ;-) Hartmut Bernecker wrote: Einleitung in Struts 1.0 (German translation of "Struts User's Guide") URL:

RE: Action Forms And Model objects

2001-04-14 Thread Niall Pemberton
JavaScript just makes the client side more interactive (which is good) but it doesn't reduce the need to do stuff server side since for safety you still need to repeat all the validation on the server side. -Original Message- From: Rajan Gupta [mailto:[EMAIL PROTECTED]] Sent: 14 April

RE: Action Forms And Model objects

2001-04-14 Thread Niall Pemberton
No, I don't agree with you. My model is unchanged, containing validation rules, whether I use my approach or standard Struts stuff. I wouldn't have any validation rules in ActionForms if a could help it except for the fact that, initially you need to store input as Strings so that you can

Re: select option

2001-04-14 Thread Tharwat Abdul-Malik
I'm a newbie to struts. In fact I just downloaded it yesterday (Friday) and thought I'd get involved. I built a very simple application last night. But I think the struts tags already selects the correct item. I use something like the following to display the items in a list. html:select

RE: select option

2001-04-14 Thread Nanduri, Amarnath
Hello Tharwat, Thank you very much for your help. cheers, Amar.. -Original Message- From: Tharwat Abdul-Malik [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 14, 2001 3:19 PM To: [EMAIL PROTECTED] Subject: Re: select option I'm a newbie to struts. In fact I just downloaded it

Re: Pre populating a Form Bean

2001-04-14 Thread Tharwat Abdul-Malik
Title: Pre populating a Form Bean Assuming that jsp2 will use the same data in the formBean, just stuff it in the request object in the perform method. Then jsp2 can use the bean. - Original Message - From: Tewathia, Atul To: '[EMAIL PROTECTED]' Sent: Saturday, April

Re: Pre populating a Form Bean

2001-04-14 Thread Rajan Gupta
I think u should be able to Populate it in the Action of JSP1. --- "Tewathia, Atul" [EMAIL PROTECTED] wrote: I want to pre-populate a formBean in this scenario. Jsp1 -- Jsp2 When I process the data of jsp1 using form1 in the perform method how do I set the form2 attributes .. so that

RE: Pre populating a Form Bean

2001-04-14 Thread Tewathia, Atul
Title: Pre populating a Form Bean Jsp1 and jsp2 use different forms and different data. -Original Message-From: Tharwat Abdul-Malik [mailto:[EMAIL PROTECTED]]Sent: Sunday, April 15, 2001 1:06 AMTo: [EMAIL PROTECTED]Subject: Re: Pre populating a Form Bean Assuming that

RE: Pre populating a Form Bean

2001-04-14 Thread Tewathia, Atul
Title: RE: Pre populating a Form Bean It can't be done in action of jsp1 because there is no reference to the form of jsp2. -Original Message- From: Rajan Gupta [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 15, 2001 6:53 AM To: [EMAIL PROTECTED] Subject: Re: Pre populating a Form

Re: Pre populating a Form Bean

2001-04-14 Thread Tharwat Abdul-Malik
Title: RE: Pre populating a Form Bean Does jsp1 forward to jsp2? If so, populate the bean in the perform method, stuff it in the request, the jsp2 can find it there. - Original Message - From: Tewathia, Atul To: [EMAIL PROTECTED] Sent: Sunday, April 15, 2001 12:46