Hello,
The Struts way to initialize a form with values retrieved in an Action is to
populate an ActionForm with the values that were retrieved (e.g. by using
PropertyUtils:copyProperties()) in the Action (viewDocument.do) itself.
So not in the reset() method, as the main purpose of this method
Since read access still predominates, I'm interested in code design patterns
that do not require locks for reads, but still deal with writes safely. Anyone
have any good pointers?
One approach is to use a readers/writers scheme where
the readers are preferred, allowing
I sent in a patch a couple of months ago.. check the archive (?).
[EMAIL PROTECTED] on 15/12/2000 19:39:21
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Ken X Horn)
Subject: Re: nested and indexed properties in 1.0?
Matthias Kerkhoff wrote:
Is 1.0 going
Is this a problem of weblogic and if so did any body
report it to Bea already?
--- Wong Kok Wai [EMAIL PROTECTED] wrote:
WLS 5.1 SP 7 has been released and Struts example
almost work of the box except the
ApplicationResources.properties is not unjarred from
the WAR lke the class files. So
Why does the 'form:form ...' tag strip any text before the final
forward-slash from the 'action' attribute before looking up the
ActionMapping? It seems to me that this makes it impossible to use actions
whose path contains a forward-slash.
For example, I would like to have a URL of the form
Would anybody else find it useful if the 'bean:message ...' tag was
modified to allow it to read a message key and arguments from a bean? What I
propose is to add an optional 'name' attribute to the tag that identifies
the bean to use. If this attribute is not set the tag behaves as it
currently
Annexed is an overview of the Struts architecture that I put together
for my spec. I'd be very interested in any comments or criticisms, or
anything I've got totally wrong. Of course, if anyone wants to use any
part of this for their own project, please do.
I'm now dissecting the example
On Mon, 11 Dec 2000 22:25:59 -0800 Eric Brown writes:
Ill let all know the results of the research my staff and I pursue
in the following weeks, but Id welcome any feedback from users of
these frameworks from architect, business layer development, UI
layer development and ops
Can I get at least a pointer to documentation about how to do this?
thank you in advance,
juan
-Original Message-
From: Juan Gargiulo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 5:58 PM
To: [EMAIL PROTECTED]
Subject: file upload
Hi,
I'm trying to use the file upload
Juan,
I'll contribute a small example to struts on how to use the file
upload/multipart request package
-Original Message-
From: Juan Gargiulo
To: [EMAIL PROTECTED]
Sent: 12/18/00 1:08 PM
Subject: RE: file upload
Can I get at least a pointer to documentation about how to do this?
I'm getting the following error while trying to build struts from
jakarta-struts-20001217.zip.
My classpath is:
c:\;.;c:\jdk1.2.2\jre\lib\rt.jar;c:\Ant\lib\jaxp.jar;c:\Ant\lib\parser.jar;C
:\xalan-j_1_2_2\xalan.jar;c:\Ant\lib\optional.jar;c:\xalan-j_1_2_2\xerces.ja
Title: iterate tags, I don't get it.
Can someone point me either to somewhere in the example app where iterates are used, and if not, give me a short rundown on how the iterate tag relates to beans created in the Action classes?
Thanks
-
Mike
I'm all for having sections for developer products.
Also a reminder that Dan Mandell is planning to submit his tag library
integration with UltraDev to jakarta-taglibs. He said something about
doing it over the break, but we will see :-)
- eduard/o
Richard Hart wrote:
I would
From: Ted Husted [mailto:[EMAIL PROTECTED]]
On 12/18/2000 at 5:57 PM Oleson, Rex wrote:
as an example lets say that I have a user registration page. If the
user inputs some bugus information I would like to return
them to that exact area of the page that they need to correct
the
Title: iterate tags, I don't get it.
On 12/18/2000 at 6:02 PM Mike Campbell
wrote: Can someone point me either to somewhere in
the example app where iterates are used, and if not, give me a short rundown on
how the iterate tag relates to beans created in the Action classes?
The winner is
Ted Husted wrote:
another way to do this would be by changing the form's focus to the
"first" invalid field. ... Not that I know how you would actually do
that ...
On 12/19/2000 at 12:45 AM Geoffrey Simmons wrote:
You can do that with Javascript, and I'm relatively certain that it's
the only
On 12/19/2000 at 2:12 AM Matthias Kerkhoff wrote:
If present, the form tag generates a little JavaScript, that sets the
focus to the form field named like the "focus" attribute.
The form attribute is still current, and used in the example
application. But how would you change it in response to
Dan Cancro wrote:
I'm getting the following error while trying to build struts from
jakarta-struts-20001217.zip.
My classpath is:
c:\;.;c:\jdk1.2.2\jre\lib\rt.jar;c:\Ant\lib\jaxp.jar;c:\Ant\lib\parser.jar;C
:\xalan-j_1_2_2\xalan.jar;c:\Ant\lib\optional.jar;c:\xalan-j_1_2_2\xerces.ja
Ted Husted wrote:
Ted Husted wrote:
another way to do this would be by changing the form's focus to the
"first" invalid field. ... Not that I know how you would actually do
that ...
On 12/19/2000 at 12:45 AM Geoffrey Simmons wrote:
You can do that with Javascript, and I'm relatively
Jannik Nørgaard Steen wrote:
Hi,
I've continue to have problems with parsing the struts-config.xml. As Craig
pointed out I've now included
the missing DOCTYPE-element in the struts-config.xml.
From the stacktrace below you can see that the ActionServlet tries to locate
a dtd from a
Perhaps an interstitial jsp like this?
%
String url = request.getParameter("url");
String anchor = request.getParameter("anchor");
String whereTo = url + "#" + anchor;
response.sendRedirect(whereTo);
%
referenced in action.xml as:
...
21 matches
Mail list logo