2002. november 15. 04:24 d¨¢tummal Doug Dates ezt ¨ªrtad:
Hi:
I have a small question. It seems that there is no related discussion on
the web.
My questions: can I use relative path(without /) in forward in
struts-config.xml? For example: can I use forward name=logon
path=logon.do/
http://www.pangloss.com/seidel/Shaker/index.html
Tib
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
I am looking for a new job because I cannot afford (yet) the new home I've
choosen. :)
http://www.airplanehomes.com/
Tib
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
2002. november 15. 08:15 dátummal Craig R. McClanahan ezt írtad:
Thank you all for your support, and use, of Struts!!!
You can thank it to yourselves, Great Code-Wizards.
Or Code-Sorcerers? Or code-SOURCE-rers? :)
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
Wow, thanks Craig! I'll check this out.
http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html
Vil.
--
Vilya Harvey, Consultant
[EMAIL PROTECTED] / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457
Hi,
I'm fairly new to struts and I'm having the following problem.
I want to display an error message in an js alert box. My understanding is
that I can't do that with /errors because if wraps the error.header and
.error.footer around each message and does not have an attribute to disable
this
I have made an action LoginState that redirects either to IsLogged.jsp if
a user
has logged in my application, or to IsNotLogged.jsp if the user is a guest.
Now I would like to use tiles for my applciation and provide in the upper
right
part of my pages, the output of this LoginState.
I have
I think I agree with you Andrew. Especially since web-applications often
are targeted at a sub-group of users and may carry a stipulation of using a
limited range of browsers and setup...
Having said that.. the solid MVC architecture in struts can sometimes make
me forget I'm programming on the
Hi,
what is struts-menu? Where can I find more info about it?
Zsolt
On Thursday 14 November 2002 23:30, Karr, David wrote:
I noticed the same problem when I tried this casually a couple of days ago.
I haven't had the chance to get any more detailed information, or debug
it. I'm using
10. Specifications are for the weak and timid!
9. You question the worthiness of my code? I should kill you where you
stand!
8. Indentation?! - I will show you how to indent when I indent your skull!
7. What is this talk of 'release'? Klingons do not make software 'releases'.
Our software
How can I disable the htm:text tag so that nothing will happen when the
use hits the enter key. The way it works right now everytime you hit the
enter key in a text field it tries to submit the request. any flags
that need to be turn off?
thanks
gus
--
To unsubscribe, e-mail:
This is JavaScript code. I don't know how, but search information about it.
Regards,
Miguel
-Mensaje original-
De: Gus Delgado [mailto:gdelgado;oceanobjects.com]
Enviado el: viernes, 15 de noviembre de 2002 13:06
Para: Struts Users Mailing List
Asunto: enter disable
How can I disable
Hi,
A newbie question on struts.
The way a view is built using struts is as follows (I think!). After
the action class processes the input and makes business logic method
invocations on the model layer (say session beans or business delegates), it
needs to fetch the data required
2002. november 15. 13:06 dátummal Gus Delgado ezt írtad:
How can I disable the htm:text tag so that nothing will happen when the
use hits the enter key. The way it works right now everytime you hit the
enter key in a text field it tries to submit the request. any flags
that need to be turn
I did not have any nested tags in the top page so I added one and
now my code looks like this:
(Your example referenced nested:property and I assume you meant
nested:nest)
That'd be the one... :)
I am still getting the null reference on the first nested tag in the
included jsp. I
Hi Christoph,
Your problem sounds similar to an issue I'm having with an ActionForm and an
indexed property. I only encountered the problem after upgrading a working
application to JDK 1.4.1. Which JDK are you using?
-Original Message-
From: Christoph Kulla
Funnily enough I have the opposite problem.
I have a form that now uses a button or sometimes a link instead of a
submitButton to submit the form as it needs to do some stuff in javascript
prior to submission (including playing silly buggers with the forms action
property!).
This works fine except
struts-menu.sourceforge.net
The Description says:
Web menuing framework for JSP and Struts based applications. Menus can
be defined in an XML file and displayed through the use of JSP tags.
Support for dynamic javascript menus is included.
Reinhard
Il ven, 2002-11-15 alle 12:07, Zsolt Koppany
Just tested with the nightly build of struts (20021114) and the CVS HEAD
version of StrutsTestCase...
Got the behaviour I had experienced with Struts 1.1-b2 (but the dynamic
validators are now working!)
In the test method at some point I make a call to
'verifyForward(Sucesso)' which is mapped as
2002. november 15. 13:40 dátummal Andrew Hill ezt írtad:
Funnily enough I have the opposite problem.
I have a form that now uses a button or sometimes a link instead of a
submitButton to submit the form as it needs to do some stuff in javascript
prior to submission (including playing silly
Ah - so I switch it back to a submit button and register an onSubmit
handler.
Thanks. :-)
-Original Message-
From: Arron Bates [mailto:struts-user;keyboardmonkey.com]
Sent: Friday, November 15, 2002 20:44
To: [EMAIL PROTECTED]
Subject: Re: enter enable [WAS: RE: enter disable]
err...
why not use
link rel=stylesheet href=html:rewrite page=/style.css/
type=text/css
That works for me regardless of where the jsp is located (mine happen to be
under WEB-INF as well)
-Original Message-
From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu]
Sent: Thursday, November 14, 2002 8:27 PM
Hello,
the FormBean Name is accessed via tiles:getAsString name=formName/
in the layout_content.jsp.
But it is not available in the tiles
is there a way to do this?
I need it for a logic:iterate tag:
logic:iterate id=bg
type=Gen_bg_Fb
name=%= formName %
property=bgListe
Why is this an issue? Just to put any error.header or error.footer in
the properties file.
If you must, the following will get you the list of errors:
ActionErrors ae = (ActionErrors)
request.getAttribute(Action.ERROR_KEY);
Edgar
-Original Message-
From: Markus Pedratscher
hey arron and chris,
Good stuff on this nested tag issue. When you say you need struts 1.1
instead of 1.1 b2, are you referring to just grabbing one of the nightly
builds or something else. Hook me up brother!!!
dz
-Original Message-
From: Arron Bates
--- Peter A. J. Pilgrim
[EMAIL PROTECTED] wrote: Davide
Bruzzone wrote:
Khalid,
It's real pity that the banks have had to let go a
lot of good
people. In the UK at least they had the money and
sometimes the
innovation to persue the latest technologies. Last
year I got
my last employer
I'm trying to run a web application using struts. when I deploy the .war in
JBoss deploy directory, the next error messages appear:
org.apache.struts.util.PropertyMessageResources INFO: Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
You can make the onChange call a JS-function.
Maybe this is what David suggested in 3) below...
Anyway, attached is an example.
/ Jörgen
-Original Message-
From: Karr, David [mailto:david.karr;attws.com]
Sent: den 14 november 2002 17:30
To: Struts Users Mailing List
Subject: RE:
The problem is that if I want to display the error in a Javascript 'alert'
box
I don't want the html header and footer, I just want the message.
The problem with this is to get the error text *only*. The only way I've
found is
to use
String error = RequestUtils.message(pageContext,
Hmm, something happened to my attachment...
I'll just post the code here then
/ Jörgen
pre for emailclients that read html
-8-8---
html
head
script language=JavaScript
function whichDropDown(dropDown) {
alert(changed: + dropDown);
LOL!
EEGAD! I am part Klingon
-Original Message-
From: Andrew Hill [mailto:andrew.david.hill;gridnode.com]
Sent: Friday, November 15, 2002 6:33 AM
To: Struts
Subject: [FRIDAY] Top 10 things likely to be overheard from a
Klingon Programmer
10. Specifications are for
While I am do not know the exact problem, I have seen similar problems
recently.
They generally have been related to recent changes in the core Struts
ActionServlet for detection and tracking of modules.
It may be that recent changes in how Struts detects and tracks modules have
not been
Intermixed...
-Original Message-
From: Míguel Ángel Mulero Martínez
[mailto:miguel-angel.mulero;mad.tecsidel.es]
Sent: Friday, November 15, 2002 2:03 AM
To: Lista Struts
Subject: ArrayList disappeared in ActionForm
Hi all! I've got a little problem with Struts 1.0.2.
I've
I have seen a lot of newspaper adverts with
improve your CV guaranteed for £100. I would go to a graduate
recruitment fair if indeed you are recent graduate (2nd jobber).
Obviously that precludes me, but going to proper professional
consultant can work wonders. Fortunately most financial city
In the example it is configured as a Plugin. It just doesn't work right off
the shelve. Given enough time I should be able to figure it out, but time is
something I don't have a lot of, so I'm looking for some pointers in getting
rid of the exception The menu repository could not be found.
Can I send you a sample of a working config tmrw?
I have many things to do today.
.V
Jeff Born wrote:
In the example it is configured as a Plugin. It just doesn't work right off
the shelve. Given enough time I should be able to figure it out, but time is
something I don't have a lot of, so
Hi,
I didnt understand your problem very well.But some points U should know.
I use the log4j, and the constructor of the ActionForm isn't
called. The set for the ArrayList isn't called too.
Struts uuses Class.forName() .newInstance() to instantiate new form objects.
So the default
Hi,
I have a page where forms are created dynamically with values from
the database.
Each of the forms have similar components, but that page itself
has multiple forms.
Is there any way to create such a page using Struts?
Thanks,
Abu Daniel
Hi,
I have a project which use Struts HTML tag a lot in
JSP pages (I use Websphere studio for JSP development)
and the web team is using Adobe GoLive to make these
JSP pages looks nice.
But how can I configure the adobe GoLive to work with
Struts HTML tag? I don't want the web team to spend
But when I want to tiles:put the output of the LoginState
action into the
loginBox :
tiles:insert page=/pages/MainLayout.jsp flush=true
tiles:put name=title value=/pages/Title.jsp/
tiles:put name=loginBox value=/LoginState.do/
/tiles:insert
, nothing appears.
My question:
is it
I've done some searching in the Struts mailing list
archive and on the usual suspect sites regarding
role based security. But, I wanted to get an in the
trenches view of how others accomplish this. Any
comments, concerns, suggestions, etc. from Struts
users about how they implement this?
I
Hi,
Anyone has implementing an workflow engine or workflow application with
struts?
I want to do a web application with a workflow engine?
thanks
DIego
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
Greetings:
I am using 1.1b2
I am just starting the process of dealing the exception handling in our
project.
I am plowing through Ted's and Chuck books and have several questions.
We have come up with these requirements:
1 - All exceptions must be logged. ( we are using log4j directly, not
Hi all
I have a problem with a dynamic forward - can anyone assist?
The url of the forward is generated by:
StringBuffer sb = new StringBuffer();
sb.append(http://www.someurl/actionpath?;);
sb.append(customer= + customer.getName());
sb.append(address= + customer.getAddress());
etc..
From your original message, it is not clear *what* is not working.
Assuming it is the bean:write, based on your last message, what is the value of
WebConstants.REPORT_ID. To be consistent, try coding your bean:write as
bean:write name=%=WebConstants.REPORT_ID%
property=reportID/
Sri
This is so easy to implement yourself it barely even bears discussing.
Create an abstract Action super-class, check to see if cookies are
enabled, and if they aren't, block access and give the user an error
message to that effect. You could have written it in the time you
composed this
Your first issue is less of a concern since if you are kicking the user,
just invalidate() the session and who cares if they get the session id.
Your second issue is a little more important, INMHO, yes, the first
screen after the session is established shows the jsessionid NMW in the
address.
I don't understand what the problem is here. Someone has suggested that you
detect if the user has cookies and if not, don't allow them in and
invalidate their session. This seems reasonable to me. I don't believe
Struts should bend over backwards to support this when it's so trivial to
Jim Krygowski wrote:
That leads me to believe that something funny is happening to my ActionForm
somewhere in the Struts code. Has anyone else seen this?? I have three
developers who came across this error independently so I have to imagine
that some of you out there bumped into it too when you
Hi all.
We were using struts 1.0 and doing something like this :
//If error occurs : go on tabbed pane where it is raised.
if (errors.size() != 0) {
mapping.setInput(INPUT_INFORMATIONS);
return errors;
}
It was working well in struts 1.0.
My problem is that uin struts 1.1 when i'm
I'm being stymied by a classpath issue that occurs both on Tomcat 4.1.12 and JRun 3.1.
I get a ClassNotFoundException while the classpath clearly displays the jar file that
contains the missing class. I've even tried -- in desperation -- putting the jar
file in Tomcat's bin common/lib and
This seems like it would be so simple yet I can't get it to work
I've tried all kinds of combinations of bean:define...
bean:define id=startRow name=startRow type=java.lang.Integer/
I want to take the request parameter startRow and put it in a page object startRow
startRow is in the request
Can you re-phrase your question in terms of the classloader diagram at this page?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
That is, identify which classloaders your jar file should be visible to (system,
shared, webapp, etc.) based on the directories
I've seen some Index out of bounds errors recently that have had to do with
parsing of URI's to determine which module is being accessed.
Can you try making your app the 'default web application' for your
container (i.e., not in a module) and see if this solves the problem? Also,
since this
Thanks for the prompt info!...
Unfortunately I don't have a lot of time to sift through the
ActionServlet's code :P
As far as I've gone through StrutsTestCase doesn't seem to bother
appending the module prefix to the expected path, but I might be wrong,
not having an in dept knowledge of Struts
Alright.
What I have tried is to place the jar so that it is available to any of the common,
shared or the webapp-specific classloaders. In other words, I've placed it in
CATALINA_HOME/common/lib re-start test then placed it in CATALINA_HOME/shared/lib
re-start test
Sri
-Original
Do you have struts.jar on the tomcat classpath? That may be causing the
problem. You should always put struts.jar in /WEB-INF/lib of each app that
uses it. Your business logic jars should go in /WEB-INF/lib as well.
David
From: Sri Sankaran [EMAIL PROTECTED]
Reply-To: Struts Users
Hi,
Is there a way to set an attribute in an ActionForm received by an
Action and having that change propagated when I 'findForward()' to
another Action?
Thanks
Jorge
inesc-id Jorge Martins | [EMAIL
Craig wrote:
You're perfectly free to leave your stylesheet where it is (in the css
subdirectory under your webapp), as long as you use an appropriate
relative URL:
LINK REL=stylesheet TYPE=text/css HREF=../../css/style.css
TITLE=style /
This doesn't work. My version included here in case I
I've used scriptlets - but probably not what you're looking for !
% String eventId = (String)request.getParameter(id); %
a href=../viewEvent.do?id=%= eventId %View Event/a
- Original Message -
From: Michael Lee [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
Of course, this happens all the time in add/edit forms. Any change to the
form in the first action will be seen by the action it forwards to as long
as both actions are setup to use the same form bean in struts-config.xml.
David
From: Jorge Martins [EMAIL PROTECTED]
Reply-To: Struts
Typically, during development, I have all jars my application needs (application
specific, struts, jdbc drivers etc) in WEB-INF/lib. I am only resorting to the
skulduggery described below in desperation. Everything my application needs *is* in
WEB-INF/lib. I am moving only this one jar that
Gee -
According to the Tomcat site, a webapp looks in all of these places in the order
listed:
/WEB-INF/classes of your web application
/WEB-INF/lib/*.jar of your web application
Bootstrap classes of your JVM
System class loader classses (described above)
$CATALINA_HOME/common/classes
...and the form bean is of session scope.
Sri
-Original Message-
From: David Graham [mailto:dgraham1980;hotmail.com]
Sent: Friday, November 15, 2002 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: ActionForm manipulation within an Action
Of course, this happens all the time in add/edit
Hi,
how can I specify that bean:page... restores the value into a String
variable?
Zsolt
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
bean:parameter id=startRow name=startRow/
Quoting Michael Lee [EMAIL PROTECTED]:
This seems like it would be so simple yet I can't get it to work
I've tried all kinds of combinations of bean:define...
bean:define id=startRow name=startRow type=java.lang.Integer/
I want to take the request
The form bean can be in the request scope as long as you're forwarding to
the next resource and NOT redirecting.
David
From: Sri Sankaran [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: ActionForm
Hi Jim,
I'm using 1.3.02 and 1.4.1. Both show the same error. Is my code supposed to work? Do I use the indexed property the
right way?
Regards
Christoph
Jim Krygowski schrieb:
Hi Christoph,
Your problem sounds similar to an issue I'm having with an ActionForm and an
indexed property. I
Checked out everything you suggested. Everything's on the up-and-up. The case is
right. The package is right. I have even go to the extent of unzipping the jar file
in the appropriate classes directory to no avail.
Thanks for the help.
The search continueswhat a way to end the week :(
Right you areshould have read your message a little better.
Sri
-Original Message-
From: David Graham [mailto:dgraham1980;hotmail.com]
Sent: Friday, November 15, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: RE: ActionForm manipulation within an Action
The form bean can be in the
Hi Sri,
Is your class public?
-Shakeel
|-
|(Embedded|
|image moved |
|to file: |
|pic05836.pcx)|
| |
|-
|
|Sri Sankaran [EMAIL PROTECTED] |
Hi,
how can I set the values of Form class assigned to current form from JSP?
Zsolt
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Here's the solution:
- Look around the case to your PC. You should find a power switch.
- Turn the switch to the off position (sometimes shown as a 0).
- Put your coat on.
- Get your keys and wallet. Walk to your car.
- Drive to nearest pub. The bartender there will provide you with
Khalid Aslan wrote:
Peter
You are absolutely right. The big financial
institution in the city do have the money and
the where-with-it-all to invest in a new technologies.
I dont necessarily want another banking job at all.
I am happy to look for another vertical sector.
Are you saying that only
There is a bug relating to indexed properties in 1.1 b2, which I believe was
either fixed or posted about August 22, 2002. Try using a later build of
struts.
Dan
-Original Message-
From: Christoph Kulla [mailto:chriskul;gmx.net]
Sent: 15 November 2002 18:17
To: Struts Users Mailing List
D'oh! Why didn't I think of that
-Original Message-
From: [EMAIL PROTECTED] [mailto:Kevin.Bedell;sunlife.com]
Sent: Friday, November 15, 2002 1:42 PM
To: Struts Users Mailing List
Subject: RE: [OT]Need magic incantation [Friday alert!]
Here's the solution:
- Look around the
Well, I had tried it before just like you are saying...
Two actions use the same ActionForm (a DynaValidatorForm defined with
request scope).
The first Action sets a property in the ActionForm and forwards to
another Action (using a local forward name=... path=.../ -- with
no redirect=true this
Maybe you should check if the class you are look for is really in the jar
by using an unzip tool.
-Message d'origine-
De : Sri Sankaran [mailto:Sri.Sankaran;sas.com]
Envoye : vendredi 15 novembre 2002 17:42
A : Struts-User
Objet : [OT]Need magic incantation
I'm being stymied
Khalid Aslan wrote:
Hey! May be we can swap leads off-line. What
do you think?
/Khalid/
1) Khalid
Have you ever try to contact any of the Java User Groups?
``http://servlet.java.sun.com/jugs/europe/gbr''
2) All Jobbers
Worth trying out JUGs on the Sun site for networking contact me
Hi,
I already tried this with yesterdays build. Same result.
I'll check struts bugzilla archive.
Christoph
Daniel Haynes schrieb:
There is a bug relating to indexed properties in 1.1 b2, which I believe was
either fixed or posted about August 22, 2002. Try using a later build of
struts.
Dan
one of the most brilliant solutions I've ever come across, you're a true
software engineer! ;)
dz
Here's the solution:
- Look around the case to your PC. You should find a power switch.
- Turn the switch to the off position (sometimes shown as a 0).
- Put your coat on.
- Get your
The bug I was talking about was 11866. Maybe its not related to your
problem.
Dan
-Original Message-
From: Christoph Kulla [mailto:chriskul;gmx.net]
Sent: 15 November 2002 19:14
To: Struts Users Mailing List
Subject: Re: Trouble with DynaActionForm and indexed properties
Hi,
I already
I've downloaded and am going to see if it works with DreamweaverMX. I'm not 100% but
will post if it does. Is anyone currently working on the Dreamweaver CTLX
extension/servlet pair? MX already supports the insertion of custom tags, I expect a
revised version would include just the servlet and
On Fri, 15 Nov 2002, Drew Zimber wrote:
Date: Fri, 15 Nov 2002 14:16:15 -0500
From: Drew Zimber [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: [OT]Need magic incantation [Friday
Fixed! But I have a following question. But first the fix...
In displaying the classpath used by Tomcat 4.1.12, I noticed that it was loading
jre/lib/ext/beaucoup.jar.files. Since I didn't need any of those jar files, I wiped
the directory clean. Everything worked...!
While I am pleased
Hi,
I guess more people than I had the problem to use log4j inside a
non log4j enviroment e.g. Caucho Resin.
I wrote a small Struts log4j PlugIn which might be useful to those
who do not want to reinvent the wheel ;-)
The Plug-In is also able to reload configuration after a given sleep time,
It seems as if the class-loader that loaded a particular class maintains some kind of
reference to the class. Any dependent class can be loaded only by this loader or any
one up the Tomcat hierarchy
Bootstrap
|
System
|
I don't use dyna beans so I can't help you there. Leaving the redirect
attribute off a forward does mean that you're forwarding unless you've
changed it globally to do redirects.
David
From: Jorge Martins [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts
You can get the app.properties as long as you have the request
MessageResources mr = (MessageResources)
pageContext.findAttribute( Action.MESSAGES_KEY );
The MESSAGES_KEY is static so you don't need the action.
-Original Message-
From: Andy Kriger
I'm new to struts, and have just tried getting the error handling / form
validation stuff to work.
I have a form (DocumentForm) submitting to an Action successfully. I just
tried to flesh out the validate method in the form object, but am now having
an error.
The form submission's working ok,
I'm talking about a generic class outside of the struts architecture that
knows nothing about where the strings are coming from (except that they come
from a properties file). So I don't have knowledge of Action or
MessageResources or pageContext.
-Original Message-
From: edgar
On Fri, 15 Nov 2002, Sri Sankaran wrote:
Date: Fri, 15 Nov 2002 14:38:40 -0500
From: Sri Sankaran [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-User [EMAIL PROTECTED]
Subject: [OT] Tomcat class loading
It seems as if the class-loader that loaded a
I found the problem. I just replaced all the jar file in the lib directory
of the struts-menu.war with the same jar files from the 1.1b2 struts download
and then the example app starts working.
This took me a while and in the end the answer was staring me in the face.
My hope with
Intermixed...
-Original Message-
From: Craig R. McClanahan [mailto:craigmcc;apache.org]
Sent: Friday, November 15, 2002 2:58 PM
To: Struts Users Mailing List
Subject: Re: [OT] Tomcat class loading
On Fri, 15 Nov 2002, Sri Sankaran wrote:
Date: Fri, 15 Nov 2002 14:38:40
Hi all, happy friday (again... :)
I'm trying to figure out what I am doing wrong with
PropertyUtils.copyProperties(). From within my Action, I have:
User user = bean;
DynaActionForm regForm = (DynaActionForm) form;
PropertyUtils.copyProperties(regForm, user);
When I look at what
... and you aren't using DynaActionForms, which erase your form every
time the controller is called.
-b
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran;sas.com]
Sent: Friday, November 15, 2002 12:48 PM
To: Struts Users Mailing List
Subject: RE: ActionForm manipulation
Hi,
For some security and integrity reasons, you can't change the struts configuration
after it was
loaded at startup by ActionServlet. You need to find another solution without changing
on-the-fly
the configuration.
For more information you can check the Struts 1.1 sources ;)
-emmanuel
You certainly need to be flexible these days too.
Agreed... While I was unemployed, I met a guy who told me he only wanted to
do Linux-based C++ programming. He then wondered aloud why he'd been
unemployed for a year...
Domino apps dev. I hadnt done Java before (though I had been playing with
Jeff,
I just say your message. I am working with WebSphere 40 Application
Server and had to replace xalan and xerces in the WEB-INB\lib directory
for Struts-Menu1.1 to get Struts-Menu1.1 to work.
All the other jar files were fine.
Jack
-Original Message-
From: Jeff Born
to answer my own question - yes, using
PropertyResourceBundle.getBundle(appResFile) and i'm guessing if i look
further MessageResources has a static utility method that does this
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Friday, November 15, 2002 14:57
1 - 100 of 123 matches
Mail list logo