#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"
Sent: Thursday, May 12, 2005 10:06 AM
Subject: Re: [POLL] What do you use action forms for?
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"
Sent: Monday, May 09, 2005 4:44 PM
Subj
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&quo
Define "fields". Are you talking about form fields?
Jonathan Wright
- Original Message -
From: "Cliff Lam" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, May 09, 2005 4:17 PM
Subject: The field name in jsp
Hi,
How can I know t
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
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.
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 W
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: "
I have a JSP page using logic, bean and html tags. It works and compiles
fine on my local machine using tomcat 4.1.24. However when deployed to a
live server running tomcat 4.0.4 I get the following error
java.lang.VerifyError: (class: org/apache/jsp/ProviderDetails$jsp, method:
_jspService signat
Can anyone see anything wrong with the following select and option tags? I
cannot fathom out why I keep getting an exception thrown in the
BodyContent.clearBody method.
This does not work:
Select One Auckland Christchurch Dunedin Gisborne Hamilton Hastings
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 obvious
I'm having a very peculiar problem that I'm finding difficult to pin down.
As a bit of background, this is a problem that I have encountered trying to
use the Tomcat Administration web application (I believe this is also a
Struts based app).
I Authored a page in Dreamweaver before converting HTML
12 matches
Mail list logo