RE: You suck! No, You suck!

2002-05-02 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
Craig & All, The fragment below from Craig is a great clear answer - and it came out of Craig's knowledge, AND James's knowledge and Micael's stubbornness - altogether a good team effort. How about a beer and a group hug :) Regards, Phil > I don't know anything specific about Flash, so this i

RE: Automatic way of transferring to login screen - Ryan Norman

2002-03-28 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
Hi Ryan, Check out the example application struts-example.war which is in the current struts distribution. Each JSP page uses the custom tag to determine if a user is logged in. If not, the user is redirected to a login page. Phil > -Original Message- > From: Ryan Norman [mailto:[EMA

RE: How to Pre-fill a formbean - correction

2002-03-15 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
vac] [javac] [javac] [javac] 36. mainForm.setProperty1("Dog"); [javac]<---> [javac] [javac] *** Syntax: Unexpected symbol ignored Phil > -Original Message- > From: HERSHKOWITZ,PHIL (A-Sonoma,ex

RE: How to Pre-fill a formbean

2002-03-15 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
e > > > main.jsp, get a reference to this form by: > > > > > class="com.MainForm"> > > > and the input fields on that jsp get the defaults from > > > this form bean. You have to use class (not type) so > > > that if you come from a

RE: How to Pre-fill a formbean

2002-03-14 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
Hi, >From the loginAction, I am calling the database to retrieve default values for some of the fields the use must fill out on mainAction.jsp. The default values depend on the user ID. Phil > -Original Message- > From: John Menke [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 14,

RE: How to Pre-fill a formbean

2002-03-14 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
Hi Jay, And Thanks. But if I understand struts correctly, the form you are casting from is loginForm. My struts-config.xml looks like: So the form in public ActionForward perform(ActionMapping mapping, ActionForm form, ... is loginForm. I need a reference to mainFo