Hi,
I'm trying to build a small pilot application with Struts.
My ultimate goal is a dynamic web application with
intensive use of database.
My database is Oracle 8.
The problem is following:
in 'LoginAction' I set up a database connection
(java.sql.Connection variable) with Oracle
On Thu, 13 Jun 2002, Arron Bates wrote:
Date: Thu, 13 Jun 2002 14:14:13 +1000
From: Arron Bates [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Nested Tags question
I know JSP will automatically
Using the request scope can be troublesome to say the least.
In my app I obtain an object (via an abstraction layer) from the j2ee side
and I need to present certain properties of it in the form (via the action
form), and then when the request comes back in from this form I need to
compare
Also, how do we deal with the situation where we need to build up
information over a series of requests before we can actually save it or do
something with it (ie: wizards etc...)
In reply to an earlier post regarding something similar, my idea is to encapsulate the
information required for the
But when I serached for the methods like setPrimaryWorkflow, setNewState(),
and setNextState() in SuccessAction class or GenericAction class,
I couldn't.
where are these methods data members defined.
It is the class ApplicationMapping, these methods are defined in. You also need
to tell
Subject: Re: tile config using tileplugin?
From: Torgeir Veimo [EMAIL PROTECTED]
===
Cedric Dumoulin wrote:
Tiles plugin is not available yet. I have started to implement it, but haven't
finalize it. It is an error that it appear in the distribution ;-(. Certainly a
commit done late in the
hi,
Has anyone used nested:text tag, or any other tag like nested:checkbox
etc ?
Can anyone provide any info. on it
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
To unsubscribe, e-mail:
Yeah I have tried out most of the nested tags. What kind of info r u
looking for.
-Original Message-
From: Radhika Nadkarni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:34 PM
To: [EMAIL PROTECTED]
Subject: nested tags doubt by radhika
hi,
Has anyone used nested:text tag,
Georges,
It is not recommended that you place the Connection in the users session.
This is a potential hazard which can cause lots of open connections to the
database.
It is also not recommended that you have database interaction directly in
your Action classes. Its best to encapsulate database
hi,
wat is the diff. between nested:text and html:text tags ??
Help reqd. urgently
From: Radhika Nadkarni [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: nested tags doubt by radhika
Date: Thu, 13 Jun 2002 09:04:15 +
hi,
Has anyone
I want to have a serially numbered table.
I have a formbean which contains an array of objects which I'm going to
display.
I don't want to save the numberes in these objects.
So in the formbean I wrote a getId() and a setId(int i) method.
The formbean holds a counter which gets increased when
nested:text is based on html:text but has added functionality to allow
you to nest the tags to reflect beans nested in the formbean, like
Russian Dolls. Check out the archives here, check out the tutorials at
www.keyboardmonkey.com
Adam
Radhika Nadkarni [EMAIL PROTECTED] schrieb am 13.06.2002,
So Craig,
does the process work at submit time (when the request parameters are
being put into the nested beans) via calls to the getter methods to get
the beans on which the parameters have to be set?
I can't see how else it would work.
Adam
Craig R. McClanahan [EMAIL PROTECTED] schrieb
Struts 1.1b1 give us a chance to customize an ActionMapping in a per action
basis rather than doing it for the whole app in web.xml. Just place in your
action definition in struts-config something like:
action path=/
type=..
You might take a look at the Artimus example application.
http://husted.com/struts/resources/artimus.zip
This doesn't use custom Actions classes for most operations, and the
ones I did use were mostly for show. There's a single framework Action
that calls a business operation, the same way the
Your are right. This is exactly the place where the setters are located.
Andre Beskrowni wrote:
i thought that the usage of set-property below required the
*ActionMapping*, not the Action, to have the appropriate setters.
certainly it works if you specify an ActionMapping that has the
Hi,
can I mix
servlet-classorg.apache.struts.tiles.ActionComponentServlet/servlet-class
and my own RequestProcessor with Tiles and Struts 1.1?
Do I have the full functionality of Tiles while keeping the
functionality of my own RequestProcessor?
Or, questioned the other way round: Do I need
- Original Message -
I want to have a serially numbered table.
I have a formbean which contains an array of objects which I'm going to
display.
I don't want to save the numberes in these objects.
So in the formbean I wrote a getId() and a setId(int i) method.
The formbean holds a
On Fri, 2002-06-07 at 12:18, [EMAIL PROTECTED]
wrote:
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 22:26
To: Struts (E-mail); Servlets (E-mail); J2ee (E-mail)
Subject: Java Website ISP
I fired my ISP yesterday for refusing to support
You need the TilesRequestProcessor and ActionComponentServlet with Struts1.1.
ActionComponentServlet takes in charge Tiles initialization.
TilesRequestProcessor takes in charge Struts forward catching.
You can have your own request processor extending the Tiles one, allowing
Hi,
yes this helped.
If I extend TilesRequestProcessor I only have to call the super methods
first and then do my stuff?
Thanks,
Udo
Cedric Dumoulin wrote:
You need the TilesRequestProcessor and ActionComponentServlet with Struts1.1.
ActionComponentServlet takes in charge Tiles
The solution given below does not work for the case I described. jsType.jsp
defines one form with several masked field validations.
The example I'm having difficulty with is multiple forms with multiple
fields with masked field validation which causes the Struts Validator to
generate multiple
Udo Walker wrote:
Hi,
yes this helped.
If I extend TilesRequestProcessor I only have to call the super methods
first and then do my stuff?
Yes. But only for methods you overload (like init(...), doInclude(...),
doForward(...)). Otherwise don't care about them.
Cedric
Thanks,
what about what's shown at the following URL:
http://home.earthlink.net/~dwinterfeldt/revision.html
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 6:02 PM
To: Struts Users Mailing List
Subject: Re: JavascriptValidatorTag and
I tend to agree on this. I have only done a few things in struts, but
have been programming for quite a while. The idea of pumping everything
out in seperate development projects just out right scares me. If this
was to have any chance of working out you would need:
(1) A horrendous
It is definitely a problem with WL6.1 SP2... it has to do with the method
commons-logging uses to find the default classloader. I haven't quite
figured out what to change, but it's picking the wrong classloader.
Putting it in the ear will not work. commons-logging.jar must be in the
Weblogic
Hello everybody,
This is newbie question. I have a form with the number of textfields on it
which are known at runtime only, i.e. depend on the search result on DB.
Could anyone send me sample code for this, on how to get the values from the
forms (in the Formbean) as well as set vaues in it on
Hi Niall,
Thank you very much,
My first question is Enabling calling) the reset method to an image that is
in jsp. javascript:document.this.reset() is called on image but not
working.
and I tried with several options by replacing this with form and myForm,
But
none of them are successful..
In
As an 'old mainframe programmer' I resent this. (:-)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts Design/construction process. question
I tend to agree on this. I have only
Subject: Re: Dealing with many JSP files with one Action
From: Eric Rizzo [EMAIL PROTECTED]
===
Niall Pemberton wrote:
I'm sure you can do something more intelligent than duplicating the whole
set of jsps for each different language. If the problem is that you need
different images for
I'd like to apologize for that comment... I did not mean it as a bad
thing...
I guess I just liken the old mainframes with the old programming
methodologies that involved tons of upfront planning and an pretty
unflexible design once programming started. Back when the project
delivery times
Hi,
I have a problem in using logic:equal tag given below
logic:equal name=beaninstance property=method value=A
DO SOME.
/logic:equal
This code is working fine when it is not null. But when ever it {
beaninstance.getMethod() }
is becoming null, page is getting exception as below...
I think that if I use DispatchAction with ValidatorActionForm I will have
the same problem. How can I validate the form for diferents methods in the
same Action ? Am I wrong ?
Thanks,
William.
From: David Winterfeldt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To:
logic:present name=beaninstance property=method
logic:equal name=beaninstance property=method value=A
DO SOME.
/logic:equal
/logic:present
-Original Message-
From: Yaman Kumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:40 AM
To: Struts Users
DispatchAction has a lot of things to improve on...use of declarative
exceptions is one...then there's this issue you brought up about the
validator...you may have to do programmatic validation to provide different
validation rules for each method in the DispatchAction for now..
-
William W
Hi Yaman,
Try checking for that property first using a logic:present
logic:present name=beaninstance property=method
logic:equal name=beaninstance property=method value=A
DO SOME.
/logic:equal
/logic:present
Regards
Raj
-Original Message-
Is it possible ?
Use boolean in the depends property ?
field property=password
depends=method OR required
arg0 key=typeForm.password.displayname/
var
var-namemethodName/var-name
var-valueupdate/var-value
/var
/field
From: William
Yeah, those were the days (sigh). I suspected that was what you meant, but
couldn't resist.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts Design/construction process. question
Is anyone successfully using the DispatchAction with html:image tags???
Jason Rosenblum (SCJD)
Contractor
ProAct Technologies
914.872.8171 (Voice)
914.872.8100 (Fax)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Subject: Form bean factory
From: Eric Rizzo [EMAIL PROTECTED]
===
Is there any strategy for having a factory class/method that generates
the ActionForm instances? Instead of hard-coding a class name in my
struts-config.xml and having Struts call newInstance() on that class,
I'd rather be
Hi All,
I justed wanted to see what the genral feeling is about using DYNAFORMBEANS
instead of plain old Action Forms, in terms of
-- using them with a validator
-- transferring the data to a value object aka data tranfer object to hsip
it to the next layer
(what is the preferred approach to
If all the options are going to have the same name, then this should
work
logic:iterate id=anOption name=myFormBean property=options
html:text name=anOption property=options size=2/
/logic:iterate
Since each element is a String, the tag will just that instead of making
a property call.
I
I haven't to date, but definitely will in my next
project so I have done some research on it.
From what I can tell neither DispatchAction nor
LookupDispatchAction will support this out of the box,
but there is a pretty simple modification that can be
made to DispatchAction to make it work.
I
On Thursday, June 13, 2002, 11:03:04 AM, Rajesh wrote:
RK I justed wanted to see what the genral feeling is about using DYNAFORMBEANS
RK instead of plain old Action Forms,
I'm loving them. Chuck has shown me the light:)
You should read this chapter here
At 11:07 AM +0200 2002/06/13, Sann, Stephan wrote:
Hello list,
I'm new with Struts and this list so please bear with me.
After I read a lot of tutos, howtos, manuals and mailing-list-posts
I've got two questions left (for now):
1.) How can I add a static parameter to an html:link-Tag?
I read
Subject: Re: thread safety
From: srinivas sunkara [EMAIL PROTECTED]
===
Irrespective of the frombean being in the session scope or a DVO being
in a session the threading issues are still the same. The two ways you can
resolve them is to have your form bean or formbean and DVO in request scope
There is an example of this in the Validator example
webapp in the type.jsp page in the nightly builds
using an ArrayList, but I believe everything should
work for an array too (or you could use
java.util.Arrays to convert to a Collection if you
need to).
web/validator/WEB-INF/validation.xml
You can't use booleans in the depends, but there can
be dependencies setup between validation routines.
You can make a method check pluggable validator and
have required and other validator depend on it.
Although the default configuration has everything
depend on required so if required depends
Where do we define where the view gets forwarded to by the ActionServlet when we
encounter
validation errors from an ActionForm in the struts-config.xml file? Or do we not need
to do that at all
and the original view gets selected and uses the html:errors/ tag which displays the
errors in
There isn't a way currently. Could you file a
bug/enhancement a on this in buzilla? That way your
request won't get lost.
David
--- Alok Ghosh [EMAIL PROTECTED] wrote:
Hi,
IM Dying to find out if this is possible, and if I
can do this.
I am running the new struts validation that uses
Sorry, there isn't a way to change this now. You
could file it in bugzilla as a feature request.
David
--- [EMAIL PROTECTED] wrote:
The solution given below does not work for the case
I described. jsType.jsp
defines one form with several masked field
validations.
The example I'm having
On Thu, 13 Jun 2002 [EMAIL PROTECTED] wrote:
Date: Thu, 13 Jun 2002 11:43:59 +0200
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Re: Nested Tags question
So Craig,
does the process work at
Dont have to answer this.
Sorry, for posting it. Got the answer - Chuck's Chapter 7 talks about it. Thanks.
Muki Soomar
Where do we define where the view gets forwarded to by the ActionServlet when we
encounter
validation errors from an ActionForm in the
Good Morning/Afternoon/Evening
Environment: Struts 1.1Beta, Log4J1.2, Tomcat4.0.3
Issue:
My experiment has 2 stages and it involves reversing the order of Servlet Loading.
I have 2 servlets in my web.xml.The first to load is the StartupServlet that starts
Logging mechanism
I saw this thread and thought...great, flame war..., but you guys are too
nice.
IMHO I suggest you learn from the guru before trying this next time:
http://www.IamMarkGalbreath.org/FlameWar/HowTo/AnnoyTheHellOutOfEveryone
Niall
P.S. 'old (35?) mainframe programmers' on this list must have
-Original Message-
From: James Young [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Who is Ralph Roland?
Ralph,
Would you mind to briefly describe what particular
precautions one has to take to upgrade from Struts 1.0
to
What's a DVO?
On Thu, Jun 13, 2002 at 12:56:38PM +0530, Vikram Goyal01 wrote:
Also, how do we deal with the situation where we need to build up
information over a series of requests before we can actually save it or do
something with it (ie: wizards etc...)
In reply to an earlier post
a DVO is a data value object. Look at the design pattern from sun, there
they are described
Am Don, 2002-06-13 um 18.56 schrieb Noah Levitt:
What's a DVO?
On Thu, Jun 13, 2002 at 12:56:38PM +0530, Vikram Goyal01 wrote:
Also, how do we deal with the situation where we need to build up
Hard to believe there was a time when Cobol ruled the universe and programs
were designed in a 'top-down' fashion isn't it? And as an old (actually
40+) mainframe programmer who is trying to make the transition from the
non-object world of Cobol and (gasp here) assembler to the object-oriented
Hello everyone,
I'm a beginner for Struts and can't still figure out how to do simple
things with the framework.
My difficulties are generally related with MVC, I think.
For traning, I want to accomplish probably the easiest dynamic page for
a web application: a page that shows some portion of
I'm dying to use Easy Struts for Eclipse, but am hesitant to go to Eclipse
2.0. Is the F2 release stable yet? The last time I tried it I couldn't get
anything to work
Jerry
-Original Message-
From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 5:36 AM
We may be heading off topic here... I started out at the tail end of
that era... I swore an oath that I would never work on a mainframe and
managed to avoid COBOL, RPG, JCL, Mainfram Assembler, Fortran except in
school...
Now back our regularly scheduled topics
MAINFRAMES SUCK! (Happy
Yeah, you can. That's why their called 'Enterprise Servers' now-a-days.
(:-)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 12:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Struts Design/construction process. question
We may be heading
core dumps, anyone?
:)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:35 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts Design/construction process. question
We may be heading off topic here... I started out at the tail end
Hi Guys,
Can anyone help clarify or confirm the relationship between an HttpSession
and a web application? I mean, can two WAR (two application) share one
common HttpSession and whatever resource this HttpSession contains?
My understanding is that if WARs are deployed separately, then there will
At my knowledge, under tomcat each webapp have his own
memory space so you can't share HttpSession between
2 webapp. You can share object between 2 webapp with
one condition, the class to be shared must be loaded
in same ClassLoader.
Did you understand my english ;)
-Emmanuel
--- Yuan,
Good :)
I will try !!!
Thanks !
WIlliam.
From: David Winterfeldt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Date: Thu, 13 Jun 2002 09:04:56 -0700 (PDT)
You
Is anyone successfully using the DispatchAction with html:image tags???
We have this Dispatch Action:
package dhs.vcm.vis.action.finishReason;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import
This is something I've wondered about, especially in a team development
environment where there are several programmers working on different webapps
that need to share a common framework - in other words, something like this:
Tomcat\webapps
framework-application
Unless you are submitting the request from a form you do not need an
actionform that I know of.
If you are always displaying the same list i think you want to:
Invoke the action
The actions perform method should get a collection of beans representing
each row in the database.
You then
It seems as though the majority of times your ActionForms should use
request scope, but what about situations where you might grab data
from one jsp form and then need to use the information you got from
that page during other parts of your application. Here's the actual
situation...
1) user has
You can with this :
Foo foo = ...
HttpSession session = request.getSession();
session.setAttribute(foo,foo);
getServlet().getServletContext().getContext(/webapplication1).forward(request,reponse);
But Foo.class must be
When I started with Struts a few months ago, a colleague sent me these links
to review.
There is lots of information here.. but the one thing that really helped
everything click were the diagrams.
Main link:
http://gallery.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/struts
Hi,
About Eclipse, no problem, F3 was released today. This
is the last stable release.
...or you can wait for June 28, official release date
for Eclipse 2 ;)
more information about release plan :
http://www.eclipse.org/eclipse/freeze_plan_2_0.html
-Emmanuel
--- Jerry Jalenak [EMAIL
In general, there is no way session info from one webapp can be made
visible to other webapps. Some details of this may vary depending on your
app server.
Sessions are controlled by cookies being set on the client. The cookies
that are set by each webapp are scoped for that webapp only. As an
Actually, I think I take that back. You want to
actually skip certain fields if it is an insert or a
delete. Making a method validation that returns false
(fails) will stop all validation. You really probably
want a dispatchMethodRequired validator and any other
ones so they skip that
hmmm...but the sessionIDs have to be unique, even across web apps., correct?
If there weren't unique, URL rewriting would not work correctly if two users
using two webapps on the same app. server happened to get the same session
ID. Therefore, one *should* be able to store objects from webapp A
When I tried action without name property, Struts complained. Can you
give me a sample action struts-config element? Probably I'm missing
something.
/tb.
On Thu, 2002-06-13 at 20:51, [EMAIL PROTECTED] wrote:
Unless you are submitting the request from a form you do not need an
actionform
A couple of reasons
1. My company has three main lines of business that for various
regulatory
reasons need to be kept separate. This applies to deliver of content on
the
web as well. What I am trying to accomplish is essentially a
single-signon
capability (within the framework)
Kevin,
I actually thought about the EJB solution, but we are trying to do this on
the cheap without having to buy an EJB container (i.e. JBOSS). Something I
was wondering about though - is it possible to run an EAR structure under
Tomcat? I'm not very familiar with EJB, so forgive me if I
I came across a similar situation recently.
We have a major asp application that we are slowly converting to
jsp/struts/java.
So - we need the two technologies to talk to one another...
We use microsoft's msxml object to post data to a url/page, and then wait
for a response.
If the asp page
Hello,
Your suggestion is duly noted, and would probably be good
advice for many web apps. But keeping form beans in session
scope can be very handy at times, as has been pointed out in
other posts. Sessions are one of the main advantages of
servlets, after all.
So, you concede that using form
The container makes sure that Session ID's are unique. It sets the cookie
as well - nothing in the webapp has to do this. This is just how the
containers work.
Of course.
Regarding storing objects from webapp A in a shared classloader class
keyed by the sessionID and retrieve them from
Huh? JBoss is FREE.
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:41 PM
To: 'Struts Users Mailing List'
Subject: RE: Please help clarify or confirm -- HttpSession
Kevin,
I actually thought about the EJB solution, but we are trying
Free? Didn't realize that..
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 1:50 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
Huh? JBoss is FREE.
-Original Message-
From:
Thanks for all the reply and discussion on the question I asked. I am very
interested in doing some proof-of-concept
work by sharing the ClassLoader on two web apps.
Can someone show me some sample code on how to specify a common class loader
for two different web apps? I am running WebLogic
Second, having common
directories on the two CLASSPATHS for the two webapps allows you to
load
CLASSES to create new objects, but not to share the objects once they
are
created.
True, but not what I suggested at all. Two webapps sharing a common
CLASSPATH is far different from them
Damn, not yet ready to go to Tomcat 4.x. Might be a good argument to start
moving that direction. (:-)
Thanks to everyone for their comments - it's given me plenty to think about.
Jerry
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13,
Yeah Excellent, yahh booo...you suck too.
I still think we don't quite live up to the MG standard though - yoiu let
yourself down on the 'take back', but thanks, hehe ;-)
Niall
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 13 June 2002 18:35
To:
Kevin wrote:
It even says that the shared class loader exists for classes and
resources that you wish to share across ALL web applications.
So as long as you've got a 2.3 compliant container and you can get the
functionality you need from a static class, then this should work.
Thanks for
I've got the framework and initial application to complete and demo before
next Wednesday, so I'm a little tight on time. Hopefully around the first
of the July I'll some time to play around with this. In the meantime if
anyone else can give it a go, please be sure to let everyone know.
When you say struts complained... Can you be a little more informative?
also, if you could paste in the relevant parts of the Struts-config.xml
it would be great...
Here are some of mine...
(Also, if you are using Struts 1.1, get the Struts-console...
form-beans
form-bean
Problem:
I am trying to use a separate resource file for managing errors coming out of the form
validation
in an ActionForm. How do I access this resource file? This is a second resource file
defined in my
struts-config.xml file.
Steps taken so far:
-
1.
When I use nested tags, I am not able to access it through java scripts since the name
is mailingAddress.city. Does anyone have a work around or am I missing something?
Jayaraman
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 12:23
Seem to be finding my own answers:
Since I did not find any clear answers in the archives, here is the procedure of doing
this
1. Define the Resource bundle in the struts-config.xml file. If you have a resource
bundle by name
FormErrorResources.properties, then define it as follows:
Hey everyone,
I have a question for anyone that wouldn't mind helping me out a little bit.
I have a form that stores a property in bean.
I have a separate action mapped in my struts-config that is run from a
different page that uses the same bean name. however, it seems to create a
new instance
I am getting a deprecated warning when doing this, although when looking up
the documentation
on the the API (JAVADOC) link on the Struts site does not say that. Do we
have the latest documentation
on the site ? Using struts version 1.0.2
Thanks.
Muki Soomar
--
To unsubscribe, e-mail:
If I understand what you want, here is an example of how we do this:
Here is the the java action and by using the input form, we can get a connection to
the original instance
and get thisReportForm. I hope this helps. The InsCommonReportForm is a common bean
that our workgroup uses for
My bad.. Without name property action does the job for me now. I
wonder what you meant by does not necessarily cover good practices.
Would you spot on this a little?
/tb.
On Thu, 2002-06-13 at 20:51, [EMAIL PROTECTED] wrote:
Unless you are submitting the request from a form you do not need
I am looking into the same problem... I just read chapter 7 and did not
see anything about it...
HELP?
-Original Message-
From: msoomar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 12:25 PM
To: struts-user
Subject: RE: ActionForm question
Dont have to answer this.
1 - 100 of 144 matches
Mail list logo