[EMAIL PROTECTED] wrote:
The solution I am now pursuing, so far with success, is removing almost all
of the application-specific meat from my Action subclasses. I will
delegate to a simple command class from the action. The command class will
take input paramaters, access the model layer to
First, be sure you have had a look at the Action token methods:
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html
As to whether an ActionForm has been populated, one approach is to put
some type of semaphore in the form, that is initialized to false or
null, but that
Hi all,
To summarize my problem, I try to retrieve an internationalized message with the
bean:message tag, from a Javascript function.
The attribute key of the message tag must be a function parameter (e.g. the simple
example below).
But I always got an exception telling me that the key
Hi Friends,
We are facing a problem with image display using JSP. When the page is being displayed
for the first time then the images are being displayed correctly. However when the
same page is being displayed again (after a validation failure) the images are not
being displayed. The same is
Jim:
One of our contributors has just recently integrated Cactus with our
framework, and Struts components can be tested that way as well, and we've
used Junit for some time too. You may find some useful code for what you're
doing that way... I know he did a lot of work getting the
Sandeep,
When you specify an image src as images/foo.gif that image will be fetched
from where the context of the servlet or jsp. i.e. if the if the jsp is
/app/jsp/bar.jsp, then the image will be looked up as
/app/jsp/images/foo.gif for that jsp. Same image src will render differently
for jsp
Can you post (some of) the debug output you're getting from the Digester?
That might help us see what's going on.
--
Martin Cooper
- Original Message -
From: Sean [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 7:21 AM
Subject: Re: Re[2]: Digester
Also, I forgot to mention - since you're using the Commons version of the
digester, rather than the one built into Struts 1.0, you might want to look
to the jakarta-commons mailing list for help, since that's where the active
development is happening.
--
Martin Cooper
- Original Message
Remember that JSP is executed on the server, when the page is being
generated, but JavaScript is executed within the browser. The bean:message
tag will be evaluated before the page is sent to the browser, so you can't
pass a browser-side variable to it.
What is it that you are trying to do?
I assume you're using Struts 1.0?
What happened is that a number of pieces of Struts were recognized as having
value outside of Struts. FastTreeMap is one of those pieces. A separate
package, called Collections, was created in the Jakarta Commons project as a
home for some of these. (Other
Not quite. You need to specify the property attribute instead of the name
attribute, like this:
html:hidden property=my_hidden_field_name value=%=myId%%
--
Martin Cooper
- Original Message -
From: Heritier Arnaud [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 24, 2001
The 'form' taglib is obsolete, and actually only existed for a fairly short
period of time. You should be using the 'html' taglib instead.
--
Martin Cooper
- Original Message -
From: Ernesto Di Blasio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 5:30 AM
In the servlet section of your web.xml file, you can define an init param
like this:
init-param
param-namedate.format/param-name
param-valuedd, MMM, hh:mm/param-value
/init-param
Then, in your code, you can access it like this:
String dateFormat =
There is no debug output, there in lies the problem. I am getting nothing,
it is executing successfully but I get no objects created no nothing ... The
patterns should work, the data file is valid etc ... any ideas?
Sean
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL
14 matches
Mail list logo