Admin actions

2001-03-02 Thread Dan Miser
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

RE: JSP includes of

2001-03-02 Thread Deadman, Hal
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

RE: Cannot deploy struts-blank.war onto j2eesdk1.2.1

2001-03-02 Thread Thai Thanh Ha
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

Re: MessageTag

2001-03-02 Thread Rob Leland
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

Nested tags don't work. What alternatives are there?

2001-03-02 Thread Richard D. LeCour
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

Re: MessageTag

2001-03-02 Thread martin . cooper
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

Re: Article on struts

2001-03-02 Thread Ted Husted
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.

Re: MessageTag

2001-03-02 Thread Rob Leland
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

RE: Article on struts

2001-03-02 Thread malcolm davis
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

Re: MessageTag

2001-03-02 Thread Josh
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

struts-user@jakarta.apache.org

2001-03-02 Thread Spencer Smith
  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

Re: double submission of forms

2001-03-02 Thread Rob Leland
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

Re: MessageTag

2001-03-02 Thread Rob Leland
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

Article on struts

2001-03-02 Thread Incze Lajos
And now, something completly different: the URL: http://www.sys-con.com/java/archives/0603/mcclanahan/

Article on struts

2001-03-02 Thread Incze Lajos
Yet another article on Struts. You won't believe it ...

Re: double submission of forms

2001-03-02 Thread John Raley
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

Re: Why should you call JSP pages directly?

2001-03-02 Thread Incze Lajos
> 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

Forwarding Question

2001-03-02 Thread Spencer Smith
  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.   

Re: double submission of forms

2001-03-02 Thread Spencer Smith
I'm not sure about fixing that server side, but here is some javascript to stop people from doing this: Double Posting Fix: