, 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
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
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
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
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
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
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
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
|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
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
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
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
-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?
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
...
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
- 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..
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
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
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.
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
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:
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
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
/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
: 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
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
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
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
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
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
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
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
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
?
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
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
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
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
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
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
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
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
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:
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
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
, 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
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
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
] [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
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
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
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
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
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?
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
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
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
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
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
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
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
60 matches
Mail list logo