I used the default
org.apache.struts.actions.AddFormBeanAction action (and others) from 1.0b1
with success. However, it appears that this just makes the added FormBean
available for the lifetime of the application. In other words, struts-config.xml
is not updated to reflect the dynamic actio
You need to use <%@ include file="/include/header.jsp" %> instead of
jsp:include.
When you use jsp:include it is invoking a seperate jsp. The include file
directive will do an inline of the code from the other file which doesn't
have to be a complete jsp, it may be just a code fragment. For that
Thank you for your help! Now I'm using J2eesdk1.3 beta and Struts examples
work very well :-)
Regards,
Thai
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 1:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Cannot deploy struts-blank.war
Also the classes themselves should be marked as depreciated.
I just figured out wincvs and ssh so maybe i'll
add the depreciated indication.
-Rob
[EMAIL PROTECTED] wrote:
>
> There is a warning in the .tld file (struts.tld) to the effect that all the
> tags in that taglib are deprecated. It do
Here's some examples of what I'd like to do:
or
or even
<% someVar = ''; %>
But Struts doesn't seem to allow that. Can anyone suggest simple
alternatives? I am REALLY stuck. Thanks!
BTW, though I'm a Struts newbie, I've read most of the archives here and on
other Struts sites. I am al
There is a warning in the .tld file (struts.tld) to the effect that all the
tags in that taglib are deprecated. It doesn't appear to be documented in
the release notes, although I believe it should be. (I'll submit a bug.)
I'm not sure if it is documented anywhere else.
--
Martin Cooper
Tumble
malcolm davis wrote:
>
> Where is the link?
< http://www.sys-con.com/java/archives/0603/mcclanahan/ >
now along with the others at
< http://www.husted.com/about/struts/ >
-Ted.
I asked the same dumb question about 3 months ago.
They should be depreciated.
-Rob
Josh wrote:
>
> This might be a dumb question, but they don't seem to be deprecated? Are they
> and I somehow have missed the point? If they aren't, shouldn't they be?
>
> - josh
> --- Rob Leland <[EMAIL PROT
Where is the link?
[
yes i can believe it, multiple journals, both online and other,
have published articles on struts, a product that is in beta.
even i have published one. you would think M$ marketing had
been involved with this product. :)
]
>>-Original Message-
>>From: Incze Lajo
This might be a dumb question, but they don't seem to be deprecated? Are they
and I somehow have missed the point? If they aren't, shouldn't they be?
- josh
--- Rob Leland <[EMAIL PROTECTED]> wrote:
>
>
> Josh wrote:
> >
> > Could someone explain to me why there is:
> >
> > org.apache.strut
Has anyone sucessfully implemented the multiple="true" using
struts?
I read the Struts docs and it says to make the getter
and setter an Array
ex.
protected String[] fieldName;
The problem is that I don't know the size of the
Array because it is dynamically being created through fields
Search the www.mail-archives.com for the phrase 'token'
The Action.saveToken methods and Action.resetToken
methods will do what you want on the server side.
-Rob
"Nanduri, Amarnath" wrote:
>
> Hi all,
>
> Will struts be able to handle the double posting of forms ?
> For example if a u
Josh wrote:
>
> Could someone explain to me why there is:
>
> org.apache.struts.taglib.MessageTag
This is stuts 0.5 for backwards compatability
all tags in this dir are struts 0.5
> org.apache.struts.taglib.bean.MessageTag
This is stuts 1.0
>
> Thanks,
> Josh
-Rob
And now, something completly different: the URL:
http://www.sys-con.com/java/archives/0603/mcclanahan/
Yet another article on Struts. You won't believe it ...
Struts will not do anything special in this case (that I know of...)
To guard against multiple submission you can put a unique id in a hidden
field. If you've already processed the request with that id, you ignore it.
(For example, if you're an ecommerce site, your database would store the id in
> I have had quite a few problems relating to this kind of thing - if you
> setup your login page as the "welcome" page, or indeed if the user
> accesses the login page directly, the container has no way of knowing
> where to go next after submitting the name and password to the
> j_security_check
How can I make a Action object that forwards to 1
of 2 pages based upon success or failure of the validation rules.
Ex.
If validation for *this Form fails, stay on Page
2.
or
if validation is successful, save data and forward
to Page 1.
I'm not sure about fixing that server side, but here is some javascript to
stop people from doing this:
Double Posting Fix: