>>> Hello,
>>>
>>> is ther any way I can forward to a tile-definition?
>>>
>
>
> That is the only way you can ever get to a page at all in Struts, so the
answer has to be "Yes".
Wrong, you can forward to a JSP page or to a servlet (used in StrutsCX) or
to another action or to nothing at all (e.g.
Are all of your getters and setters public? If so, (which I assume is
true), one disadavantage is that request parameters can be passed in
that set stuff on the form that you may not be expecting. For example,
suppose your uber form supports properties for 'foo' 'bar' and 'baz'.
Let's say one f
David,
The following is an excerpt from an upcomping book I am working on. My
apologies about the ugly formatting -- it's cut and pasted from MS-Word.
Erik Hatcher also wrote an article that can be found at
http://www.ftponline.com/javapro/2003_07/online/ehatcher_07_18_03/.
- Bill Siggelkow
---
Hi
I replaced the following struts tags for a button with one that display
a link. The Action uses LookupDispatchAction. That explains the need for
my message key in it.
This is my replacement codes for a link.
Create
Project
I am surprised that this works! There is no
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?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> >
Tom Holmes Jr. wrote:
Michael, I think you missed the whole point of what I was getting at.
Just one more thing, Tom. Not only do I think I said essentially what
Jim and Erik said but I said the same thing at a more abstract level. I
don't think that you really want a DTO in the classical sen
Tom Holmes Jr. wrote:
Michael, I think you missed the whole point of what I was getting at.
Forgetting about the CRUD application for a minute, maybe I should
have said I was creating:
a web-application that takes data from a jsp web-page form, and file
that data to the database. I also want to
From what Erik Weber was saying the DTO is almost like the "form-bean"
except that the "form-bean" contains mostly strings because it is data
from the JSP web-page form, and the DTO will hold the information that
it gets from the database, so it will have ints, strings, booleans,
dates etc.
I
Erik, thanks so much for the help. It is very useful I was
confused about a couple of the classes, but I think you helped me to
figure it out. I know from my first Struts application a Login
application, that I needed the LoginForm (to contain the username and
password) a LoginAction to
This is actually a side affect of your container configuration (or
limitation). If your container supports it, you can override it.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Chris Phillips" <[EMAIL
Michael, I think you missed the whole point of what I was getting at.
Forgetting about the CRUD application for a minute, maybe I should have
said I was creating:
a web-application that takes data from a jsp web-page form, and file
that data to the database. I also want to be use jsp web-page f
Hi.
We have been experiencing odd behavior with the logic:redirect tag where a
simple index.jsp page that contains it seems to construct absolute urls
instead of relative ones, which is not what we would like. We hope that by
sending the question out to the list that we could get some clarificati
Hi,
i sent this question yesterday, but as nowbody
answered me, i trying it again with a more
sifinificant title (sorry for the re-post).
Also, if i'm doing something terrible, i'd like to
know.
Keeping in mind that more than one action form may
have to validate and/or reset the same fields, i
de
Tom Holmes Jr. wrote:
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
I said you should not worry about struts when doing this and I will
expand below:
From what I can see I need a "form bean" in order to capture
Tom Holmes Jr. wrote:
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
The confusion, I would suggest is that you are connecting the CRUD
application to struts. The application should be entirely decoupled.
Stru
e) if there is an error, then we should return false to the action
class so we can take the action as defined in the struts-config.xml
file.
You can do this, but I prefer to return String or void and throw
Exceptions from the "backend" to the Action class, rather than
returning true or false
I think you pretty much have it right. But . . .
Tom Holmes Jr. wrote:
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
From what I can see I need a "form bean" in order to capture the data
from the JSP page. This
Hi, all,
When I try to view the example MailReader (deployed
successfully) coming with Struts 1.2.2, I got the
following exception:
"...j2ee-appserver1.4|org.apache.struts.plugins.DigestingPlugIn|_ThreadID=12;|Exception
processing config
java.lang.ClassNotFoundException:
org.apache.struts.util.Lab
> -Original Message-
> From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 4:04 PM
> To: Struts Users Mailing List
> Subject: Confusion in Classes
>
>
> I'm still a Struts newbie, but I have some confusion on the amount of
> classes I need to use in order
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
From what I can see I need a "form bean" in order to capture the data
from the JSP page. This contains the validate method which would verify
some of the data from
I'm not quite sure I understand the question... I can tell you I don't use
Struts tags in my development so I might not be able to help... but assuming
I can... can you explain the problem a bit more?
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
www.omnytex.com
Fr
> -Original Message-
> From: Udaya Prakash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 3:02 PM
> To: Struts Users Mailing List
> Subject: RE: Need guidance in struts validator framework
>
>
> It is 1.1
I was afraid you's say that. You'll probably have to either write
It is 1.1
Jim Barrows <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Udaya Prakash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: Need guidance in struts validator framework
>
>
> Hi,
>
> I am having a Dynavalidatorform
> -Original Message-
> From: Udaya Prakash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: Need guidance in struts validator framework
>
>
> Hi,
>
> I am having a Dynavalidatorform and it has two properties A and B. I
> need to
Hi,
I am having a Dynavalidatorform and it has two properties A and B. I
need to check for the following conditions
Both should be equal to zero
or
Both should be greater than zero.
Can u just me how it can be done in a declarative way using the struts
validator framework.
Regar
Here you go...
- Forwarded by David Hay/Lex/Lexmark on 09/07/2004 05:33 PM -
|-+>
| | David Hay|
| ||
| | 09/02/2004 01:55 |
| | PM |
|
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 2:25 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (Now, the
> Hyperlink Is Not Working)
>
>
> Now, I do not even get the hyperlink workin
Is there a good site/spot for Struts XDoclet examples.
I'm using:
http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html
But, I'm also looking for some examples.
Thanks,
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Now, I do not even get the hyperlink working.
In my JSP 1, which is home.jsp, I have this hyperlink
(something is wrong with it):
Register
In my struts.config.xml file, I have this action
mapping:
where the .frame.Enrollment is a piece tile.
I got the following message in the browser:
[
Marco Tedone wrote:
- Original Message -
From: "Michael McGrady" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004 3:09 PM
Subject: Re: A couple of questions
Hello, Marco,
First, Struts merely adds to your options. Struts is not
Rick Reumann wrote:
Erik Weber wrote:
Oh yea. Ok:) Although I think Kramer's mom was named "Babs" ?
Yes. Babu comes from "My Sweet Baboo", which was a knockoff on "Pumpkin
Butt".
Michael
-
To unsubscribe, e-mail: [EMAIL PROTEC
> -Original Message-
> From: Jim Barrows
> Sent: Tuesday, September 07, 2004 1:44 PM
> To: Struts Users Mailing List
> Subject: RE: A couple of questions
>
>
>
>
> > -Original Message-
> > From: Marco Tedone [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 07, 2004 1:22
David,
Could you forward that e-mail to me again. Looks like
I have lost that one. Was searching through the online
mailing archives and am not able to place yours.
Thanks
Meena
--- [EMAIL PROTECTED] wrote:
>
> I just posted some info a few days ago about using a
> hidden frame and
> javascrip
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 1:22 PM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
> What do you mean? This is often our case. I mean, we often
> have composite
> value objects: one t
What do you mean? This is often our case. I mean, we often have composite
value objects: one that contains another, which contains another. Are there
any issues with such design?
Example:
public class OrderVO implements Serializable {
/** Order lines */
private LinesVO[] orderLines; //Eclipse w
> i personally avoid javascript like the plague. :) i think if you keep
> your website design clean and simple, it makes avoiding javascript
> easier. i also believe that no matter how much functionality or
> business you need to accomplish, you can do so with good web page/site
> design, rather
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 1:03 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP
>
>
> What is the answer?
>
> Do you mean
>
>forward=".frame.Enrollment"
just add a mapping.findForward("secondpage"); to the action corresponding to
the register button form submission.
the action mapping would be
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 3:46 PM
To: [EMAIL PROTECTED]
Subject:
What is the answer?
Do you mean
where .frame.Enrollment is the tile that contains my
JSP 2.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 07, 2004 12:52 PM
> > To: Struts User
> -Original Message-
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 12:52 PM
> To: Struts Users Mailing List
> Subject: Re: Action Mapping From a JSP to Another JSP
>
>
> I think Jim meant to say "ForwardAction".
>
> http://struts.apache.org/api/org
Damn! I must have missed a couple of episodes!
Rick Reumann wrote:
Erik Weber wrote:
Oh yea. Ok:) Although I think Kramer's mom was named "Babs" ?
Don't you remember she was worked in the bathrooms at one of the
hotels. And George wanted to use her for something I forget what now.
I think to eav
I think Jim meant to say "ForwardAction".
http://struts.apache.org/api/org/apache/struts/actions/ForwardAction.html
On Tue, 7 Sep 2004 12:49:49 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, S
Erik
Caroline Jen wrote:
I have two JSPs: JSP 1 and JSP 2
JSP 1 has a hyperlink (register). Once users click on
the 'register' hyperlink, the users are suppose to
have JSP 2 displayed in the browser. That is to say,
there is no action to be performed from JSP 1 to JSP
2.
How do I specify the ac
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: Action Mapping From a JSP to Another JSP
>
>
> I have two JSPs: JSP 1 and JSP 2
>
> JSP 1 has a hyperlink (register). Once users click on
I have two JSPs: JSP 1 and JSP 2
JSP 1 has a hyperlink (register). Once users click on
the 'register' hyperlink, the users are suppose to
have JSP 2 displayed in the browser. That is to say,
there is no action to be performed from JSP 1 to JSP
2.
How do I specify the action mapping in the
strut
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 12:04 PM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
> Thank you for your emails. I feel I've got a better
> understanding of the
> reasons behind Action
hihi all!
--- Marco Tedone <[EMAIL PROTECTED]> wrote:
> We are talking here about the user submitting a form from a JSP page:
> the
> fact that I've got request and action form both populated, doesn't
> suggest
> me any added value in maintainability, it's simply a duplication of
> data. We
> cho
Erik Weber wrote:
Oh yea. Ok:) Although I think Kramer's mom was named "Babs" ?
Don't you remember she was worked in the bathrooms at one of the hotels.
And George wanted to use her for something I forget what now. I think to
eavesdrop on someone while they were in the bathroom. I think Newman
e
Thank you for your emails. I feel I've got a better understanding of the
reasons behind ActionForms. Don't misunderstand me. I want to choose the
best solution, not to convince you that ActionForms are wrong. I'm starting
a new project from scratch, the company is investing in people with Struts
kn
> -Original Message-
> From: Dave Bender [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 11:36 AM
> To: Struts Users Mailing List
> Subject: Struggling with includes
>
>
> I'm still a newbie with Struts, but farther along than I was
> a week ago.
> I'm still puzzled about
Rick Reumann wrote:
Erik Weber wrote:
Rick Reumann wrote:
Isn't Babu, Kosmo Kramer's mom's name?
No. You are a veddy, veddy bod mon.
Oh yea. Ok:) Although I think Kramer's mom was named "Babs" ?
Sounds right, but I don't think I ever saw her on the show.
Babu was Jerry's Pakistani friend/neighb
Here is what I have done to implement the Site Shutdown use case.
Create an application level status variable, called runStatus, with a
default value of 'started'.
Create a page where the application admin user can initiate the shutdown
process. Enter the number X of minutes before shutdown. RunS
I'm still a newbie with Struts, but farther along than I was a week ago.
I'm still puzzled about how to get includes to work.
I've got an application with a 'master/detail' relationship. We have
documents and each document has zero or more replies. I want to be able to
display the details of the
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 11:05 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
> We are talking here about the user submitting a form from a
> JSP page: the
> fact that I've got r
Or get a secondary webserver (apache) or a very simple server you starte up
insed of tomcat or websphere or whatever you use. This would prevent you
from tangling with the production server
Anders Jacobsen, Denmark
"Nick Heudecker" <[EMAIL PROTECTED]> skrev i en meddelelse
news:[EMAIL PROTECTE
Erik Weber wrote:
Rick Reumann wrote:
Isn't Babu, Kosmo Kramer's mom's name?
No. You are a veddy, veddy bod mon.
Oh yea. Ok:) Although I think Kramer's mom was named "Babs" ?
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 10:51 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
>
> >Not really... your way you have to add the code to the
> action to do the
> validation and ext
We are talking here about the user submitting a form from a JSP page: the
fact that I've got request and action form both populated, doesn't suggest
me any added value in maintainability, it's simply a duplication of data. We
chose Struts as web framework not because of Action Forms (not yet at lea
>Not really... your way you have to add the code to the action to do the
validation and extraction as well as the JSP, model and SQL.
Model and SQL is not necessarily (and often) true: if I used course grained
strategy, it may be that I've already got the field in my model, and if I
use CMP EJB,
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 10:37 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
>
> I use it for my login actions when I'm not using container
> managed security.
> My typical wor
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel
> Sent: Tuesday, September 07, 2004 10:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: A couple of questions
>
>
> Jim Barrows wrote:
> >> How do you manage this ?
> >
> > I use a defense-in-depth strategy, starti
You could set a property in the context scope that flags the
'maintenance page' or something. To detect the flag, you could use a
filter to redirect the user to the maintenance page, or have your base
Action class look for the flag and react accordingly.
Ideally, you'd do this from some form of a
I use it for my login actions when I'm not using container managed security.
My typical worse case action is:
TheForm theForm = (TheForm) form;
ActionErrors errors = form.validate();
if( errors.isEmpty()) {
errors = weirdValidations( form);
if( errors.isEmpty()) {
TheVo vo = new TheVo();
BeanUtil
Well, if you were fronting your web application with a proxy like Apache
then you could redirect requests for the application to some
"information" page.
Dean A. Hoover wrote:
I have a website I'm working on that is
fairly typical (I think): there areoperations that
anyone can do and operations
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 10:26 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
> >Interesting, I also build commercial apps, and try to use
> wizards whenever
> possible to keep t
Jim Barrows wrote:
>> How do you manage this ?
>
> I use a defense-in-depth strategy, starting at the UI, and going to
> the Business layer.
as I do.
> I use coarse-grained form objects, but limit the
> fields on the page to what the user can actually change. Depending
> on complexity, I'll eith
I have a website I'm working on that is
fairly typical (I think): there areoperations that
anyone can do and operations that require
a user to be logged in. Authorization and
authentication are done using a database.
From time to time, the site needs to be
shutdown for general maintenance, upgrades
>Interesting, I also build commercial apps, and try to use wizards whenever
possible to keep things >simple for my users
We prefer to keep things easy for us also for maintainability as we look at
the project long life term.
>And therefore a whole hell of a lot easier to modify and change a
Will do, Bryce... thanks!
--
Rogue Chameleon... formerly known as bort.
"Bryce Fischer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Slattery, Tim - BLS wrote:
>
> >>What group should I subscribe to (within news.gmane.org) for
> >>general JAVA/J2EE discussion?
> >>
> >>
> >
> >
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 10:06 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
>
> - Original Message -
> From: "Jim Barrows" <[EMAIL PROTECTED]>
> To: "Struts Users Mail
Rick Reumann wrote:
Isn't Babu, Kosmo Kramer's mom's name?
No. You are a veddy, veddy bod mon.
Michael McGrady wrote:
Bill Siggelkow wrote:
Okay -- what you need to do is first stand on one foot ... now with
your nose and your right index finger press Ctrl-Alt-F7.
Then spin around three times wh
>If you put it into session scope, then you only have threading issues if
you allow a single user to invoke more then one thread in a session. The
way to avoid that is >to use the request scope.
That's where we came from. On the other side, if you put the action form in
the request form, after
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 10:01 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
> - Original Message -
> From: "Matthew Van Horn" <[EMAIL PROTECTED]>
> To: "Struts Users Ma
I believe the validation still happens because the validation step
occurs before the appropriate method in the action class in
determined. I got around this by turning off automatic validation.
On Tue, 07 Sep 2004 16:59:48 +, andy wix <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When using the foll
Which version of Struts are you using? Are you using Struts 1.1 or 1.2.x?
The cancel functionality is supported in Struts 1.2.x.
I use this functionality and works fine for me. I was using the
MappingDispatchAction.
Thanks,
Venkat
-Original Message-
From: andy wix [mailto:[EMAIL PROTECTE
- Original Message -
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004 5:18 PM
Subject: RE: A couple of questions
Because so much of what you're doing in processing the parameters is
boilerplate. Why not let
- Original Message -
From: "Michael McGrady" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004 3:09 PM
Subject: Re: A couple of questions
> Hello, Marco,
>
> First, Struts merely adds to your options. Struts is not invasive. You
- Original Message -
From: "Matthew Van Horn" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004 3:22 PM
Subject: Re: A couple of questions
> Not necessarily - you can use one ActionForm to collect data from
> several HTML forms, for
Hi,
When using the following tag, my form still gets validated when I click the
cancel button.
The cancel method gets called correctly in my LookupDispatchAction class.
The tag is within an html:form tag as I believe it should be.
Does anyone have a working example of this tag or know of a d
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel
> Sent: Tuesday, September 07, 2004 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: A couple of questions
>
>
> Jim Barrows wrote:
>
> > In much of my code I do:
> > BeanUtils.copyProperties( dataVo, dataForm);
Slattery, Tim - BLS wrote:
What group should I subscribe to (within news.gmane.org) for
general JAVA/J2EE discussion?
Assuming that's a Usenet server, try comp.lang.java.programmer.
its a usenet style server, but instead of usenet feeds, it provides
access to mailing lists, such as this o
Jim Barrows wrote:
> In much of my code I do:
> BeanUtils.copyProperties( dataVo, dataForm);
> and I'm done. Your way would require a lot more code.
This seems great, but I can't do that because of user rights.
Some users don't have rights to update certain fields, so I have to call
each setter
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 7:40 AM
> To: Struts Users Mailing List
> Subject: Re: A couple of questions
>
>
>
> > There are many. First, when you use an ActionForm you can mine the
> > values of request param
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 6:53 AM
> To: Struts-users
> Subject: A couple of questions
>
>
> Hi, in my company we are writing a new J2EE application using
> Struts. So far
> we've used standard JSP/Servlet tec
Isn't Babu, Kosmo Kramer's mom's name?
Michael McGrady wrote:
Bill Siggelkow wrote:
Okay -- what you need to do is first stand on one foot ... now with
your nose and your right index finger press Ctrl-Alt-F7.
Then spin around three times while singing "I am a little teapot ..."
This should solve
Hi,
Please help.
I have a form-bean called aForm. I try to get the 'city' out of AddressView.
But, it fails. All the beans have been set/get properly. Please help.
Inside AddressView have address which contains street(String),
city(ArrayList)...
I try to iterate the loop like this:
I just posted some info a few days ago about using a hidden frame and
javascript so you avoid the refresh
let me know if any more qu's
cheers,
David
|-+>
| | meena r |
| | <[EMAIL PROTECTED]|
| |
It won't work -- been there ... tried that.
Sebastien Col wrote:
Can't you declare 2 servlets in the web.xml and map them to 2 different
extensions ?
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] la part de Bill Siggelkow
Envoye : mardi 7 septembre 2004 15:41
A : [EMAIL PROTECTED]
> What group should I subscribe to (within news.gmane.org) for
> general JAVA/J2EE discussion?
Assuming that's a Usenet server, try comp.lang.java.programmer.
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL
Many thanks (vielen Dank, as they say over here) to
everybody who threw in on my easy beginner question.
Found a cure, to wit:
where the value of the FSK rating (i.e., the DB's
autogenerated unique ID) is what's in the collectionElement
form as the fskRating property, and the fskRatingOpti
> There are many. First, when you use an ActionForm you can mine the
> values of request parameters from multiple requests.
In the kind of applications we write this is not an issue. Additionally, it
seems to me
that when put in the 'session' scope, there will only be one ActionForm
object for
a
Can't you declare 2 servlets in the web.xml and map them to 2 different
extensions ?
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] la part de Bill Siggelkow
Envoye : mardi 7 septembre 2004 15:41
A : [EMAIL PROTECTED]
Objet : Re: Controller in Struts-conf.xml !!
Well, there can
Marco Tedone wrote:
Well, as far as I can see, a part from the validation bit, the use would be
pretty much the same:
with action forms, to retrieve values, I'd have to invoke a getter method on
the action form, while with straight HTML I'd invoke the get on the request.
The downside, as far as I c
On Tue, 2004-09-07 at 23:14, Marco Tedone wrote:
> The downside, as far as I can see, is that I'd have to declare a new class
> for any new form. Are there any other advantages from using ActionForms?
Not necessarily - you can use one ActionForm to collect data from
several HTML forms, for use in
Ted Husted wrote:
On Thu, 02 Sep 2004 10:33:44 -0500, David Durham wrote:
Way to shut down a perfectly good thread, Ted. -) BTW, I read
your book. When's the book covering 2.0 due?
2.0 of what? :)
Yeah, I guess it's too early to say.
Someone could come along with a very comprehensive (1000 p
Well, as far as I can see, a part from the validation bit, the use would be
pretty much the same:
with action forms, to retrieve values, I'd have to invoke a getter method on
the action form, while with straight HTML I'd invoke the get on the request.
The downside, as far as I can see, is that I'
Bill Siggelkow wrote:
Okay -- what you need to do is first stand on one foot ... now with
your nose and your right index finger press Ctrl-Alt-F7.
Then spin around three times while singing "I am a little teapot ..."
This should solve your problem -- if it doesn't maybe you can provide
more deta
Hello, Marco,
First, Struts merely adds to your options. Struts is not invasive. You
don't have to use it at any time.
Second, I find Struts to be absolutely reliable and easy to use. If you
understand how it works, it is also really, really flexible. I worry
sometimes that they will try t
Hi,
the ActionForm are used for the input form of your application.
If you use the ActionForm in your Action you don't have to use the
HttpServletRequest.getParameter("ID") method in order to obtain the
value of the parameter "ID", for example.
Furthermore, using ActionForm with package Validator y
Okay -- what you need to do is first stand on one foot ... now with your
nose and your right index finger press Ctrl-Alt-F7.
Then spin around three times while singing "I am a little teapot ..."
This should solve your problem -- if it doesn't maybe you can provide
more details.
babu wrote:
i've
1 - 100 of 126 matches
Mail list logo