Hi
I can't get the storeException to work in my ExceptionHandler
implementation.
I wish to print out ActionErrors onto the browser but the storeException
only accept an ActionError parameter. How do I print multiple lines?
Thanks
Sebastian Ho
-
On Mon, 2004-09-27 at 20:57, Kyle Korndoerfer wrote:
> OK, so my idea (recently upgraded Tomcat to 5.0.28 thinking the problem
> could be thier and forgot to update my $CATALINA_HOME to take that into
> account), but that didn't help...
>
> Still stumped. Anyone? Bueler?
>
> Thanks for any help/s
OK, so my idea (recently upgraded Tomcat to 5.0.28 thinking the problem
could be thier and forgot to update my $CATALINA_HOME to take that into
account), but that didn't help...
Still stumped. Anyone? Bueler?
Thanks for any help/suggestions. I've been starring at it so long, I
know it must be som
What database are you running on your Windows box? The new PostgreSQL for
Windows beta? This question is to establish that you ARE connecting to that
database software in at least one location.
Regards,
David
-Original Message-
From: Kyle Korndoerfer [mailto:[EMAIL PROTECTED]
Sent: Mond
Hi Tom,
Now you've got this all mixed up. You dont need to call:
ActionErrors errors = ((MemberNewForm)form).validate(mapping,request);
..in your Action class anymore because Struts will automatically call
validate for you when you submit your form and you specify
validate=true in your struts-co
I'm not completely sure about JBoss-- but for resin, we change everything
in the resin.conf file.
We add the following directives:
- code snippit
- /code snippit
to the jsp tag in the server conf file.
I'd imagine JBoss has similar directives...
You probably should be posting this questio
I have a neglected Ultra 1, now running Solaris 9, which I've rescued
to use as a web application server. It's running JBoss just fine and
when my web application is loaded and run the response time, while
slow (on the order of a second or two per page) is still reasonable.
The problem comes abou
I'm using a Struts ActionForm to upload a file using a "multipart/enc"
POST. The files being uploaded are sometimes rather large and we
wish to restrict them to ... 5 to 10 megs.
Currently we are doing this:
--- inside the effected tile
...
--- inside execute() for Action processUploadA
From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]>
> You are right. But like I did in my previous snippet, if I setup my
> deleteAction mapping to deleteForm in my config file I would think the
> searchResults.jsp should by default take deleteForm as its ActionForm and
> recognize memberList in the it
You are right. But like I did in my previous snippet, if I setup my
deleteAction mapping to deleteForm in my config file I would think the
searchResults.jsp should by default take deleteForm as its ActionForm and
recognize memberList in the iterate tag. I don't know why that didn't work.
Is there
From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]>
> Baahh! why didn't that strike me :)
> I'll put searchResults in session and it should work..
> Thanks for your help, Wendy.
You're welcome... sometimes there's a good reason not to put something in
session scope. To the consternation of my network
Baahh! why didn't that strike me :)
I'll put searchResults in session and it should work..
Thanks for your help, Wendy.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Monday, September 27, 2004 6:33 PM
To: Struts Users Mailing List
Subject: Re: CheckBoxes in tag
From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]>
> And changed the logic:iterate tag
> type="org.acaosa.registration.RegistrationTO">
>
> This time it didnot recognize memberList and gave me a
NullPointerException.
You seem to be expecting to "know" that memberList is a
property of some form. I
OK! I got to a point where I was able to retrieve the right values for my
checked boxes.
I did this and it worked.
But the problem is when I display back the same page after deletion to
display a confirmation message, I ran into the following exception
[9/27/04 18:20:
From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]>
> I replaced the checkbox with multi box and in my action class when I
> retrieved values, I was getting as "$register.memberId" Strings rather
than
> the memberIds for those checked. Am I doing anything wrong?
Are you using a JSP 2.0 container, and
When the collection is empty, it won't iterate, so you won't get an
exception. When the dealerList is absent, you'll get an exception from
the c:forEach tag. Put in some debug calls such as c:out
value=dealerList.size to see if it really is doing what you think.
On 09/27/2004 06:34 PM [EMAIL PR
Wendy,
Thanks for your reply. I tried the multi-box but ran into another set of
problems. I seem to be able to retrieve the values but not the ones that I
needed.
I replaced the checkbox with multi box and in my action class when I
retrieved values, I was getting as "$register.memberId" Strings ra
Just before this thread dies, on a closely related note, does anybody
have a nice way to get the value of a constant from a static on a class?
This is what I don't like:
property="resultDisplayTypeId"
labelProperty="typeName" />
I thought of JSTL variables, like:
<%=org.gargantus.G
From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]>
> I am running into problem when trying to implement checkboxes using Struts
> html:checkbox tag in tag. The scenario is as follows:
If you have multiple checkboxes, the multibox tag, not checkbox. Then it
should populate your String[] property.
I
I am running into problem when trying to implement checkboxes using Struts
html:checkbox tag in tag. The scenario is as follows:
I have a result page that is populated from the database. I used the
to iterate through the list of results retrieved from
database matching a search criteria. Howeve
i just moved to struts 1.2.4 and I saw that in the examples the
validator.xml file is using version 1.1.3. Is this the version of the
dtd that i should use? If so, I also use struts console, and it only
supports up to 1.1 Is there a way to upgrade the dtd's that struts
console is using to suppor
I'm trying to understand the interplay between the struts html- tags &
JSTL.
When using the c:forEach I'm not able to reference the page scope variable
in an html:link paramName attribute that's within the loop if the
Collection is empty or does not exist. I get a servlet exception - "
[Serv
Did I miss something?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "josh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, September 27, 2004 2:25 PM
Subject: Strut
You didn't get the text? It was:
i just moved to struts 1.2.4 and I saw that in the examples the
validator.xml file is using version 1.1.3. Is this the version of the
dtd that i should use? If so, I also use struts console, and it only
supports up to 1.1 Is there a way to upgrade the dtd's th
24 matches
Mail list logo