Scott,
Check out the Struts sample app, it has two features that could solve your
problem.
Firstly, it has a login form and action. The sample app checks against an
XML file for a list of users, but you could code the action to access a
business object that verifies the username and
Anish,
Try specifying the type property of the logic tag.
From the Jakarta Struts site...
Fully qualified Java class name of the element to be exposed through the
JSP bean named from the id attribute. If not present, no type conversions
will be performed. NOTE: The actual elements of the
?
From: Princeton Lau
Subject: Re: html:options not understanding collections from form beans?
Date: Fri, 17 Aug 2001 10:14:38 -0700
Hello,
I struggled with the options tag because I did not understand
Hello all,
Has anyone addressed this? I tried setting the pingQuery command to 'select
dummy from dual', but the GenericDataSource still did not pick up that the
connection it had was stale...
My solution is a work around. I would have liked to continue using the
Struts connection pool, but
, and get them added
to
nightly build.
Cheers,
Dave
Princeton Lau [EMAIL PROTECTED] on 08/22/2001 04:01:37
PM
Please respond to [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: html:radio tag indexed?
Hello everyone
Hello everyone and especially Dave Hays,
Has anyone tried updating the html:radio Struts tag to produce indexed
names? I am currently making a multiple choice survey application and
having an indexed radio button would be great!
Thanks,
Princeton
From
Hello,
I struggled with the options tag because I did not understand what it meant
by 'collection'. I could not pass a collection along with a request because
I was at my index page. In other words, nothing had been done yet.
I instantiated the bean that had the collection and then used a
Rishi,
It depends how complicated you application is. If it is pretty complex,
then you should have other beans that access the database instead of writing
the code into the action.
I used a database bean to retrieve information and display it on a JSP.
i.e.
jsp:useBean id=bob scope=request
8 matches
Mail list logo