Handling form data

2008-04-29 Thread Brian Hawkins
I've run into a situation that I would like to get others opinions on. The problem is with handling a form. Here is the scenario: I have a form called form.jsp, this form needs data from the database so it has an associated FormAction.java class. The struts.xml file looks like this: action

Re: How to get initialized at startup

2007-10-24 Thread Brian Hawkins
am writing my own servlet for this as I didn't found anything. As I feel I have more control on that. post it if you got solution for this one. - Original Message - From: Brian Hawkins [EMAIL PROTECTED] To: user@struts.apache.org Sent: Tuesday, October 23, 2007 3:06 AM Subject: How

How to get initialized at startup

2007-10-22 Thread Brian Hawkins
I'm pretty new to Struts2. I have some code I need to initialize when the servlet comes up for the first time. How do I do that when I'm using struts and I do not have my own servlet? Do I create a servlet just for this purpose? Thanks Brian