#4
So (out of interest) how are you using action forms?
Jonathan Wright
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, May 12, 2005 10:06 AM
Subject: Re: [POLL] What do you use action forms for?
#1 - so I
You can't have a link to an action as your welcome file, It must be a
physical file. You could always have a JSP with a forward to your action as
your welcome file.
Jonathan Wright
- Original Message -
From: Pham Anh Tuan [EMAIL PROTECTED]
To: Struts Users Mailing List user
Define fields. Are you talking about form fields?
Jonathan Wright
- Original Message -
From: Cliff Lam [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, May 09, 2005 4:17 PM
Subject: The field name in jsp
Hi,
How can I know the fields in jsp
If the form is not dynamic, i.e. the form fields are not generated at
runtime, why not just put a collection of Strings or an array or Strings
into the scope of your choice and then iterate over it at the end of your
page
Jonathan Wright
- Original Message -
From: Cliff Lam [EMAIL
You could do something clever and use reflection to look at the method names
in you action form objects I guess
Jonathan Wright
- Original Message -
From: Cliff Lam [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, May 09, 2005 4:44 PM
Subject: Re
to pass
around I'm thinking of putting references to DataSources and the
ServletContext into a JNDI context.
Which JNDI SPI would you recommend for a simple object registry/store? What
are the issues regarding the Referenceable interface?
Thanks in advance.
Jonathan Wright
Craig,
Thanks for the prompt reply. I have in the past set up DataSources in
Tomcat's server-config.xml. However, due to the nature of our production
environment I don't want to edit this file. It's relatively important that
my web apps are completely self contained.
Jonathan Wright
Your DataSources are stored in the application context. Use your implicit
pageContext reference to get a reference to the servlet / application
context, then get your data source using
(DataSource)ctx.getAttribute(dataSource);
Jonathan Wright
- Original Message -
From: Shailender Jain
I've narrowed the javax.servlet.jsp.tagext.BodyContent.clearBody() problem
down to a select tag in my page.
As soon as I put white space or any option tags inside the select's body the
page fails when invoked.
Anyone else encountered similar problems or am I'm omitting something
glaringly
9 matches
Mail list logo