!)
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 23:06
To: [EMAIL PROTECTED]
Subject: RE: Please help decide a religious discussion
It's not hard to know when to get rid of it. First Action puts list in
session, jsp displays list, Save
help decide a religious discussion
Then the session times out and the list goes away automatically.
Dave
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED],David Graham
[EMAIL PROTECTED]
Subject: RE: Please help decide a religious discussion
Date
] on 09/27/2002 10:04:00 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:RE: Please help decide a religious discussion
Well if the Action is needed to populate the drop-downs (these values being
in request
c:set var=routes value=${pageScope['routesKey']}/
- or -
c:set var=routes value=${requestScope['routesKey']}/
- or -
c:set var=routes value=${sessionScope['routesKey']}/
- or -
c:set var=routes value=${applicationScope['routesKey']}/
c:forEach values=${routes} var=route
!-- Iterate over
Thanks for the reply. I'm going to try it. As a matter of fact, I do have IDs that I'm
using for the segments and objects contained within the segments. I want to use
html:link tags within the loops to build links displaying various information about
these objects.
Do you know if I can use
Find out about, download, install, and use the new contributed taglib
struts-el.
Michael Bowman wrote:
Thanks for the reply. I'm going to try it. As a matter of fact, I do have IDs that
I'm using for the segments and objects contained within the segments. I want to use
html:link tags within
One further complication: I found that nested logic:iterate tags work on Tomcat
4.0.3, but not on Tomcat 4.1.10. Thats kind of weird.
I don't see the struts-el tags listed on the Struts Resources/Contributor Taglibs
page. Can you tell me where to find them? Thanks.
On Thu, 26 Sep 2002
Correction, it seems that the version of Tomcat doesn't matter after all. A JSP with
nested logic:iterate tags worked before, but not now. Maybe it was with an earlier
version of Struts. Does anyone know if the behavior of logic:iterate changed with
respect to nesting the tags between Struts
I know David has committed it -- I got a ton of messages on it when he
did (subscribe to the dev list and you too can keep up with things like
this!). Do a checkout from CVS. If it's not there ... well, it's got
to be. Let me update my cvs and see. Ok, I'm wrong. It's been added
but not
And plain ol' company.getId() doesn't work? Like this:
logic:iterate id=company name=company_list type=blah..CompanyView
%
HashMap map = new HashMap();
map.put(company,company.getId());
map.put(method,view);
pageContext.setAttribute(map, map,
You should be able to just cast it and reference it as-is.
map.put(company, (CompanyBean)company.getId() );
-Original Message-
From: Darren Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 1:35 PM
To: 'Struts Users Mailing List'
Subject: Please help ...
You *should* be able to do exactly that. The type attribute of the logic:iterate
identifies the type of object you'll have in the iteration that you have said you'll
call company (via the id attribute). So in the JSP you should be able to say:
map.put(company, company.getId());
Does this
Wow ... and I always thought I was pretty smart.
Thanks guys .. works great.
Darren.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: September 20, 2002 4:46 PM
To: Struts Users Mailing List
Subject: RE: Please help ...
You *should* be able to do exactly
I think it needs to be an Object. If id is a primitive it most
certainly will not work. You'd have to do something like:
map.put(company, new Long(company.getId()));
Bartley, Chris P [PCS] wrote:
And plain ol' company.getId() doesn't work? Like this:
logic:iterate id=company
and getting struts running in VAJ, gimme a shout I'll send it to
you.
cheers
Darryl
-Original Message-
From: Adrian Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 3:20 AM
To: Struts Users Mailing List
Subject: Re: please, help! debugging Struts with VisualAge for Java and
Tomcat
Hi Patria,
I found this article by Sheldon Wosnick to be of great
assistance.
http://www7.software.ibm.com/vad.nsf/data/document2389?OpenDocument
Let me know if you need any other help.
Adrian
--- Patria Lukman [EMAIL PROTECTED] wrote: Hello
everyone
I really don't want to bother you
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:51 PM
To: Struts Users Mailing List
Cc: '[EMAIL PROTECTED]'
Subject: RE: Please help clarify or confirm -- HttpSession
On Thu, 13 Jun 2002, Jerry Jalenak wrote:
Date: Thu, 13 Jun 2002 13:12:00 -0500
From: Jerry Jalenak [EMAIL PROTECTED
Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Please help clarify or confirm -- HttpSession
On Thu, 13 Jun 2002, Joseph Barefoot wrote:
Date: Thu, 13 Jun 2002 11:09:43 -0700
From: Joseph Barefoot [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL
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,
in webapplication_1 'see' session data that was created and
stored in the session by the framework-application?
Jerry
-Original Message-
From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 12:39 PM
To: Struts Users Mailing List
Subject: Re: Please help clarify or confirm
To: Struts Users Mailing List
Subject: Re: Please help clarify or confirm --
HttpSession
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
[EMAIL PROTECTED] on 06/13/2002 01:43:50 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: RE: Please help clarify or confirm -- HttpSession
This is something I've
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
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
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)
PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 1:18 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
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
PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 2:32 PM
Subject: RE: Please help clarify or confirm -- HttpSession
I did find a product called JIntegra (from a different posting a few days
ago) that I think will allow the .ASP apps to access a Java class through
some sort of smoke
to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: RE: Please help clarify or confirm -- HttpSession
hmmm...but the sessionIDs have to be unique, even across web apps.,
correct
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
6.1.
Thanks...
-Original Message-
From: Joseph Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:50 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
The container makes sure that Session ID's are unique. It sets the cookie
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
, 2002 2:00 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
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
PROTECTED]]
Sent: Thursday, June 13, 2002 12:17 PM
To: 'Struts Users Mailing List'
Subject: RE: Please help clarify or confirm -- HttpSession
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
.
Jerry
-Original Message-
From: Joseph Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:28 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
Kevin wrote:
It even says that the shared class loader exists for classes
?
Does the access need to be serialized in anyway?
Jerry
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 3:04 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
OK. I checked this out.
I'm
Mailing List
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: RE: Please help clarify or confirm -- HttpSession
Cool. Building on this then, I should be able to define some sort of
Collection (HashMap? Vector
://struts-atlanta.open-tools.org
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:12 PM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: Please help clarify or confirm -- HttpSession
A couple of reasons
1. My
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 1:28 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
Not sure about these - maybe someone else can grab the ball and
push ahead.
One of the things I
-
From: Joseph Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:11 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
Thanks for confirming this Kevin. Should work for sharing object
instances
just fine based on your test.
Jerry
PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 4:04 PM
To: Struts Users Mailing List
Subject: RE: Please help clarify or confirm -- HttpSession
OK. I checked this out.
I'm running Tomcat 4.03 on NT with JDK 1.3.1.
I
Roland [EMAIL PROTECTED] on 06/13/2002 05:44:41 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: RE: Please help clarify or confirm -- HttpSession
I haven't
On Thu, 13 Jun 2002, Joseph Barefoot wrote:
Date: Thu, 13 Jun 2002 11:09:43 -0700
From: Joseph Barefoot [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Please help clarify
On Thu, 13 Jun 2002, Jerry Jalenak wrote:
Date: Thu, 13 Jun 2002 13:12:00 -0500
From: Jerry Jalenak [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED],
'[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: RE: Please
Yeah, I guess, you are sending your request attribute to the frameset. This
frameset, in turn, mades new requests to load its frames, but these new
responses do not contain the attribute, since atribute is sended only to the
first response.
I run in the same problem awhile ago.
Adolfo.
The original request goes out of scope when you load the frameset
(the success mapping). Each of the subsequent frames is loaded with
a new request. You'll have to pass it in the session. If that feels
like you're polluting the session, you can use removeAttribute in a
JSP...
Joe
At 6:06
Thanks for that!
Jim
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2002 18:02
To: Struts Users Mailing List
Subject: Re: Please help with simple problem
The original request goes out of scope when you load the frameset
(the success mapping). Each
have you bean instant defined locally and embed it inside your link tag
using scriptlet expression(%=...%).
-Original Message-
From: Vincent Aumont [SMTP:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 10:22 PM
To: Struts Users Mailing List
Subject: Re: Please Help
Try to put the dynamic=true attribute in your form-bean definition.
form-bean name=myForm
dynamic=true
type=com.ponthrops.web.MyForm / (MyForm extends ValidatorForm)
I was getting a NullPointerException in the getDynaClass() method inside the
validate() and it worked after
Message-
From: Fernando Esteban Barril Otero [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 2:51 PM
To: Struts Users Mailing List
Subject: Re: please help - validator null pointer
Try to put the dynamic=true attribute in your form-bean definition.
form-bean name=myForm
(Zhun) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, May 31, 2002 4:18 PM
Subject: RE: please help - validator null pointer
I'm getting the same error. I'm using DynaValidatorForm though
form-bean name=filterForm dynamic=true
type
5:03 PM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: PLEASE HELP !!!
If you have control over the html that is rendered then you can use the
property=property(name) technique. Just add
void setProperty(String key, String value)
String getProperty(String key)
to your
Did you try:
http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=2UC
ATEGORY_0=_24UCATEGORY_S=0
? iPlanet is now the Sun ONE Application Server.
Mark
-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:20
Mailing List'
Subject: RE: PLEASE HELP!!!
Did you try:
http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=2UC
ATEGORY_0=_24UCATEGORY_S=0
? iPlanet is now the Sun ONE Application Server.
Mark
-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:38 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!
Did you try:
http://softwareforum.sun.com/servlet
-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:46 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!
Sorry, dude...just trying to help. I don't know a thing about iPlanet.
Mark
-Original Message-
From: Juan Alvarado (Struts List) [mailto
Could you elaborate on the problems you've had?
Thanks,
Dan
-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 10:44 AM
To: Struts Users Mailing List
Subject: RE: PLEASE HELP!!!
I'ts okay man don't worry about it. One
To: Struts Users Mailing List
Subject: RE: PLEASE HELP!!!
I'ts okay man don't worry about it. One thing you should know about iPlanet
is: Don't use it :)
**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant
class?
Ajay
-Original Message-
From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 5:03 PM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: PLEASE HELP !!!
If you have control over the html that is rendered then you can use the
property=property
Ajay,
I've never used the file upload tag. Why don't you just try it and see.
Tim
-Original Message-
From: Ajay Mallik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 7:10 AM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP !!!
Hi Tim,
Thanks a lot for your help
I was unable to address this issue myself, Ajay. I use a combination of an
ActionForm for the static fields and naming conventions for the dynamically
generated fields plus parameter handling for these in the Action class.
This is not very aesthetically pleasing, however.
I have heard that
[mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 4:57 PM
To: Struts Users Mailing List
Subject: RE: PLEASE HELP !!!
I was unable to address this issue myself, Ajay. I use a combination of an
ActionForm for the static fields and naming conventions for the dynamically
generated fields plus
From: Phase Web and Multimedia [EMAIL PROTECTED]
Subject: RE: PLEASE HELP !!!
To: Struts Users Mailing List struts-
[EMAIL PROTECTED], [EMAIL PROTECTED]
The only thing I know of is the DynaBean. This allows you to
declare values
in your struts.xml action declaration that will need
Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: PLEASE HELP !!!
This tag:
html:text property=property(myTest)/
Generates this html:
input type=text name=property(myTest) value=
Struts calls setProperty(myTest, value) or getProperty(myTest)
accordingly.
I'm using a nightly build from
try to use arraylist or string arrays
logic:iterate id=element name=bean property=stringArray
indexId=index
liembean:write name=element//emnbsp;[bean:write
name=index/]/li
/logic:iterate
rgds
Siraj DH
- Original Message -
From: Ajay Mallik [EMAIL PROTECTED]
To: 'Struts Users
Mailing List
Subject: RE: Please help.
That would have to happen in the bean the String is being passed to. Go
ahead and receive the String and set it to an integer something like the
following:
You should read the spec on bean usage. My solution may not be standard and
may break some containers
That would have to happen in the bean the String is being passed to. Go
ahead and receive the String and set it to an integer something like the
following:
You should read the spec on bean usage. My solution may not be standard and
may break some containers. But, I'm not sure of any other way. It
hi all,
i want to use struts in my applications for the devolpment of a project on
bea weblogic server.
please suggest me what to download and what setting i have to do in the my
server settings
Thanks Regards
Ajay
-Original Message-
From: Serge A. Redchuk [mailto:[EMAIL PROTECTED]]
try increasing buffer on your jsp page
%@ page buffer=1000kb /
From: Serge A. Redchuk [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: PLEASE, HELP !!! upload problem
Date: Fri, 22 Feb 2002 10:17:54 +0200
Hello All !
I use the Struts v.1.0.2
Unfortunatelly I can't
I uploaded graphics just fine just now. My code is slightly different than
yours. I simply call the getFileData() method of FormFile to return the
data, and write it all out at once. Then flush the buffer and close the
file.
Try something along the lines of:
FormFile ff = ... get the
Can someone answer this please, i'm stuck. thank you
-Original Message-
From: John Regan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 1:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Passing variables with the html:link tag, how do I do
this?
has anybody answered
John do you need to use forward? This is what I'm
doing to pass parameters via a link, but uses href
instead of forward:
strutshtml:link
href=editUser.do?operation=newUserCreate a New User
/strutshtml:link
Then in my action class:
if ( request.getParameter(operation) != null) {
// do
John,
Looks to me that what you have coded will do what you
want. Have you tried this found it doesn't work?
Keith
--- John Regan [EMAIL PROTECTED]
wrote:
Can someone answer this please, i'm stuck. thank
you
-Original Message-
From: John Regan
[mailto:[EMAIL PROTECTED]]
Sent:
, December 11, 2001 7:15 AM
To: Struts Users Mailing List
Subject: RE: Please Help! Passing variables with the html:link tag,
how do I do this?
John,
Looks to me that what you have coded will do what you
want. Have you tried this found it doesn't work?
Keith
--- John Regan [EMAIL PROTECTED]
wrote
why don't you add a method
public String getBankFileLabel() {
return getbankLabel(getBankFile());
}
to your bean, and your tag becomes
bean:write name=customerResults property=bankFileLabel
filter=true/
This is how I tend to solve problems like this.
hth,
tomK
-Original
ServiceProvider.date is null. Initialize it to new YourDateClass() (and
don't forget to do the same in the reset() method if you're using one).
hth,
tomK
-Original Message-
From: Ashoka Murthy [mailto:[EMAIL PROTECTED]]
Sent: woensdag 21 november 2001 22:50
To: [EMAIL PROTECTED]
-
From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 17 November 2001 2:09 AM
To: Struts Users Mailing List
Subject: RE: Please help - I'm not getting anywhere with this
Impatient, aren't you?
Fast answer:
Try constructing an action mypage.do, which forwards to mypage.jsp
15:22
To: 'Struts Users Mailing List'
Subject: RE: Please help - I'm not getting anywhere with this
Create an action class that sets the form bean's field, then
add the form
bean to the request before you forward to that page. You'll
also need to
use the appropriate tag in your jsp
Marco,
I don't know if your question is a general JSP question, or related to struts. With
struts, if you want to get a value set the first time you call the page, you should
not use the .jsp. If you need the value to be set, you have to make sure, the action
is called before the JSP will be
Thanks.
-Original Message-
From: Afzal, Tanver [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 12:14 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Please help...
yes i got ur message... and believe every one is receiving ur massages.
-Original Message-
From
I tried that but still the same problem.
-Nimmi
-Original Message-
From: Rama Krishna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 12:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Please Help!!! Struts application running fine on tomcat
3.2.3 does not run on tomcat 4.0
try
Title: Please help with JDBC
Put
jdbc2_0-stdext.jar in your %Tomcat%\lib directory and restart. That jar
contains the appropriate DataSource class.
-Original Message-From: Luna, Kat
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 06, 2001 8:42
AMTo: [EMAIL PROTECTED]Subject:
Be sure you've included the logic tld. The I am here would display
regardless, since the browsers ignore tags they don't understand.
Alex Colic wrote:
Hi,
I have an object in the session that if it is not there I want to display
and error msg to the user. My error code is as follows:
ActionError constructor wants a message key. not just a string.
you could do:
errors.add(beanErr,new ActionError(general.exception,ex.toString()));
and then have a general.exception in youre resouce bundle:
general.exception=An exception occured: {0}
johan
- Original Message -
From:
thank-you so much Great I appreciate it!!
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 1:19 PM
To: [EMAIL PROTECTED]
Subject: Re: please help...this doesn't want to display the exception,
is this correct?
ActionError
I believe in the erros tag you need to do something like this...
errors.add( (ActionErrors.GLOBAL_ERROR,
new ActionError(error.exception));
The reson is that the error msg which gets send back to the user is
internationalized (i.e a user in France sees the error in
I'm struggling with the same problem as you are (well similar) and general
lack of information / not being able to find information.
I think you may need the following method in your ActionForm bean:
public TaxPayerData getTaxPayers( int index )
{
return taxPayers[index];
}
as well as:
Sorry, no red code for me. ;-)
If the action= is the only change between your forms, you could just define
a bean with the action name and then use it in the form tag, e.g.:
logic:notPresent name=user
bean:define id=formAction value=/eFilerAddNoUser /
/logic:notPresent
logic:present
Title: please help me with ActionForm
Everything depends on the scope your ActionForm is
in
If it
is request scope, after a response was submitted, the bean gets destroyed. If in
session scope, once the session gets invalidated. If in application scope then
when the server goes down.
Title: please help!
Hi
See-Yam,
I am
new to this list and don't know much myself, but I have seen a message like this
one when an XML file did not conform to the DTD that was specified for it. Try
looking at the DTD to see if something in the XML is not valid. If this is the
example that
I have been prototyping an app using struts on my windows workstation for a
week now and have never had a problem.
Troy
-Original Message-
From: JOEL VOGT [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 4:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Please Help
Okay,
After
Okay,
After playing around a little, I am starting to get the impression that
struts and windows together isn't going to go. Is this neccessarily the
case? Anyone had problems and then worked it out?
Thanks again, Joel
-
Re: Please Help
Okay,
After playing around a little, I am starting to get the impression that
struts and windows together isn't going to go. Is this neccessarily the
case? Anyone had problems and then worked it out?
Thanks again, Joel
-
From: "JOEL VOGT" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 17, 2001 6:47 AM
Subject: Re: Please Help
Okay,
After playing around a little, I am starting to get the impression that
struts and windows together isn't going to go. Is this neccessarily the
case? Anyone ha
, you'll find
out from there.
--
Martin Cooper
- Original Message -
From: "JOEL VOGT" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 17, 2001 3:47 AM
Subject: Re: Please Help
Okay,
After playing around a little, I am starting to get the impression that
struts a
It works fine with windows 2000.
Later,
Kurt
-Original Message-
From: JOEL VOGT [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 1:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Please Help
Okay,
After playing around a little, I am starting to get the impression that
struts
i had the same probleme under windows..
i try everything possible (path classpath, jars server.xml...) nothing
works..
my advice : try linux ;-))
- Original Message -
From: "JOEL VOGT" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 11:44 AM
Subject: Please Help
On Fri, 16 Mar 2001, JOEL VOGT wrote:
Okay,
I've been trying to get my own struts apps going without much success. I
get the following error:
javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection
If the controller servlet is not marked
Could someone help me with replacing the JSP code below with
iterate tag logic:iterate ? I have tried various permutations
of logic:iterate but have been unsuccessful.
--
-
jsp:useBean id="user" scope="session"
Here's what I do in some code, if it's any help - am sure you can manipulate it:
logic:iterate id="parameter" name="ParametersForm"
property="parameterList"
TR
TD WIDTH="50%"FONT SIZE="2" FACE="Helvetica,Verdana,Arial"
COLOR="BLACK"
bean:write name="parameter"
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject: RE: PLEASE HELP: How would I use the iterate tag here?
Could someone help me with replacing the JSP code below with
iterate tag logic:iterate ? I have tried various permutations
of logic:iterate
101 - 200 of 217 matches
Mail list logo