RE: Force login...

2001-11-02 Thread Princeton Lau
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

RE: iterating over a collection

2001-09-19 Thread Princeton Lau
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

RE: HTML:OPTIONS

2001-09-13 Thread Princeton Lau
? 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

RE: DataSource timeouts? A possible solution for Oracle 8.1.7

2001-09-12 Thread Princeton Lau
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

RE: html:radio tag indexed?

2001-08-23 Thread Princeton Lau
, 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

html:radio tag indexed?

2001-08-22 Thread Princeton Lau
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

Re: html:options not understanding collections from form beans?

2001-08-17 Thread Princeton Lau
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

RE: populating a list box

2001-08-03 Thread Princeton Lau
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