Folks,
I've requested a block on all those AUTO messages, so it should quiet down
soon. Please, no more follow-ups on that thread - it only makes the noise
worse, and doesn't help anyone. We can all see there's a problem!
--
Martin Cooper
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your
mail and assure you of a response shortly.To help us serve you better, we would
request you to kindly mention your account number or any reference number you may have
in your future correspondence. Kindly
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your
mail and assure you of a response shortly.To help us serve you better, we would
request you to kindly mention your account number or any reference number you may have
in your future correspondence. Kindly
I just guess the problem. ActionForms can have only two different levels of
scope: request and session.
When I put in the mapping tag scope=page it doesn't understand it and it
uses scope=session beacuse this one is the scope by default.
Alvaro Martinez
- Original Message -
From: Alvaro
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your
mail and assure you of a response shortly.To help us serve you better, we would
request you to kindly mention your account number or any reference number you may have
in your future correspondence. Kindly
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your
mail and assure you of a response shortly.To help us serve you better, we would
request you to kindly mention your account number or any reference number you may have
in your future correspondence. Kindly
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your
mail and assure you of a response shortly.To help us serve you better, we would
request you to kindly mention your account number or any reference number you may have
in your future correspondence. Kindly
Hi,
My 2 cents..
For the first half of your query, you can use JMX timer. Best way to do
that
Is to write an MBean that register itself with the timer and eventually
receive notifications.
You can make so that the 'object htat needs to be updated all the time'
is
A listener to
What you are describing almost sounds like a good use of JSF--
If you have 5 forms on a page, separate, do you want to save the state of
the other 4 forms if submit is sent for one of them?
-Original Message-
From: Mathew, Manoj [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29,
Create a bean with a list of tasks to complete and have a thread execute
them and then have a getter that will respond with the total tasks over
tasks completed.
-Original Message-
From: Martin Gross [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 11:20 AM
To: Struts Users
Quoting Martin Cooper [EMAIL PROTECTED]:
The struts-user list is being spammed with dozens of bogus messages. The
titles vary slightly, including the subjects of prior messages to the
list. Here's what we're seeing:
http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=%3CAUTO%3Eq=t
Can
_
From: Nigel Barrett [mailto:[EMAIL PROTECTED]
Sent: 29 January 2004 14:38
To: '[EMAIL PROTECTED]'
Subject: Redirect and request params question
Hi,
I have a table based site where a page is made up of a number of forms.
I want to have a separate action and form class
Actually my real issue is i have a huge volume of data to deal in a page.So my Action
form was very huge. Then i thought of using multiple forms.I would appreciate if you
can suggest me some other ways to deal this issue.
Right now i have aroung 170 form elements, hence 170 * 2 methods(getters
I would put it all in one action form instead of splitting it up.
Husted.com has a tip on staying away from making your action forms too
specific.
There might be a way to have child objects of a main parent form (which is
what you reference in your action mapping). I've never tried it, but I
Manfred Wolff wrote:
Vinicius.
I think having objects in the session is no good solution. It might have
a little bit of global variables, but thats only my 0.02$. I try to
group objects into own contexts - I call it action-contexts, and allow
actions only write information in these context.
Hi all.
I have a few questions I've posted to the list recently that have not been
answered. 2 of them are somewhat important, and I was wondering if anybody
had any insights. I will simplify the questions in this message and include
a link to the full description.
First - how can I have
hi marco,
thanks for the information. I will check JMX.
Regards,
Martin
Hi,
My 2 cents..
For the first half of your query, you can use JMX timer. Best way to do
that
Is to write an MBean that register itself with the timer and eventually
receive notifications.
You can make so
How would I get the results from the getter to the browser if I want
them regularily? With a meta-refresh in the html page? Or some kind of
keeping the connection or response open?
Create a bean with a list of tasks to complete and have a thread execute
them and then have a getter that will
The only way to force a client to update is to do a meta-refresh in the
html. The other thing you can do is setup a callback handler, so you can
have Bean A, listen for events from you task thread, telling you when things
are completed. You in turn, ask Bean A for information that it receives as
I'm trying to work with an unusual ActiveForm bean in Struts. The bean
contains a collection of objects called ItemBean. Each ItemBean
contains (among many other things) a collection of beans called
PriceBean. In my HTML form I want to show each price for each item. So
I coded something like this
First - how can I have multiple forms on the same page all use javascript
validation? The javascript that struts prints out for each form conflicts
with each other, and causes only the last form's validations to work.
Originally asked here:
Thanks, I think I will do it this way.
I do not know how they managed to do that: But I saw in another webapp
that the application did send some kind of continuing response to the
browser. The resulting page kept on growing with the messages until
all tasks were finished. It was the same effect
-- The only way to force a client to update is to do a
-- meta-refresh in the
-- html.
and what is whith asynch pushing of data from server to client ?
IMHO it is possible, but not simple, however interesting :).
Slobodan
-
I've been looking at using JSF for our next large project. A lot of what we
want to do for managing state would be in the session scope, treated like
controllers.
My question is: how can I know when these beans are initialized and is there
any way for me to manage their lifecycle through
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi guys...
Sorry I wasn't able to get back to you immediately on this question I had asked... I
was pretty busy on other things and had asked my friend to work on the same... The way
he had implemented was by using the Apache Commons HTTP Client... Here is code
snippet... It's very simple...
When using the ValidationPlugIn where should the
ApplicationResource.properties page be placed? Is anywhere on the
classpath sufficient?
-K
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I'm trying to work with an unusual ActiveForm bean in Struts.
The bean contains a collection of objects called ItemBean.
Each ItemBean contains (among many other things) a collection
of beans called PriceBean. In my HTML form I want to show
each price for each item. So I coded something
store it in
/WEB-INF/classes
when in config is:
message-resources parameter=ApplicationResources /
or in
/WEB-INF/classes/com/foo/bar/
when in config is:
message-resources parameter=com.foo.bar.ApplicationResources /
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf
Hi,
I use declarative Exception handling for my Struts
application in 2 places - struts-config.xml and
web.xml.
I use the following in my Struts-config.xml:
##
global-exceptions
exception
key=error.exception
I have a page where I need to submit a form with a variable number of
image buttons. I have been successful with using the ImageButtonBean
util to parse the parameters in the request for a single image button. I
have also been successful using the list-backed action forms for
variable numbers
Don't know if this helps or not but I'm using the onclick event of the input
to set a hidden form property that carries back to the bean via reflection.
Jay
- Original Message -
From: Bradford Holcombe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 12:54 PM
Hi
I have a process which takes about 30 seconds, i want
to show some kind of image or disable the submit
button untill the process is complete and tell user
that the process is running
How can i do it, i m using struts1.1
any code example or article will greatly help
Ashish
(Some thing like the
I am wondering how to solve the following problem with a minimal amount
of recoding, and hope someone can give some input. I have a form the
has three html:submit buttons -- Update, Cancel and Delete. I am
using a LookupDispatchAction and an ActionForm with the validation in
the validate()
What's the name of your Cancel button? Struts should not validate
if it finds org.apache.struts.taglib.html.CANCEL or
org.apache.struts.taglib.html.CANCEL.x
Take a look at the RequestProcessor.processValidate() code:
if (request.getAttribute(Globals.CANCEL_KEY) != null) {
if
The Struts Validator provides a mechanism to deal with Cancel buttons. A
flag is set in the onclick method for the cancel button in the jsp page. The
validate methods check this flag and if it is set, they skip validation and
just return true.
html:cancel onclick=bCancel=true;
If you're not
I'm assuming that you've at least specified distinct values for the
method attribute for each use of html:javascript?
http://jakarta.apache.org/struts/userGuide/struts-html.html#javascript
(Actually, looking at the doc I see that the process when this isn't
specified should result in unique
Your request was not completed because the newsletter [EMAIL PROTECTED] could not be
found.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This looks like what happens if the the browser gives up on the reqest in
question and makes a new one. I don't use Websphere so I can't be sure, but
the Tomcat error in that situation is very similair.
Try and reproduce it in development - make a request to your app then
navigate anywhere else
Hi all,
I had to delete my application's temporary directory in Tomcat's
\work\Standalone\localhost because it was not running using my latest compiled files.
Now when I access my application I get the following error and I don't have a clue why
that is so! Any ideas?
Thank you for your
Havent used it yet myself so dont have any code to show, but struts provides
a token based mechanism which can be used to detect when the same page has
been submitted twice and thus take appropriate action (such as showing an
error message).
Have a look under 'tokens' in the struts documentation,
pak
chooie
unf
Im sorry Dave. I cant do that.
/unf
/chooie
/pak
-Original Message-
From: Chen, Yuan [mailto:[EMAIL PROTECTED]
Sent: Friday, 30 January 2004 08:01
To: [EMAIL PROTECTED]
Subject: Please unsubscribe [EMAIL PROTECTED]
Your request was not completed because the newsletter [EMAIL PROTECTED] could not be
found.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How can I send email with a file created on the fly using Struts?
Thank you
Clement
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I see an action that uses the JavaMail API in your future.
Nice little QuickStart article can be found here:
http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail-p1.html
-Original Message-
From: hhlow [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 9:41 PM
To:
Hi all,
How can i cache XML object in my web application?I dont want to always read the
xml file for constructing XML objecti also need a way to check weather there has
been any changes between the existing object in cache and xml file???Iam using jdom
Thanks
Prashanth
1. Create the file
2. Email it
(duh!)
Struts is a web ui framework. It's not about email and all that, so its not
really a question of how to do it 'with struts', but more a case of *where*
to do it in a struts app - and that depends on when your sending the mail
(interactive or batch).
Go take
Im not familiar with JDOM, but Ive had to do some DOM caching for standard
DOMs (with Xerces DOM impl) which proved to be a pain, as xerces DOM objects
arent thread-safe - even for reading apparently - which meant I had to clone
it from a synchronized block (thus eliminating most of the benefit of
I use error-page to do global error handling. It works perfectly for
ServletException. I can see the eror page displayed properly. But for
IOException, It does not work, I can only see a blank page.
Here is part of my web.xml:
error-page
!-- This is to catch any ServletException --
Hi!
I am not much aware of the application's temp directory part.
But, it seems that you have accidentally deleted the struts-logic.tld file
in WEB-INF folder.
Richie
At 01:26 AM 1/30/2004 +, you wrote:
Hi all,
I had to delete my application's temporary directory in Tomcat's
Hi,
Shall i use two form beans under one action. Is it possible. I am having
1) LoginForm
2) LoginAction
3) RequirementForm
Here when the users login, i want to display the home jsp, caontains menu. For
that i am having username and password fields in
Hi !
No problem will occurs by deleting the files in work folder. If u
restarted the server then it will have new compiled files.
i thought your tld file for struts-logic is corrupted. So relace
that one. It will work
Ram
-Original Message-
From: shankarr [mailto:[EMAIL
Hi,
I am looking for an example of how to setup and access struts modules.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You can use VelocityEmail or VelocityHtmlEmail which are part of
turbine.
http://jakarta.apache.org/turbine/turbine-2.3/apidocs/org/apache/
turbine/util/velocity/package-frame.html
Since these are the only classes that I use from turbine, I just removed
these along with commons-mail that is used
Hi andrew,
Iam using xml for displaying,deleting,updating and adding categories in a tree like
hierarchy...so i need to cache it as it will be pain to read the same xml file again
and again even though it has not changed[Will be in most cases]so how to go abt
it???
Thanks
Prashanth
Hi Struts Users
Has anybody tried and implemented the
StrutsEJB framework?
What are its advantages and disadvantages
over Struts?
Thanks in advance.
Regards
AvinashDISCLAIMER: The information contained in this message is intended only and solely for
the addressed individual or entity
Hi,
i want to develop a solution using Struts and EJB .. could
anyone give me URLs to download and tutorials maybe about this
StrutsEJB.
I would be really thankful, thanks in advance.
Regards,
Farrukh.
[EMAIL PROTECTED] writes:
Hi Struts Users
Has anybody tried and implemented the
Hello,
Please, may someone provides me with informations or examples on howto create
new modules, configure the struts config, and accessing and switching between
modules.
Thanks in advance.
-
To unsubscribe, e-mail: [EMAIL
101 - 159 of 159 matches
Mail list logo