RE: question about struts

2003-06-20 Thread Sandeep Takhar
, 6 June 2003 14:18 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: question about struts Hi David, thanx 4 the suggestion...actually i was thinking on either use a plugin or extending action servlete. but i m left out with one issue: where actually do i have

RE: question about struts

2003-06-20 Thread Craig R. McClanahan
On Fri, 20 Jun 2003 [EMAIL PROTECTED] wrote: Date: Fri, 20 Jun 2003 14:42:50 +0300 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: question about struts Hi, The ActionServlet has a reference

Re: question about struts

2003-06-06 Thread David Graham
You can use a Struts PlugIn to initialize your components and store them in the ServletContext. David hi all, i have been working with JSP model 2 for few years, and now i want to move to struts. i am starting to get acquainted with it, and i need help to face this situation. in my mvc, i am

RE: question about struts

2003-06-06 Thread Bailey, Shane C.
I just posted (yesterday) a code example of how to extend the ActionServlet. It is a piece of cake: http://marc.theaimsgroup.com/?l=struts-userm=105476124906048w=2 And I found another post while looking for mine: http://marc.theaimsgroup.com/?l=struts-userm=100500141726722w=2 And here is a

RE: question about struts

2003-06-06 Thread Marco.Mistroni
and regards marco -Original Message- From: ext David Graham [mailto:[EMAIL PROTECTED] Sent: 05 June, 2003 17:28 To: [EMAIL PROTECTED] Subject: Re: question about struts You can use a Struts PlugIn to initialize your components and store them in the ServletContext

RE: question about struts

2003-06-06 Thread Andrew Hill
there. The plugin itself doesnt need to be stored as its job is just initialisation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 14:18 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: question about struts Hi David, thanx 4

RE: question about struts

2003-06-06 Thread FrenzyGNX
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 14:18 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: question about struts Hi David, thanx 4 the suggestion...actually i was thinking on either use a plugin or extending action servlete. but i m left out

RE: question about struts

2003-06-06 Thread Andrew Hill
Message- From: FrenzyGNX [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 14:52 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: question about struts I use an initialization servlet to establish db and EJB server connections. How does it compare to PlugIn approach? Thanks

RE: question about struts

2003-06-06 Thread Navjot Singh
|Subject: RE: question about struts | | |The differences are not much - both are probably equally usuable in this |case. | |The advantages to using the struts plugin are that it gives you access to |struts configuration information, and that you can control the order in |which your plugins

Re: question about struts

2003-06-06 Thread Erik Price
Andrew Hill wrote: The differences are not much - both are probably equally usuable in this case. The advantages to using the struts plugin are that it gives you access to struts configuration information, and that you can control the order in which your plugins are initialised from

Re: question about struts

2003-06-06 Thread Craig R. McClanahan
On Fri, 6 Jun 2003, Erik Price wrote: Date: Fri, 06 Jun 2003 10:36:40 -0400 From: Erik Price [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: question about struts Andrew Hill wrote: The differences

Re: Question about Struts and HttpSession management

2003-03-13 Thread Michael Hanisch
On Thu, 2003-02-27 at 14:36, Heligon Sandra wrote: I realize that this was sent a long time ago, but as I haven't seen any other replies I figured that I might just as well say something... I know the definition of a HttpSession but I don't understand well how this object is

RE: Question about struts-example struts-config.xml

2003-02-03 Thread PILGRIM, Peter, FM
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] On Fri, 31 Jan 2003, Wendy Smoak wrote: ----- As for working on the example... would any changes have a chance of getting committed before 1.1 final, or should I just wait until that's finished?

Re: question re. struts

2003-02-03 Thread Sundar Narasimhan
You don't have a form here - where are you using PointForm? The code should be something like - assuming you're using struts 1.0.x: execute (... mapping, ... form, ... request, ... response) { form = new FooBarBlahForm(); ... // Get model object ...

Re: question re. struts

2003-02-02 Thread Paul Linden
Sundar Narasimhan wrote: Hi, I have a master form that displays a bunch of object. I'd like for the user to select a radio button corresponding to one of those objects and then click Edit. The editaction should obviously display a form corresponding to the selected object. What I'm failing to

Re: question re. struts

2003-02-02 Thread Sundar Narasimhan
- set each individual attribute of my model into request parameters Why would you do this if you have the form bean from the previous step? Hi, Paul: Thanks for your thoughtful reply. Your above statement is what I guess I'm having trouble with. (i.e. if I have a Point model object..

Re: question re. struts

2003-02-02 Thread Craig R. McClanahan
On Sun, 2 Feb 2003, Sundar Narasimhan wrote: What I would have liked to be able to do is.. class PointForm extends Point implements SomeStrutsFormInterface { } in cases where this is possible. The advantage of this is that it still maintains and allows for the *Form

Re: question re. struts

2003-02-02 Thread Sundar Narasimhan
You should really go back through some of the archives to review the pro and con arguments; and (among other things) you will find that I am adamantly against what you propose -- it would encourage people to reuse the wrong thing for the wrong reasons. Craig -- thanks for your response. Will go

Re: question re. struts

2003-02-02 Thread Paul Linden
Sundar Narasimhan wrote: - set each individual attribute of my model into request parameters Why would you do this if you have the form bean from the previous step? Hi, Paul: Thanks for your thoughtful reply. Your above statement is what I guess I'm having trouble with.

Re: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 09:49:15 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: Question about struts-example struts-config.xml This appears

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Wendy Smoak
Craig wrote: Again, that's a carryover from the 1.0 (pre-dynabeans) approach. We should definitely clean this up to avoid confusion. I hate to complain, but the example really is confusing. It also has a bunch of code that makes you think you need to instantiate ActionForms yourself:

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Wendy Smoak
Craig wrote: For this specific case, there is no reason to have a LogonForm class at all, because the default behavior of a DynaValidatorForm (which is a DynaActionForm plus using the validator framework to define validation rules) does everything you need. Wow... I just deleted the

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 10:50:56 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question about struts-example struts-config.xml Craig

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Sri Sankaran
/snip Confused again. (I will need a custom validate method.) How does Struts know to start with my class that extends DynaWhateverForm and add the stuff in the form-bean tag to it, rather than creating a new one? Would it be: form-bean name=logonForm

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Vinh Tran
: Friday, January 31, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Question about struts-example struts-config.xml Craig wrote: For this specific case, there is no reason to have a LogonForm class at all, because the default behavior of a DynaValidatorForm (which is a DynaActionForm

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 11:14:25 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question about struts-example struts-config.xml Craig

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Kris Schneider
: RE: Question about struts-example struts-config.xml Craig wrote: Again, that's a carryover from the 1.0 (pre-dynabeans) approach. We should definitely clean this up to avoid confusion. I hate to complain, but the example really is confusing. Don't feel bad!!! None

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Wendy Smoak
Actually, there *is* a case when form will be passed as a null -- if someone were to modify the struts-config.xml entry for this action, and accidentally (or on purpose) remove the name or attribute attribute. Then, the controller servlet would assume that no form bean needs to be created, so

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 12:56:54 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question about struts-example struts-config.xml

RE: Question about Struts-EL and JSTL

2002-12-05 Thread Karr, David
It's because of the indexed attribute on tags inside the logic:iterate element. That won't work (I believe) with c:forEach. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 1:31 PM To: 'Struts Users Mailing List' Subject: Question

Re: Question about Struts-EL and JSTL

2002-12-05 Thread V. Cekvenich
indexed tag for multi row updates and master/detail forms processing and dito validator. Wendy Smoak wrote: The README for Struts-EL says every Struts tag that provides a feature that is not covered by the JSTL (1.0) library is mapped into the Struts-EL library. Why was the logic-el:iterate

Re: Question regarding Struts and Weblogic 7

2002-10-18 Thread Thomas A. Cook
If I'm not mistaken, WebLogic started enforcing more strictly section 7.3.4 of the JSP 2.0 spec (see also section 3.2). In your struts-html.tld file, try adding urihtml/uri and see what happens. Wiener, Ed wrote: Sorry, my original message contained a couple of inaccuracies. Please ignore

Re: Question regarding Struts and Weblogic 7

2002-10-18 Thread Kris Schneider
There shouldn't be any reason to edit the Struts TLD files. I'm running 1.0.2 just fine on WLS 7.0. Personally, I'd recommend blowing the TLD files away completely (they're already packaged in the struts.jar file) and using their standard URI values: %@ taglib prefix=bean

RE: Question regarding Struts and Weblogic 7

2002-10-18 Thread Wiener, Ed
? Ed -Original Message- From: Kris Schneider [mailto:kris;dotech.com] Sent: Friday, October 18, 2002 6:47 AM To: Struts Users Mailing List Subject: Re: Question regarding Struts and Weblogic 7 There shouldn't be any reason to edit the Struts TLD files. I'm running 1.0.2 just fine on WLS

RE: Question regarding Struts and Weblogic 7

2002-10-18 Thread Kris Schneider
Schneider [mailto:kris;dotech.com] Sent: Friday, October 18, 2002 6:47 AM To: Struts Users Mailing List Subject: Re: Question regarding Struts and Weblogic 7 There shouldn't be any reason to edit the Struts TLD files. I'm running 1.0.2 just fine on WLS 7.0. Personally, I'd recommend blowing

Re: Question about Struts and XSL

2002-07-29 Thread Jeff Pennal
Josh, stxx (http://www.openroad.ca/opencode/stxx) may be able to help you with your problem. stxx allows you to take the output of an Action class and process it through an XSL file to get the final HTML output, giving you the choice of bypassing the JSP taglib specific code of a normal

Re: Question about Struts and XSL

2002-07-28 Thread John Owen
Thanks, but I have successfully developed several struts-based applications. My problem is xsl-specific. _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Question about Struts and XSL

2002-07-27 Thread Eddie Bush
That's a pretty terse description of your problem :-) I would build a simple test application first off - get familiar with the functionality Struts offers. Be sure you make reference to the chapters Chuck put up for review on theserverside.com! I think what you will find (unless I miss my

Re: Question about Struts and XSL

2002-07-27 Thread @Basebeans.com
Subject: Re: Question about Struts and XSL From: Vic C [EMAIL PROTECTED] === You can use JSTL (Standard Tags) X: transform tag, it works nice with Struts for me ( I store XML content in DB and use X: transform tag ) v. John Owen wrote: I inherited an application that uses a Model-1 MVC

Re: Question regarding struts html tags

2002-02-26 Thread Andrew . Goodnough
I had exactly the same problem recently because there is no checked option on a html:radio tag. Originally, this made no sense to me but became clearer when I understood how forms work in Struts and that the current value of the property sets the checked option. But there is still the problem

RE: Question regarding struts html tags

2002-02-26 Thread Juan Alvarado \(Struts List\)
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 3:56 PM To: Struts Users Mailing List Subject: Re: Question regarding struts html tags I had exactly the same problem recently because there is no checked option on a html:radio tag. Originally, this made

Re: Question regarding struts html tags

2002-02-26 Thread dhay
READ THE ARCHIVES - has come up lots. Struts will pick up the value from the bean. Dave Juan Alvarado [EMAIL PROTECTED] on 02/26/2002 03:20:32 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:

Re: Question regarding struts html tags

2002-02-26 Thread dhay
This is taken care of if you link only to actions which prepopulate your form bean. Dave [EMAIL PROTECTED] on 02/26/2002 03:55:59 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re: Question

RE: Question on Struts debugging - one more time

2002-01-15 Thread Keith Bacon
PROTECTED]] Sent: Wednesday, January 09, 2002 8:54 AM To: Struts Users Mailing List Subject: Re: Question on Struts debugging - one more time I've not had better luck. I think it's the way it is. Here's how I do it - I'd like to know how others do. I use hundreds of log messages so

RE: Question on Struts debugging - one more time

2002-01-15 Thread Rick Horowitz
, 2002 8:54 AM To: Struts Users Mailing List Subject: Re: Question on Struts debugging - one more time I've not had better luck. I think it's the way it is. Here's how I do it - I'd like to know how others do. I use hundreds of log messages so I can trace

Re: Question on Struts debugging - one more time

2002-01-15 Thread dion
Rick Horowitz wrote: I tried switching from JBuilder to NetBeans but found NetBeans too slow - on a 400Mhz XEON with 512MB RAM. I'm running a PIII 1Ghz with 512MB on Mandrake and NB 3.3 is fine for meI've also had Eclipse running on it, but at the moment Eclipse is 'flakier' than NB by

RE: Question on Struts debugging - one more time

2002-01-15 Thread Sandeep Takhar
if there was a way to diagnose such problems. Erich -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 8:54 AM To: Struts Users Mailing List Subject: Re: Question on Struts debugging - one more

RE: Question on Struts using FDFDoc (PDF file)

2002-01-14 Thread Jesse Alexander (KADA 12)
] [mailto:[EMAIL PROTECTED]] Sent: Freitag, 11. Januar 2002 23:51 To: Struts Users Mailing List Subject: Re: Question on Struts using FDFDoc (PDF file) [EMAIL PROTECTED] on 01/11/2002 02:27:39 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc

RE: Question on Struts debugging - one more time

2002-01-13 Thread Sandeep Takhar
if there was a way to diagnose such problems. Erich -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 8:54 AM To: Struts Users Mailing List Subject: Re: Question on Struts debugging - one more time I've not had better luck. I

Re: Question on Struts debugging - one more time

2002-01-09 Thread Keith Bacon
I've not had better luck. I think it's the way it is. Here's how I do it - I'd like to know how others do. I use hundreds of log messages so I can trace the flow of my program. I make the method calls for logging easy to type - dbmd(a debug msg) or dbmw(warning message). I code traces into

RE: Question on Struts debugging - one more time

2002-01-09 Thread Kilmer, Erich
such problems. Erich -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 8:54 AM To: Struts Users Mailing List Subject: Re: Question on Struts debugging - one more time I've not had better luck. I think it's the way it is. Here's how I do it - I'd

RE: Question about struts and list caching?

2001-07-30 Thread Zeltser, Mark
Alex, Did you try to set init param for ActionSerlvet to true for nocache tag? -Original Message- From: Alex Colic [SMTP:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 10:06 AM To: Struts Subject: Question about struts and list caching? Hi, hope someone can help me out

RE: Question about struts and list caching?

2001-07-30 Thread Alex Colic
PROTECTED] From: Zeltser, Mark [EMAIL PROTECTED] Subject: RE: Question about struts and list caching? Message-ID: [EMAIL PROTECTED] Alex, Did you try to set init param for ActionSerlvet to true for nocache tag?

RE: Question in struts

2001-07-03 Thread Jon.Ridgway
Hi Suhas, Yes your approach seems fine. A form bean in struts is a bean that extends ActionForm and is used in HTML forms to capture and validate user input. This bean is then passed to an Action class for processing. The action class can either store results in the form bean or a

Re: question about struts

2001-04-13 Thread Craig R. McClanahan
On Wed, 11 Apr 2001, Stanley Tan wrote: Dear Sir, I believe that if you downloaded the Struts framework, then you have already downloaded the documenation. Let's say you unzipped Struts at c:\jakarta-struts-1.0-b1. If you go to c:\jakarta-struts-1.0-b1\webapps, you'll see a file

Re: question about struts

2001-04-11 Thread Stanley Tan
Dear Sir, I believe that if you downloaded the Struts framework, then you have already downloaded the documenation. Let's say you unzipped Struts at c:\jakarta-struts-1.0-b1. If you go to c:\jakarta-struts-1.0-b1\webapps, you'll see a file called struts-documentation.war. Copy this file to

Re: question about struts

2001-04-11 Thread Rajan Gupta
You should be able to download that with the package itself. But you will have to move the war file in your webapps directory restart your server --- bommaku murali [EMAIL PROTECTED] wrote: From: "ravi konam" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL

Re: Question about struts application model (DataSource, Business Logic beans)

2001-03-13 Thread Ted Husted
My problem is that access to the DataSource is through the servlet.findDataSource() call. Struts stores the JDBC Connection pools as servlet context attributes (in JSP terms, application-scope beans). You can also access them that way. If you do not specify a name in the Struts-config file, it

Re: Question about struts application model (DataSource, Business Log ic beans)

2001-03-12 Thread Michael McCallister
I resolved this by creating two pieces: First is a class in your business logic package that manages the context required by the business logic beans. This class should be a Singleton and should manage access to resources needed by your business logic beans such as configuration parameters

Re: Question about struts application model (DataSource, BusinessLog ic beans)

2001-03-12 Thread Craig R. McClanahan
On Mon, 12 Mar 2001, Carles Pi-Sunyer wrote: Hi, I'm using Struts for a new application that I'm developing. I have a question about the separation between the Action classes and the Business Logic beans. My Business Logic beans are making database accesses to manipulate the