How do you load information into a bean that your form uses before displaying it?

2001-07-19 Thread Brett G. Palmer
I have a struts html:form which uses a struts Form bean. I'd like to read data from a database and use that data as the default data for the form. What is the best way to do this? Read the data and set the value parameter of the html:text html:select and html:checkbox tags? Load the data into

Null PointerException when run with Apache/SSL/Tomcat

2001-06-04 Thread Brett G. Palmer
We are getting a NullPionterException which seems to originate from the the struts-html tag libraries. The error only occurs when we run Struts with Tomcat/Apache and SSL. If we bypass SSL and just go through Apache (port 80) we do not see the error. Has anyone else seen this problem when

Re: Null PointerException when run with Apache/SSL/Tomcat

2001-06-04 Thread Brett G. Palmer
magically fixed the SSL problem. Hopefully a similar path will fix yours too. Good luck, Bryan Brett G. Palmer wrote: We are getting a NullPionterException which seems to originate from the the struts-html tag libraries. The error only occurs when we run Struts with Tomcat/Apache and SSL

Another bean:iterate question

2001-04-17 Thread Brett G. Palmer
I've been working on this bean:iterate ... problem for some time now. I finally had to use a scriplet to get it to work. I am trying to get a list of FieldTypes from a record controller (PrimaryServer below) which implement an AbstractField object (this may be the entire problem ... let me

FormAction Bean for dynamically created forms

2001-04-17 Thread Brett G. Palmer
What is the best way to develop a FormAction bean for HTML forms that are dynamically generated? In other words, the FormAction bean won't know the parameters names of the form until runtime. For example, if I wanted to process HTML forms for relational database tables dynamically. Each input