I guess this is heading more towards the direction of general exception
handling and less struts-specific matters now...
The problem I have with that is, that with most applications I have been
involved with, exceptions that get passed all the way up (meaning they are
not caught somewhere in be
Sorry I made a mistake. I should have written this way:
---
Wrong, you can ALSO (besides a Tiles definition) forward to a JSP page or
to a servlet (used in StrutsCX) or
to another action or to nothing at all (e.g. if you build the
HttpServletResponse manually).
---
That is, you can build the respon
herewith i enclosed the file which contains the actionclass,form bean,view part
in this enclosed file the attachment and url are KEY and VALUE pairs in hashtable ie)
which i got from DB.
and i've to display these value in textfiled[url] based on the key selected in the
html:options.
i need h
You can specify it in your web.xml:
404
/error_404.jsp
-Yves-
On Wed, 8 Sep 2004 20:36:38 -0700 (PDT), Andy Engle
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am wondering how I should handle invalid path situations within my
> Struts application. I want to be able to have a "
Hi all,
I am wondering how I should handle invalid path situations within my
Struts application. I want to be able to have a "catch-all" page
whenever someone enters an invalid path so that they don't see that
ugly Tomcat 404 page. How might I go about doing something like that?
Thanks very muc
David Durham wrote:
Now you're forced into choosing from their "modules."
You can basically almost always just choose the "java module" and then
do as you say add what you need.. very easy. So you aren't really
'forced' into anything and can always do things like you were used to.
The advantage
My guess is that you haven't upgraded the validator-rules.xml - the method
signature changed with ActionMessages replacing ActionErrors
Niall
- Original Message -
From: "Betty Koon" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 20
That's because you don't know for how many hours i've
been sitting in from of my computer and screamming at
it, haha!!!
--- Bryce Fischer <[EMAIL PROTECTED]>
escreveu:
> Then you are doing better than I did. It took me
> several iterations to
> figure it out. I ended up testing with two differ
Hi All,
I am getting the following exception from validator by doing a simple check
on required field (using struts 1.2.3).
I have no clue why this is happening and the stack trace didn't give me any
useful info. Please help. Thanks.
-Betty
18:28:50,864 ERROR [ValidatorForm]
org.apache.struts
My appology to the list. Outlook Express and a weak wireless connection
confused me and I sent this message multiple times.
Langdon
> Hi Bill
>
> Indeed I do have scope set to "session" in struts-config.xml.
-
To unsubscribe,
Then you are doing better than I did. It took me several iterations to
figure it out. I ended up testing with two differnt forms, putting
breakpoints in my Converters to figure out what was going on...
Leandro Melo wrote:
I almost understand it in the other way, haha...
Now things are clear!!!
-
I almost understand it in the other way, haha...
Now things are clear!!!
--- Bryce Fischer <[EMAIL PROTECTED]>
escreveu:
> Leandro Melo wrote:
>
> >I got one doubt in your code when used in a
> situation
> >that i mentioned (transforming data from action
> form
> >to dto).
> >When date comes
Leandro Melo wrote:
I got one doubt in your code when used in a situation
that i mentioned (transforming data from action form
to dto).
When date comes from action form, they usually come in
Strings, but in your method you verify
value instanceof Date...
This will never happen, as the value comes
I was taking a look at bean utils source and could see
myself how this is done. Then i understood that
acutally you use the
value instanceof SOMETHING
However, the BeanUtilsBean class is quite complex and
i didn't have the patience (and the brains) to try to
understand it.
Anyway, it seems to me
Hi I've got a custom javabean that I want to move all of its public
properties directly into a map held in a form.
I've tried BeanUtils.copyProperties(myMap, myObject); as well as
PropertyUtils.copyProperties(myMap, myObject);
neither seem to do what I want, however if I reverse it for moving data
--- Jim Barrows <[EMAIL PROTECTED]> escreveu:
>
>
> > -Original Message-
> > From: Leandro Melo
> [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 4:28 PM
> > To: Struts Users Mailing List
> > Subject: Re: ActionForm data type X BeanUtils ->
> using Dates
> >
> >
> >
What do you mean? It works just fine as long as you are running Windows
3.1.1 SP8002.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Bill Siggelkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wed
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 4:28 PM
> To: Struts Users Mailing List
> Subject: Re: ActionForm data type X BeanUtils -> using Dates
>
>
> I got one doubt in your code when used in a situation
> that i mentioned
I got one doubt in your code when used in a situation
that i mentioned (transforming data from action form
to dto).
When date comes from action form, they usually come in
Strings, but in your method you verify
value instanceof Date...
This will never happen, as the value comes in String.
Am i s
My apologies -- I wasn't aware of the problem.
-Bill Siggelkow
Darryl Pierce wrote:
On Tuesday 07 September 2004 09:39 am, Bill Siggelkow wrote:
Darryl Pierce wrote:
On Monday 06 September 2004 07:49 am, James Holmes wrote:
As far as I know, Easy Struts does not work with Eclipse 3. Struts
Console
You are the master -- BTW, how come Struts doesn't work with Flex? ;)
James Mitchell wrote:
You are such a smart ace!!! Are you taking lessons from me?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Bill
You are such a smart ace!!! Are you taking lessons from me?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Bill Siggelkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 08, 200
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Irfandhy Franciscus
> Sent: Tuesday, September 07, 2004 8:18 AM
> To: [EMAIL PROTECTED]
> Subject: Preventing Page Caching
>
>
> Hi All,
>
> I am developing some pages with struts. When I was testing my
> pages, I
Hi All,
I am developing some pages with struts. When I was testing my pages, I
realize that if I click the back and forward button, my browser (IE or
Firefox) will load the cached page, instead of retrieving the latest
data from the database.
Is there anyway to prevent this caching, or is there
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
On Tuesday 07 September 2004 09:39 am, Bill Siggelkow wrote:
> Darryl Pierce wrote:
> > On Monday 06 September 2004 07:49 am, James Holmes wrote:
> >>As far as I know, Easy Struts does not work with Eclipse 3. Struts
> >> Console does though. It provides similar functionality (Easy Struts is
> >>
> -Original Message-
> From: David Durham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 2:00 PM
> To: Struts Users Mailing List
> Subject: Re: is strut a good choice in my case.
>
>
> Bill Siggelkow wrote:
>
> > Brain spouts sludge
> > Mouth obeys brain
> > White coat
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
> Sent: Wednesday, September 08, 2004 1:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: is strut a good choice in my case.
>
>
> Jim,
> If you know what I am saying then we're both in trouble.
I am never
Bill Siggelkow wrote:
Brain spouts sludge
Mouth obeys brain
White coats come.
I was going to post something about stress testing ...
- Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 1:51 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
>
>
> Jim,
>
> Sorry for bothering so much. My code, m
Jim,
If you know what I am saying then we're both in trouble. Primarily, I
am just being weird. Comes from a combination too much overexposurer to
the wild life when I was younger and too much exposure to the family
life now that I am older -- in other words, stick a fork in me -- I'm
done :)
Jim,
Sorry for bothering so much. My code, mapping,
path, ., etc. are correct. Problem is with the
Tomcat server.
CJen
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> OKay, I see what you mean now. I am a kind of dumb.
>
> Before I clicked on the link, it shows:
>
> Manage the
> Cont
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
> Sent: Wednesday, September 08, 2004 1:28 PM
> To: [EMAIL PROTECTED]
> Subject: Re: is strut a good choice in my case.
>
>
> Well, make sure you use more than one Strut -- you will want to scale
> the
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 1:28 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
>
>
> OKay, I see what you mean now. I am a kind of dumb.
No
So THAT is how we REALLY setup STRUTS!
Duh! (slaps his own forehead).
-David
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Wednesday, September 08, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: Re: is strut a good choice in my case.
Well, make su
> -Original Message-
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 1:23 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Date format woes
>
>
> > From a pure JavaBean perspective, a class like:
> >
> > package com.dotech;
> >
> > import
Well, make sure you use more than one Strut -- you will want to scale
the number of Struts to the number of users. For each request, you will
have one Strut. Does this make sense? ;)
Vitalii wrote:
I have a question about struts. I know Strut is good
framework for designing a large website. It
OKay, I see what you mean now. I am a kind of dumb.
Before I clicked on the link, it shows:
Manage the
Content
in the browser.
DHSInfo is the name of my application in the
$TOMCAT/webapps directory.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caro
> From a pure JavaBean perspective, a class like:
>
> package com.dotech;
>
> import java.io.Serializable;
> import java.util.Date;
>
> public class ConfusedBean implements Serializable {
> public void setDate(String s) {}
> public Date getDate() { return null; }
> }
>
> is seen by Intr
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 1:18 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
>
>
> The
> None of my tiles or content is displayed. I on
The wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 1:09 PM
> > To: Struts Users Mailing List
> > Subject: RE: Action Mapping From a JSP to Another
> JSP (In Trouble
> > Again!!!)
> >
> >
> > I do not fully und
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 1:09 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
>
>
> I do not fully understand. Do you want me to actually
I do not fully understand. Do you want me to actually
code instead of
Manage the
Content
in my links.jsp file?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 12:45 PM
> >
>From a pure JavaBean perspective, a class like:
package com.dotech;
import java.io.Serializable;
import java.util.Date;
public class ConfusedBean implements Serializable {
public void setDate(String s) {}
public Date getDate() { return null; }
}
is seen by Introspector as (Sun JDK 1.4.
> -Original Message-
> From: Vitalii [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: is strut a good choice in my case.
>
>
> I have a question about struts. I know Strut is good
> framework for designing a large website. It
> You wouldn't happen to have another setter method that
> accepts a different type (e.g. Date) would you?
>
> for example:
>
> ...
> ...
>
> public void setExpirationDate(Date expirationDate){
>
> ...
> ...
No, only what I posted.
--
Tim Slattery
[EMAIL PROTECTED]
--
I have a question about struts. I know Strut is good
framework for designing a large website. It has a lot
of classes that help to design well scaled websites.
What about performance? Does it slow the processing of
request. if speed is the main issue is it good idea to
use strut?if website needs t
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 12:46 PM
> To: Struts Users Mailing List
> Subject: Re: Date format woes
>
>
> You wouldn't happen to have another setter method that
> accepts a different
> type (e.g. Date) wou
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 12:45 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
>
>
> I have tried both
>
> action="/ContentMgmt" and
>
You wouldn't happen to have another setter method that accepts a different
type (e.g. Date) would you?
for example:
...
...
public void setExpirationDate(Date expirationDate){
...
...
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
I have tried both
action="/ContentMgmt" and
action="/ContentMgmt.do">
They do not make any difference. Error message is the
same. And it is HTTP Status 400.
Nothing gets displayed in the browser but the error
message. I tried right-click "View Source". None of
my code appears in the "View
I've got a page in my Struts web app that displays a date. It uses
to read a date from the form bean and format it for
display. I also want to put that date into a field so that
it can be reloaded when the page is submitted and redisplayed.
The getter returns a Date. The tag retrieves also retr
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 11:54 AM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
>
>
> Hi, I am in trouble again.
>
> I am using tiles. I
Hi, I am in trouble again.
I am using tiles. I have three piece of tiles:
upperbar, sidelinks, and lowerbar. All three tiles
are displayed with contents shown in the center
(toward right hand side) of the web page.
Now, I click on one of the links provided in the
'sidelinks' tile and I got th
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 10:56 AM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (How to
> Do Global
> Forward)
>
>
> Thanks a lot for being around and helping us.
Thanks, i`ll take a look at that in the next days!!
--- Jim Barrows <[EMAIL PROTECTED]> escreveu:
>
>
> > -Original Message-
> > From: Leandro Melo
> [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 10:25 AM
> > To: Struts Users Mailing List
> > Subject: RE: ActionFor
Thanks a lot for being around and helping us.
-CJen
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 10:34 AM
> > To: Struts Users Mailing List
> > Subject: RE: Action Mapping F
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 10:34 AM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (How to
> Do Global
> Forward)
>
>
> Thanks for your reply and help.
>
> if I have
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 10:25 AM
> To: Struts Users Mailing List
> Subject: RE: ActionForm with all application attributes
>
>
> --- Jim Barrows <[EMAIL PROTECTED]> escreveu:
> >
> >
> > > -Origina
Thanks for your reply and help.
if I have
Register
In my struts.config.xml file, I should have action
mapping like this:
What if I do a global forward:
Register
what kind of mapping should I specify in the
struts-config.xml file?
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> Thanks
--- Jim Barrows <[EMAIL PROTECTED]> escreveu:
>
>
> > -Original Message-
> > From: Leandro Melo
> [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 9:48 AM
> > To: Struts Users Mailing List
> > Subject: RE: ActionForm with all application
> attributes
> >
> >
> > Jim,
Do it in the business layer that fetches the collection -- or in the
database -- or store the data in a sorted collection (like SortedTreeMap
or some similar animal).
Craig Dickson wrote:
Hi,
Is there an easy way to have the JSTL forEach tag sort the collection of
items before looping through th
How are you doing the database interactions with your MS SQL Server? JDBC
with some ODBC connectivity kit or some other way?
Regards,
David
-Original Message-
From: calandraca [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 1:04 PM
To: Struts Users Mailing List
Subject: stra
> -Original Message-
> From: calandraca [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 10:04 AM
> To: Struts Users Mailing List
> Subject: strange random problem
>
>
> Since I have rewrited an important part of my application using struts
> I've had this problem several
The custom converter is done independently of the action, form or DTO.
First step is to implement the interface
org.apache.commons.beanutils.Converter.
Keep in mind that the converter you are writing uses the appropriate
converter for the original class. So, if you were converting from a
String
Since I have rewrited an important part of my application using struts
I've had this problem several times. It didn't happen in development
environment, with only one or two users using the application at the
same time. It happends in production with 20 or 30 users.
* Development environment: Debi
> -Original Message-
> From: Craig Dickson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 9:51 AM
> To: Struts List
> Subject: [OT] How to sort with ?
>
>
> Hi,
>
> Is there an easy way to have the JSTL forEach tag sort the
> collection of
> items before looping throu
http://jakarta.apache.org/commons/beanutils/api/index.html
Leandro Melo wrote:
I also would like to see this "converter" code and how
to use it!!!
--- Jason King <[EMAIL PROTECTED]> escreveu:
Could you point us at some code that does this? Do
you customize in the
action, the form or the DTO?
B
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 9:48 AM
> To: Struts Users Mailing List
> Subject: RE: ActionForm with all application attributes
>
>
> Jim, all the code i`m talking about is inside a Base
> Action Form. It seems
Kind of being picky here, but I wouldn't switch the property name like
that -- instead; since the form field would be a String I would use
String getPaymentDateString() {...} in the ActionForm and
Date getPaymentDate() {...} in the domain object.
Desai, Sunny wrote:
BeanUtils.copyProperties() met
Hi,
Is there an easy way to have the JSTL forEach tag sort the collection of
items before looping through them? Currently I have a scriptlet doing it
before the loop tag, but this is pretty ugly.
Thanks
-
To unsubscribe, e-mai
I also would like to see this "converter" code and how
to use it!!!
--- Jason King <[EMAIL PROTECTED]> escreveu:
> Could you point us at some code that does this? Do
> you customize in the
> action, the form or the DTO?
> Bryce Fischer wrote:
>
> > You can register a different converter that
Could you point us at some code that does this? Do you customize in the
action, the form or the DTO?
Bryce Fischer wrote:
You can register a different converter that BeanUtils uses to copy
from a string to a date. Write your own converter, using the date
format you need, then use ConvertUtils.
Jim, all the code i`m talking about is inside a Base
Action Form. It seems the you`re thinking that my code
is inside a action, aren`t you?? Maybe a
misundertanding, maybe mine, maybe yours.
So, i agree with some of your comments, but not on all
of thems. In fact, i`m gonna to take a look about th
Jim Barrows wrote:
-Original Message-
From: Janne Mattila [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 3:49 AM
To: [EMAIL PROTECTED]
Subject: RE: Proper place for validation
Hmm, not a lot of comments on this. I guess there is a
consensus on the
matter (that, or no-one
You can register a different converter that BeanUtils uses to copy from
a string to a date. Write your own converter, using the date format you
need, then use ConvertUtils.register(...) to register it.
That's what I do anyhow.
-Original Message-
From: Leandro Melo [mailto:[EMAIL PROTECTE
BeanUtils.copyProperties() method does not work with date fields.
One needs to copy it manually using DateFormatter ot something. To avoid
garbage getting into date variable in domain object, one should name it
other way.
For example, if domain object has : Date paymentDate; you should rename the
> -Original Message-
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 6:39 AM
> To: Struts Users Mailing List
> Subject: Re: Proper place for validation
>
>
> Maybe there weren't a lot of comments because people agreed
> with Robert. :)
>
> For yo
I should probably post this stuff on XDoclet's list ...
David Durham wrote:
That's good information; I read it with vigor... As you can tell, I'm
excited by the prospects of using XDoclet instead of .
And, I think I get the gist of Struts related support provided in
XDoclet, but I have a couple
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 5:40 AM
> To: Struts Users Mailing List
> Subject: Re: ActionForm with all application attributes
>
>
> Bill, wait a minute, i just thought on something.
> I wouldn't matter if a ha
> -Original Message-
> From: Janne Mattila [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 3:49 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Proper place for validation
>
>
> Hmm, not a lot of comments on this. I guess there is a
> consensus on the
> matter (that, or no-o
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 5:48 PM
> To: struts jakarta
> Subject: ActionForm with all application attributes
>
>
> Hi,
> i sent this question yesterday, but as nowbody
> answered me, i trying it again with a
That's good information; I read it with vigor... As you can tell, I'm
excited by the prospects of using XDoclet instead of .
And, I think I get the gist of Struts related support provided in
XDoclet, but I have a couple of questions. 1 -- How good is the
DynaValidatorForm support? I saw the
Method exists both in BD and EJB still this error is coming...
Below is the stack trace..
500 Internal Server Error
java.lang.NoSuchMethodError
at
com.tropics.web.commonservices.services.batch.B
I have your solution:
Find out which method is being called and do not call that method, it does
not exist.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Viral_Thakkar" <[EMAIL PROTECTED]>
To: "Struts
Hi All,
I am trying to call a method on ejb through business delegate which in
turn is called by struts action class.
I have created a project in Jdeveloper and this is working fine.
When I created an ear file using ant script and deployed this in oc4j903
then I got following error
Are you setting scope="session" for the actions in your
struts-config.xml? If so, I'd take it through a debugger.
- Bill Siggelkow
Langdon Stevenson wrote:
Having overcome my validation problem with help from the list (thanks
Bill) I now find myself banging my head against another wall.
I now
True -- some people use bulk property setters like those provided by
BeanUtils to move data from the ActionForm to the DTO -- I think that is
primarily where you would need to be careful. Personally, I am not fond
of the use of an uber form; it doesn't seem very object-oriented;
however, I can
Well, if I recall from your original post you only wanted to validate
the fields on the current page only. Validator provides support for a
page attribute that you can use for wizard-style forms. Validator will
use that attribute to validate form fields on the current page and any
previous page
Hi,
i believe that a lot of developers use BeanUtils to
copy the data from ActionForms to the specific DTOs.
I've used this approach, but right now i'm facing a
problem, not a big one.
I've allways been confused about working with dates in
Java. I got a jsp where the user must input a date in
the
You might be able to. Action.getResources() is actually implemented as
return ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY));
So try that to get the message resources, then call getMessage() on that.
On Wed, 8 Sep 2004 09:59:03 -0400, White, Joshua A (HTSC, CASD)
<[EMAIL PROT
Ok,
then you have to define a Form with an array field:
private String[] values;
setValues(String[] values) ...
getValues() ...
then you will define the input tag in your jsp (you may use or not Struts HTML tag):
you should place it inside some HTML container, like or setting its id
attri
Hubert,
Are you unable to do this from an ActionForms validate method?
Joshua
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 9:50 AM
To: Struts Users Mailing List
Subject: Re: How to resolve label in ActionMessage?
The first param
The first parameter of the ActionMessage constructor is the message
key. The rest (which are optional), are the actual parameters to the
message. If your parameter is itself in need of evaluation, you'll
need to do that yourself before you pass that on to ActionMessage.
For that, you can call
ge
1 - 100 of 126 matches
Mail list logo