I think no because there is no property.
The first List(list1) is storing another List(list2). list2 contains
Strings.
Antony Paul
- Original Message -
From: Jim Barrows [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 10:36 PM
Subject:
Thnx for u r help .
Thanks Regards
Krishna Murthy .U
finEye Software Pvt.Ltd.
GF-2 ,Alpine Arch
No.10 ,Langford Road
Bangalore -27
--
Dream dream dear
That No one can do Ever
Dream beyond beyond horizons
You will raise
Thanks for your answer. However this is fine as a technique to enable me
to fire an 'action' to lookup the customer but I was hoping that the
customer browser would be a nice action/jsp combo to itself which could
be told to 'return' back to the originating calling action.
I might want to include
Can you not have those fields defined in some super
action form and also the lookup methods defined in
some super action class that extends from
lookupdispatchaction class.
--- Stuart Guthrie [EMAIL PROTECTED] wrote:
Thanks for your answer. However this is fine as a
technique to enable me
to
I also changed to tomcat 5.0 + JSP 2.0. You can stop using the
struts-el tags and just use the normal struts tags.
Erez Efrati wrote:
Hi,
I am working with Struts 1.1 + JST 1.0 tags.
I wish to use some of the fine features of JSP 2.0 like EL expression
everywhere I like instead of always
Hi Mike,
definition name=temp
put name=var1 value=var1 /
putList name=tabList
item value=vchart tooltip=Chart link=tmp1.jsp/
item value=option tooltip=Properties link=tmp2jsp/
/putList
/definition
I write in my jsp file
tiles:insert definition=temp
You forgot the layout JSP page. You have to make first of all a JSP page
like this:
snip
tiles:insert attribute=vchart flush=true /
tiles:insert attribute=option flush=true /
tiles:insert attribute=currentTab flush=true /
tiles:insert attribute=currentTabContent flush=true /
tiles:insert
Hi,
I am having problem while displaying my Action
Errors on the jsp pages. The problem is two null
messages are displayed in the begining and end of the
action error messages displayed on the jsps.
example : In login page if we submit without entering
user name and password the error message
Toby Saville wrote:
Is there any way I can make URL's generated by struts, be absolute
including the protocol, hostname and port?
Thanks
One response showed you how to get the absolute URL of a request, but I
don't know if that is what you want. The answer to your question
depends, I suspect,
Antony Paul wrote:
I think no because there is no property.
The first List(list1) is storing another List(list2). list2 contains
Strings.
Antony Paul
There are all sorts of ways to solve this. You can, for example, wrap
the List in a class which uses getters and setters that bean utils can
ActionError is deprecated but ActionErrors is not.
Replace ActionError with ActionMessage but leave ActionErrors as they are.
Niall
- Original Message -
From: Alex Lui [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 20, 2004 6:08 AM
Subject: validate() in ActionForm still
You don't need to populate a form for output. Forms are needed when you want
to gather user input.
Using your example I would have a form to gather the search criteria.
Submitting the form to the first action would gather a list of employess and
store that list in a request scope attribute. It
Hello
can someone explain me how i should use the c:out tag in my situation:
i have a bean theBean with a getter
getText(String textid){
...
...
return result;
}
and somewhere ist set:
session.setAttribute(abean,theBean);
how can i print now the result in my page?
c:out
I just had a requirement of placing the language bundles for my
webapplication outside of WAR's so they can be more easily edited.
I´m running JBOSS and it's works to have Language bundles uniquely
prefixed with the webapp name and placed in the server/conf directory, but
I would like to place
OK, so you are having a problem getting the checked state in the first place.
I suspect that you are not implementing / using the indexed attribute correctly.
Check you implementation or post the code as well.
Some websites that may be helpful:
http://www.jguru.com/forums/view.jsp?EID=1154155
Good point. 2.0 mens everyting is el.
Also, I declare tld to pont to /WEB-INF and not over the net.
.V
Jason Lea wrote:
I also changed to tomcat 5.0 + JSP 2.0. You can stop using the
struts-el tags and just use the normal struts tags.
Erez Efrati wrote:
Hi,
I am working with Struts 1.1 + JST
I've recently inherited a system in development that was started using
templates instead of tiles. My question is - is there much effort to
convert from templates to tiles. Secondly, is it recommended?
I'm in a time crunch as I'm learning Struts as I go and deadlines have to
be met. I'm
Sorry to hear that you are so mad, it is indeed frustrating to try to
work with APIs that are poorly documented, but, I think you're still
missing one thing I've been saying . . .
Leandro Melo wrote:
Hi Erik,
the point is that i actually changing my approach.
I gave up for a moment the
The idea is that most tiles extend .mainLayout and look like
HEADER
[body]
FOOTER
But some tiles extend .nestedLayout instead, which in turn extends
.mainLayout for two layers of navigation:
HEADER
Nested Header
[nested body]
Nested Footer
FOOTER
The nested
Hi all,
in my struts application I have 4 forms which have to be filled to store an item in
the database. All 4 forms are inherited from one abstract form class. As form 3
depends on data from 1 I didn't find a better solution, but it works.
The problem is the following. When I submit form 4 I
What do you mean by, over the net? Even though the uri attribute of a taglib
directive usually looks like a net location, it's really just a unique
identifier for the taglib. If you try hitting
http://jakarta.apache.org/struts/tags-html, all you'll get is a 404 error. To
me, the simplest thing to
Hi Erik, i was not missing that, i just forgot to tell
you that...
- JBoss actually propagates it`s security suff to
Tomcat and vice-versa. I got this information from the
JBoss forum
(http://jboss.org/index.html?module=bbop=viewtopict=53202).
Then i tested it myself with a simple login using
Hmm, well, I hope that I turn out to be wrong here. I tried it myself
and couldn't get it to work. Please let me know how it goes.
Erik
Leandro Melo wrote:
Hi Erik, i was not missing that, i just forgot to tell
you that...
- JBoss actually propagates it`s security suff to
Tomcat and vice-versa.
Sebastian Ho [EMAIL PROTECTED] wrote on 08/19/2004 09:25:38
PM:
Thanks Susan.
Refer to my comments below
Sebastian Ho
On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote:
Sebastian Ho [EMAIL PROTECTED] wrote on 08/19/2004
05:19:35
AM:
hi
I used the same actionform for
Hi ,
You can validate using LookupDispatchAction class. The
validation.xml will take care of it. Also if you want
to do other business side validations, you can do it
in your methods in the action class.
--- Susan Bradeen [EMAIL PROTECTED] wrote:
Sebastian Ho [EMAIL PROTECTED] wrote on
Check your properties file.
--- jacob skariah [EMAIL PROTECTED] wrote:
Hi,
I am having problem while displaying my Action
Errors on the jsp pages. The problem is two null
messages are displayed in the begining and end of
the
action error messages displayed on the jsps.
example :
Use the
jsp:useBean id=theBean class=my.theBean
scope=session/
Then use
c:out value=${theBean.text}/
--- Frers Michael [EMAIL PROTECTED] wrote:
Hello
can someone explain me how i should use the c:out
tag in my situation:
i have a bean theBean with a getter
getText(String
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I've recently inherited a system in development that was started using
templates instead of tiles. My question is - is there much effort to
convert from templates to tiles. Secondly, is it recommended?
Yes it
Looking for pointers on how to best deploy struts based, JSP applications.
I am using JDeveloper 10G which ships with Struts source... deploying to Jrun.
Scenario:
I am one of 2 programmers, each developing a separate JSP , but sharing a common
database
When each JSP is developed and deployed
Pilgrim, Peter wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I've recently inherited a system in development that was started using
templates instead of tiles. My question is - is there much effort to
convert from templates to tiles. Secondly, is it
-Original Message-
From: Stuart Guthrie [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 11:14 PM
To: Struts Users Mailing List
Subject: Re: Complex web 'stacks' in Struts
Thanks for your answer. However this is fine as a technique
to enable me
to fire an 'action'
I don't understand exactly why you are doing the redirect? Why not just
set the input attribute to be the page you are redirecting to ... then
Struts will forward to it when validation fails.
Axel Seinsche wrote:
Hi all,
in my struts application I have 4 forms which have to be filled to store
-Original Message-
From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 7:57 AM
To: '[EMAIL PROTECTED]'
Subject: Deploying Struts ???
Looking for pointers on how to best deploy struts based, JSP
applications.
I am using JDeveloper 10G
-Original Message-
From: Jignesh Kapadia [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 5:19 PM
To: Struts Users Mailing List
Subject: Re: dealing with check boxes
Anuj,
Thanks for you reply. But My concern is as follows.
e.g.
I display these
Bill Siggelkow schrieb:
I don't understand exactly why you are doing the redirect? Why not
just set the input attribute to be the page you are redirecting to ...
then Struts will forward to it when validation fails.
Can I set the input attribute in my Java Code? I thought I have to
define it
Thanks for the advice.
I've already been in the code this AM and put dynamic screen titles in the
header. We'll make it happen.
Michael McGrady
Sometimes when you MUST perform a redirect for some reason (once we have
a problem with multipart forms...) and there are errors in the request scope
you lost them.
We solve this problem as follows:
In the action, where you do saveErrors, just do:
this.saveErrorsInSession(request, errors);
in a
so how do you suggest we deploy struts?
each developer bundle struts in their own WAR files?
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 11:12 AM
To: Struts Users Mailing List
Subject: RE: Deploying Struts ???
-Original
-Original Message-
From: Sebastian Ho [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 6:26 PM
To: Struts Users Mailing List
Subject: Re: different inputs in struts-config
Thanks Susan.
Refer to my comments below
Sebastian Ho
On Thu, 2004-08-19 at 21:23,
Could you please provide some good reference links for JDNC.
Thx.
Mike
--- Vic Cekvenich [EMAIL PROTECTED] wrote:
I also posted that after developing on Flex and Laslo... I switched to
JDNC becuase I fodun it much faster!
I have a site now on baseBeans.com on RiA/SoA.
.V
Ovidiu EFTIMIE
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 8:32 PM
To: Struts Users Mailing List
Subject: Re: accessing collections without iterating.
I think no because there is no property.
The first List(list1) is storing another
-Original Message-
From: Frers Michael [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 1:58 AM
To: Struts Users Mailing List
Subject: C:out getter
Hello
can someone explain me how i should use the c:out tag in my
situation:
i have a bean theBean with a getter
-Original Message-
From: Axel Seinsche [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 8:19 AM
To: Struts Users Mailing List
Subject: Re: errors get lost on redirect
Bill Siggelkow schrieb:
I don't understand exactly why you are doing the redirect? Why not
just
-Original Message-
From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 8:25 AM
To: 'Struts Users Mailing List'
Subject: RE: Deploying Struts ???
so how do you suggest we deploy struts?
each developer bundle struts in their own WAR files?
What are you referring to as a classpath loader??
Won't this cause conflicts if each project has their own WAR with struts inside?
What happens if they use different versions of Struts in each WAR file?
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Friday, August
The container can manage multiple versions of the classes. Each one is
living in its own environment.
Lykins Don H Contr AFSAC/ITS wrote:
What are you referring to as a classpath loader??
Won't this cause conflicts if each project has their own WAR with struts inside?
What happens if they use
-Original Message-
From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 8:47 AM
To: 'Struts Users Mailing List'
Subject: RE: Deploying Struts ???
What are you referring to as a classpath loader??
Sorry.. class loader.
Won't this cause
Vic Cekvenich wrote:
Good point. 2.0 mens everyting is el.
Actually yes, but not necessary the struts html tags. From what I
remember you can't just use expressions in the regular html tags in
Struts 1.1 because of the way they are declared. In Struts 1.2 they fix
this. Look a the
Rick Reumann wrote:
This is why in my example
I was pointing out to Erez that, even though he's in a 1.2 container,
I meant JSP 2.0 ... gets confusing when talking about Struts1.1, 1.2 and
then JSP2.0:)
--
Rick
-
To
Is anyone developing or working on struts scaffold?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.javadesktop.org/articles/JDNC/index.html
-Original Message-
From: Mike Duffy [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 8:30 AM
To: Struts Users Mailing List
Subject: Re: Struts with Flex
Could you please provide some good reference links for JDNC.
Thx.
Mike
Bill Schneider wrote:
The idea is that most tiles extend .mainLayout and look like
HEADER
[body]
FOOTER
But some tiles extend .nestedLayout instead, which in turn extends
.mainLayout for two layers of navigation:
HEADER
Nested Header
[nested body]
Nested Footer
FOOTER
If you deploy two different war to a jboss server, the one that is deployed
the latest will be used.
I am experiencing this problem. Maybe Jboss classloader is does not support
hierarchies?
- Original Message -
From: Jim Barrows [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL
-Original Message-
From: Lucas Gonzalez Pearson [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 10:15 AM
To: Struts Users Mailing List
Subject: Re: Deploying Struts ???
If you deploy two different war to a jboss server, the one
that is deployed
the latest will be
Hi,
I am looking for some good document on Workflow
extension - especially detail explaination on primary
and secondary workflow:
* when do I need to define a new primary workflow ?
* how does this extension work with
LookupDispatchAction ?
any example code is very much appreciated !
thanks
li
I thought so,
but try renaming a .war file, and redeploying it, we had Smith.war and
John.war, and whenever Smith deployed his war, all his classes would replace
the ones that John had deployed before...
The only solution we found was to split tomcat and jboss, and smith and john
now have each
I am using the Scaffold ResultSetUtils class.
*
Ruben Cepeda
[EMAIL PROTECTED]
*
Original Message Follows
From: Jim Barrows [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts User
;-) So, just to clarify, Struts-EL is really only useful with JSP 1.2. It
doesn't allow request-time expressions for tag attributes since the EL
evaluation is done by the taglib, not the container. In JSP 2.0, however, EL
evaluation has been incorporated into the container so that any taglib whose
-Original Message-
From: Ruben Cepeda [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 9:45 AM
To: [EMAIL PROTECTED]
Subject: RE: Question about Scaffold
I am using the Scaffold ResultSetUtils class.
Sorry, I mean actively building and extending it. I'm using
May or may not be related, but...
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08398.html
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Lucas Gonzalez Pearson [EMAIL PROTECTED]
To: Struts Users
On Fri, 20 Aug 2004 14:14:46 -0300, Lucas Gonzalez Pearson
[EMAIL PROTECTED] wrote:
If you deploy two different war to a jboss server, the one that is deployed
the latest will be used.
I am experiencing this problem. Maybe Jboss classloader is does not support
hierarchies?
I am not a JBoss
I'm messing with this right now myself.
Quick question that may help (or I may be way off as I am just starting with
this)..
It the handler you are passing to the LoginContext a singleton?
If it is, shouldn't you stay logged in until you somehow call logout()?
Again.. Still learning this
This isn't strictly a Struts question, but it involves struts tags, and it's
driving me NUTS!
My page looks something like this:
%@ page language=java %
%@ page session=false%
%@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el %
%@ taglib uri=/WEB-INF/c.tld prefix=c %
%@ taglib
Please, is there anything built into Struts for
creating drop down menu/submenu? If there isn't, can
you please suggest the best way to go about this.
I want my users to be able to go from one jsp screen
to another by choosing from a menu item.
Thank you.
Ola.
There are two types of JSP includes, static and dynamic. You appear to
be using the dynamic variety.
A statically included JSP (using jsp:directive.include) becomes part of
the same Servlet as the including JSP at JSP compilation/Servlet
generation time. A dynamically included JSP's output is
Hubert Rabago schrieb:
Well, not really set the input, but you can direct the request to the
correct one in your java code.
First off, set validate=false on the action.
Then, in your action, call the form's validate() yourself.
Lastly, if there are validation errors, call saveErrors() to save
Since scaffold is a struts subproject, I think this is the official
user list for it. There's also a commons-scaffold, though, so may
also want to try the commons lists. I believe Ted Husted is the lead
developer for the scaffold extensions; not sure if there are other
developers now working on
Before somebody flags me, I'll correct myself.
IIUC, Apache projects don't have a concept of lead developers, at
least officially. So saying Mr. X is the lead developer for an Apache
project/subproject would be officially inaccurate.
On Fri, 20 Aug 2004 13:41:37 -0500, Hubert Rabago [EMAIL
http://www.raibledesigns.com/struts-menu/index.jsp
-Original Message-
From: Andrew Close [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 11:38 AM
To: Struts Users Mailing List
Subject: Re: drop down menu/submenu
On Fri, 20 Aug 2004 19:23:20 +0100 (BST), Research labs
[EMAIL
True. But even if you use the include directive, you can't split your tags. For
example, try:
split.jsp:
--
%@ page contentType=text/plain %
%@ include file=splitHeader.jspf %
Body
%@ include file=splitFooter.jspf %
splitHeader.jspf:
-
jsp:useBean id=now
-Original Message-
From: Andrew Close [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 11:38 AM
To: Struts Users Mailing List
Subject: Re: drop down menu/submenu
On Fri, 20 Aug 2004 19:23:20 +0100 (BST), Research labs
[EMAIL PROTECTED] wrote:
Please, is there anything
Kris Schneider wrote:
Which may, in fact, be a TC bug. Just tried it on WLS 8.1 SP3 and it
worked
I don't think it's a bug.
%@ include file=splitHeader.jspf % Body %@ include
file=splitFooter.jspf %
This is a static include -- meaning that the contents splitHeader, body,
and splitFooter are
Thank to all of you, I will look into your suggestion.
Ola.
--- Dhaliwal, Pritpal (HQP)
[EMAIL PROTECTED] wrote:
http://www.raibledesigns.com/struts-menu/index.jsp
-Original Message-
From: Andrew Close [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 11:38 AM
To: Struts
Quoting David Durham [EMAIL PROTECTED]:
Kris Schneider wrote:
Which may, in fact, be a TC bug. Just tried it on WLS 8.1 SP3 and it
worked
I don't think it's a bug.
%@ include file=splitHeader.jspf % Body %@ include
file=splitFooter.jspf %
This is a static include -- meaning
Slattery, Tim - BLS wrote:
Beats me. Clearly I don't understand the difference. The header.jsp page
needs to have a parameter passed to it, and it looks like the
jsp:include.. syntax is the only way to do that.
You can use the jsp:include syntax, but you'll have to treat the
include as a
Yes, if you want to parameterize the included JSP at runtime, you have
to do it the way you are doing it. However, you can also use a static
include, and just use c:set with page scope before you include your header:
jsp declaration
c taglib declaration
c:set var=title scope=page value=MyTitle/
Hi,
What's the preferred way to upload files into a database in a J2EE Web
application?
Is there any way to stream the file straight from the HttpServletRequest
to the database without staging it in the server's filesystem?
Thank you,
Ivan.
-Original Message-
From: Ivan Vasquez [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 1:04 PM
To: [EMAIL PROTECTED]
Subject: Uploading files to a database
Hi,
What's the preferred way to upload files into a database in a J2EE Web
application?
Is there any way to
I think Oracle Intermedia lets you create a BLOB directly from an
InputStream.
But I prefer to keep my files on the file system and just put meta data
about them in the database.
If you decide to write to the file system, the example file upload
webapp that comes with Struts is nice. It uses
-Original Message-
From: Jim Barrows
Sent: Friday, August 20, 2004 1:14 PM
To: Struts Users Mailing List
Subject: RE: Uploading files to a database
-Original Message-
From: Ivan Vasquez [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 1:04 PM
To:
So here is the deal..
ActionA is input for ActionB
They both share the ABFormBean, ABFormBean has some properties..
For both actions, validate=false, scope=request
When I hit submit on ActionA and it goes to ActionB, the values in the
ABFormBean are null. I don't know why.
I event did
How are you connecting the actions?
My thinking is that somehow the request is been funfill before you go to
action B
*
Ruben Cepeda
[EMAIL PROTECTED]
*
Original Message Follows
From: Dhaliwal, Pritpal (HQP) [EMAIL
Can someone show me how I can use ProcessDispatchAction as DispatchAction
in struts-config.xml?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Struts has DispatchAction, MappingDispatchAction and LookupDispatchAction
flavours but no ProcessDispatchAction.
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/actions/
So where is ProcessDispatchAction?
Niall
- Original Message -
From: struts Dude [EMAIL
How am I connecting the actions? I don't quiet get the question.
But if I call the action /ActionB.do?EventID=1
And in the execute function, I go request.getParameter(EventID); I
get a null.
It seems like as if parameters have been scraped off the request or
something.
The request is not
Sorry I wasn't clear. ProcessDispatchAction is from scaffold package
org.apache.struts.scaffold.ProcessDispatchAction
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, August 21, 2004 12:11 PM
Subject: Re: Help
Without seeing what you're doing all anyone can do is guess, much better if
you post a question with full info.
Post the jsp showing your form for ActionB on and relevant bits of
struts-config and someone might be able to help you.
Niall
- Original Message -
From: Dhaliwal, Pritpal
Know nothing about scaffold, but looking at the source seems like you need
to specify a Helper class thats a ProcessBean along with a method name
as a pair of parameters separated by a semi colon.
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/contrib/scaffold/
Does anyone know how to do this or why it does not work?
Both these methods would be called from an action class.
Function void useMyForm(ActionForm form){
SomeFormClass myForm = new SomeFormClass();
myForm.setName(Blah);
myForm.setAge(289);
etc...
form = myForm;
}
When I get to the jsp
Try the Bean.populate() method. This will make copying from different beans
much easier.
-Original Message-
From: Lucero, Dennis M [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 5:53 PM
To: [EMAIL PROTECTED]
Subject: form problem
Does anyone know how to do this or why it does
Struts creates and stores the ActionForm in request or session scope. If you
create a new form to replace the one automatically created by Struts, you
also need to store it under the appropriate key in either the session or
request.
Look at the the processActionForm() method in RequestProcessor
Yes thanks, you get the result I wanted by overwriting the bean in
request/session scope with the name used in struts config.
(name attrib in action mapping struts-config.xml)
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 7:31 PM
To:
Hi,
Could not figure out why the mutable variable is
always reset to true. Here is the snipet of my session
scoped ActionForm:
..
private boolean mutable = true;
public void setMutable(boolean mutable) {
this.mutable = mutable;
}
public
lixin chu wrote:
I suspect that the mutable variable is reset when
rendering the JSP file. But I do not know why.
and if it is true, how do I disable this so 'mutable'
will not be reset ?
Can you be more specific at the times when the 'mutable' variable is not
set as you expect? Remember reset
thank you very much for your promopt response !
I found out the problem: I used a wrong attribute name
when I save the form in prepareAction, which causing a
new form being created after submitting the JSP file
(html:form)
--- Rick Reumann [EMAIL PROTECTED] wrote:
lixin chu wrote:
I
Hi,
A new problem:
I have a Clear button which suppose to clear the input
fields. However, when I use bean:write to display the
current value on the page, and disable reset() in the
ActionForm, after pressing Clear button, the value in
Form (session scope) is still displayed on the page.
is it
Hi,
I have given the error messages in my properties
file. and the messages also are displayed correctly on
the jsps, but the problem is i get two additional
null string in the front and end of the error
messages.
I dont know why this happens. Can any body have come
accross such a problem.
97 matches
Mail list logo