I'm not sure James, you could set return an empty error object from your form and not
save the errors in your action!
If you're using validator plugin then you would probably hide these errors on clicking
reset
:)
-Original Message-
From: hermitgeek [mailto:[EMAIL PROTECTED]
Sent: Tue
Pady,
Try bean:write with filter = true?
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 1:29 AM
To: [EMAIL PROTECTED]
Subject: escaping xml..
Using Struts 1.1...
We have a jsp page that uses a html:option tag. When the data lo
Hi Richard,
I'm not sure about the look and feel but with respect to your cells property =
"row[i].col[j]"
which would invoke getRow (i).getCol (j), So probably you could have a 2d array which
returns a reference to a cell object!.
Will elaborate if needed
:)
-Original Message-
1) http://www.generali.com
2) http://www.bancagenerali.it
Bye, Fabio.
> -Messaggio originale-
> Da: Hildebrandt, Ole [mailto:[EMAIL PROTECTED]
> Inviato: lunedì 26 luglio 2004 10:37
> A: Struts Users Mailing List
> Oggetto: Struts Live Sites
>
>
> Hi,
>
> Can anyone point me to a list
Hi Vijaya,
Try using isFormField() method of FileItem interface, which indicates
whether the item is form field or not.
If it is then u can use getFieldName() and getString() on FileItem to
retrieve the form field name and value
of it in String format.
Hope this would be helpful.
For details of
On Thu, 22 Jul 2004 07:54:25 +0200, Ephemeris Lappis
<[EMAIL PROTECTED]> wrote:
> I need to access some Struts objects, like forward mappings, from a session
> listener, or other part of the application's code where no request is
> available. Is it possible, and, if it is, what is the best way to d
we also had the same need to access
the struts mappings from session listener. what we did was
we stored everything that is needed
in session listener in session before it could be required. and we know
session is accessible in sessionlistener.
If someone has a better approach, please
suggest..
Hello,
I am also facing same problem , can anybody please give any pointers how to
do it.
Regards
Shoaib
-Original Message-
From: Bharathiraja [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 9:37 AM
To: Struts Users Mailing List
Subject: Re: struts1.1 validation in nested tag ele
thannx for liking this idea, I have
received the request from many people to send the code, I'll look for theat
piece of code pass it to this list some time later in the day..
Puneet Agarwal
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Shailender Jain"
<[E
hi Cliff,
My problem is when i am trying to handle indexed properties through nested
tag.I don't know how to represent each and every field in validation.xml
file for doing validation of those fields.
- Original Message -
From: "Cliff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: T
we had a problem with validator framework (our custome validation)
but we sorted the issue by using ActionMessage instead of ActionError for
parameter
- Original Message -
From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, July 24, 2
Ok so as far as struts is concerned, if your within a module, say /user, all
actions defined in struts-config-user.xml will resolve to that directory,
for example:
would resolve to /(AppContext)/user/editPage.do
However this same functionality does not appear to exi
Is there any way to clear actionerrors in your formbean resetNow
method? For example once the logon form has been forwarded to itself
displaying errors such as an incorrect password format I would like
the user to be able to hit reset and it sets the form back to its
original state. No errors, null
I use CalendarPopup from: http://www.mattkruse.com/
It is upgraded regularly and easy to use.
> -Original Message-
> From: Brown, James [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 12:17 PM
> To: [EMAIL PROTECTED]
> Subject: Recommendations for a JavaScript date picker
>
>
> A
PUUUEEEZEE
Seriously, should I address this to another address?
Just posting again in case no one saw it.
Thanks,
Erik
Jan Behrens wrote:
Yes, please!
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 25, 2004 8:37 PM
To: Struts Us
On Thu, 22 Jul 2004 13:17:05 -0700, Claire Suttle <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on moving our current struts based server from Java 1.3 / tomcat 3 to
> Java 1.4 / tomcat 5. The forms that were working before do not seem to be working
> now - when I hit the submit button, I ju
Hi. First time post.
I have just finished a 300-400 page app and ran Buddy against for
508c. I used implicit labels and need to do explicit ones. I'm using
nested tags for most of my form elements. I need a nested label but
do not find anything that will work. Thanks in advance for your help
No, but I was overlooking something simple (virtual host setup) to do
the equivalent, in jboss-web.xml:
/
foo
Which would allow you to access your web app using:
http://foo:8080/
with no context name.
Hope that helps,
Erik
James Mitchell wrote:
Did you ever get a response on this?
--
Jam
From: "Nathan Maves" <[EMAIL PROTECTED]>
> Anyone have a quick replacement for the following?
>
>
>
>
>
>
See if this helps:
http://wiki.apache.org/struts/StrutsDeprecatedActionErrors
--
Wendy Smoak
-
T
Hi,
I am trying to change the input jsp page of my action mapping in the validate
method of my form bean using mapping.setInput() method.
Then, I get a "Configuration is frozen " error message. Can anyone tell me how i
can dynamically change the input for my action mapping during vali
i've used 'struts-workflow-1-0-3.jar' for controlling
my multi-paged wizards. these worked successfully. but
i'm facing one problem with the multiple-submit at the
last page. in this case, the same thing is saved more
than once in the DataBase.
how can i handle this with the help of any
control-f
Hi!
I want to build a dynamic form.
This is my ActionForm
public class ValoresrepetidosForm extends ActionForm {
// -- Instance Variables
/** values property */
private Map fields = new HashMap();
// -- Methods
public Object getField(String key) {
return
> Another way would be to pass the needed information as
> request parameters
> when you pop the window. It's a separate request (which is
> probably what's
> causing your initial data-passing problem) so you can send it
> ?parameters=on&the=url.
Do not want to be too paranoid, but you should be
I am having a DynaAction Form and using
tag for a list of checkboxes.
however once in check the checkboxes
based on some criteria, i am unable to un check it
on any other subsequent action.The reset
method simpley doesnt work and the dynaform bean
is in request scope..
Can anyone provide an ans
Think of a case where you have a List of people and you wanted to
create a link for each person. I would have to create n# of Maps in
the Action. If it was done in something like a forEach loop this could
be done all at once. Not sure how good of an example this is :)
Nathan
On Jul 26, 2004,
Being that I am in full agreement with this movement I still have a few
concerns.
How does struts still plan to incorporate the extension hiding. i.e
Choosing .nathan instead of .do without having to change all of the
jsp's that c:url?
Nathan
On Jul 26, 2004, at 5:15 PM, Jim Barrows wrote:
-
From: "Nathan Maves" <[EMAIL PROTECTED]>
> I know that we can use a Map to achieve this but I hate creating them
> in a jsp.
I'm puzzled... why would you create in the JSP instead of in the Action,
where presumably it wouldn't bother you as much?
Not that that answers your question, but that part
> -Original Message-
> From: Nathan Maves [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 3:56 PM
> To: Struts Users Mailing List
> Subject: html:link with params
>
>
> Are there any plans to add dynamic param to the html:link tag to give
> it the same functionality as the c:ur
Hope someone can give me some pointers here.
I need to come up with a "version 2" (i.e. improved) form for entering
data. At first blush, it does not seem out-of-the-ordinary - very
similar in look and feel to a spreadsheet. The first column has person's
names, subsequent columns represent a data
Hi,
I am working on moving our current struts based server from Java 1.3 / tomcat 3 to
Java 1.4 / tomcat 5. The forms that were working before do not seem to be working now
- when I hit the submit button, I just get forwarded to a blank page. My action
classes are not hit. I extended the Action
multi-properties is supported in server side validation but not in
client side. the message will be null or empty in the javascript.
Cliff
--- In [EMAIL PROTECTED], "Bharathiraja" <[EMAIL PROTECTED]>
wrote:
> In our project in a place we have to set multiple
properties .with the
> help of n
Anyone have a quick replacement for the following?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
I have an struts application which does the
authorisation in filters. Authorisation is done using
the request.getParameter("menu").
This filter works very fine But fails when the the
request is of enctype="multipart/form-data". i.e when
i am using the file upload in the page.
To solve this
Are there any plans to add dynamic param to the html:link tag to give
it the same functionality as the c:url?
i.e
I know that we can use a Map to achieve this but I hate creating them
in a jsp.
Nathan
-
To unsubscrib
Hello,
I'm trying to get Tiles working with JBoss 3.2.5 using Tomcat 5 but having problems.
The output below is when trying to the access the Tiles example included with the
Struts 1.1 distribution -
localhost/tiles-documentation/examples/index.jsp
[ServletException in:/layouts/columnsLayout.j
> -Original Message-
> From: Claire Suttle [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 2:33 PM
> To: Struts Users Mailing List
> Subject: Re: Submitting form does nothing
>
>
> I just downloaded the source code, and stepped through it. I
> set breakpoints
> in the init() m
Did you ever get a response on this?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 22, 2004 9:38
I just downloaded the source code, and stepped through it. I set breakpoints
in the init() method, the doGet(), the doPost(), and the process() methods.
On the pages that aren't working, none of those breakpoints get called.
Obviously I'm not familiar with the ActionServlet code...is there anywhere
Chuck,
I am not trying to be condescending but, your question is really about
how browsers process HTML and not about JSP. You can learn alot from a
book like "HTML - The Definitive Guide". For me personally, I read this
book before I started coding JSPs and it was a big help. Here is an
online
From: "Chuck Chopp" <[EMAIL PROTECTED]>
> Currently, a lot of of the data that gets entered is for fixed length
> fields, and when the data input results in one field being full, the focus
> automatically jumps to the next field as if the TAB key had been hit.
You can do that with JavaScript.
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp
> Sent: Monday, July 26, 2004 1:30 PM
> To: [EMAIL PROTECTED]
> Subject: JSP / ActionForm / Action design quesetion
>
>
> Currently, a lot of of the data that gets entered is for
> fixed length
> fiel
All of the UI quick entry features you mentioned can be accomplished using
JavaScript on the JSP, with or without Struts.
I would start by getting an HTML mockup with Javascript code that has the
desired data-entry-speeding effects and convert it to a JSP, inserting the
Struts tags from there.
On
I'm experimenting with putting a JSP / Struts front-end onto an existing
"green screen" application on a midrange system. I have JavaBeans that
serve as wrappers around the underlying code that implements the business
logic, which allows me to divorce the legacy green screen terminal I/O
inte
> -Original Message-
> From: Claire Suttle [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 12:07 PM
> To: Struts Users Mailing List
> Subject: Re: Submitting form does nothing
>
>
>
> http://newprojectid.do
>
> instead of
>
> http://localhost:8080/NewProjectID.do
>
> but
Using Struts 1.1...
We have a jsp page that uses a html:option tag. When the data loaded
into this option has special characters ( "<>;? etc ) this is not
escaped in the html that results in the form submit having no value for
the html select element. This does not happen when using JSTL ( c:out
http://dynarch.com/mishoo/calendar.epl
Brown, James wrote:
Any recommendations for a JavaScript date picker? I have taken a quick
look at struts:layout but I do not need all that it has to offer nor the
overhead. Integration into struts (and struts validation) would be
beneficial, but not require
Here are a couple from sites that I have found useful.
http://javascript.internet.com/calendars/date-picker.html
http://www.dynamicdrive.com/dynamicindex6/popcalendar2.htm
Hope they help.
Robert
>>> [EMAIL PROTECTED] 7/26/2004 2:17:20 PM >>>
Any recommendations for a JavaScript date picker?
Any recommendations for a JavaScript date picker? I have taken a quick
look at struts:layout but I do not need all that it has to offer nor the
overhead. Integration into struts (and struts validation) would be
beneficial, but not required.
-- James
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
Hi,
>> Where all the ExtendedActionServlet class does is check that
>> the user is
>> logged in. When the html:form tag has been expanded with "//" at the
>> beginning, my breakpoint in this class is never hit - it
>> doesn't even get to
>> this point.
>Bells started going off... have you tried r
bean:write has a format property. I haven't seen any documentation on
what the format syntax is, but there's every chance it supports
something along the lines of
.
Alternatively, create a derived property on your form bean and reference
that, eg
class MyForm extends ActionForm {
S
*Thanks* for posting the code! I meant to look into the link you posted earlier, since
I want such a capability, but didn't get to it.. Always knew it would profit to
procrastinate..;)
Thanks again,
Geeta
> -Original Message-
> From: Doug [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 2
Well, it does indeed seem to work. The question is whether it leaves
any lingering resources uncollected, but I'm thinking it shouldn't.
Here's my simple Struts Action that takes parameters for which file to
reload and which resources object to reload:
public class ReloadMessageResourcesAction
I'm trying to only print the first TWELVE characters in a string with the
tag , but i don't want to format the value inside the string,
just the output, how do i format the string to only show 12 characters
using the tag?
-isaac
Wow. That looks promising.
Thank you again for all of your help.
Robert
>>> [EMAIL PROTECTED] 7/26/2004 12:59:21 PM >>>
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Validation prevents
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Validation prevents Action from creating session
> scopeobject
>
>
> Thanks for the information.
>
> I have been trying to keep my validat
Thanks for the information.
I have been trying to keep my validation in one place
(validation.xml).
Is it possible to have a page that validates through XML be entered
(and initialized) through an Action?
And if so how?
Thanks,
Robert
>>> [EMAIL PROTECTED] 7/26/2004 12:43:17 PM >>>
> -Or
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:36 AM
> To: [EMAIL PROTECTED]
> Subject: Validation prevents Action from creating session scope object
>
>
> The browser displays "Error 500: Cannot find bean list
> in any scope". It
On 26 Jul 2004 17:59:08 -0400, Jignesh Patel <[EMAIL PROTECTED]> wrote:
> Can anybody write us
>
> How much maximum database connection pool bear by tomcat 5.0.19 with the
> struts framework.
>
The maximum size of a connection pool in Tomcat is configured via
Tomcat, and has nothing to do with w
I have a Struts application that acts like a "wizard" (conditionally
displaying only relevant pages and skipping others based upon previous
user input). One of my pages collects multiple instances of a single
record by allowing data to be entered and displaying previous records in
a table. To accom
test -
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It sounds like you're thinking more of a Swing type application then a web based
application. You would have to use some javascript to get the arrow keys working the
way you want. More common would be "VCR controls" at the top, with next, previous and
skip to front/end on it. There are also s
> I have two collections of objects one contains the questions, and the
second
> is place holder for answers the user is supposed to provide.
> questions is a collection of question (= id, text, type)
> answers is a collection of answer (= id, questionId, answer)
Try this thread in the archives:
h
Reddy:
Thank you for your reply. I like your second idea better and unless I hear objections
from the list, shall go with that solution, which I certainly like better than my
original one..:)
Thank you again,
Geeta
> -Original Message-
> From: Pingili, Madhupal [mailto:[EMAIL PROTECTED
Two ideas that come to mind quickly are:
1. Adjust the pool size to a reasonable limit, keeping in mind that NOT only
actual users who come to the application need a connection from pool, but
also
these background processes like listeners need a connection from the same
pool.
2. Keep a loo
I have substantially updated the wiki code for these buttons. See:
http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript
Any comments, etc. would be greatly appreciated.
-
To unsubscribe, e-mail: [EMAIL
This may be classified as OT, and if so, please ignore it or reply to me personally.
Also if this question has already been answered I would appreciate it very much if
anyone could send me a link: I can't come up with a good search criterion to
google/search for.
I wrote a HttpSessionListener f
If you are using Struts 1.1 you may be able to use the "requiredIf" rule
-- if you are using Struts 1.2 you can use the more powerful and easier
to use "validWhen" rule. Details can be found at
http://struts.apache.org/userGuide/dev_validator.html.
Christoph Kutzinski wrote:
Hi,
I like to know
For this procedure would be the best bet...Reason := Oracle will take
care of the entire operation, Instead of mutilpe database hits from the
application its better to transfer the control and processno need of
breaking it into batches also then...
Regards
Amit
-Original Message-
Fro
Toomuchnoise.
"Shailender Jain"
<[EMAIL PROTECTED]>
07/26/2004 09:18 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
Struts Users Mailing List
<[EMAIL PROTECTED]>
cc
Subject
Re: executeBatch
for (CONDITION) {insert into }
Amit Kumar Shar
for (CONDITION) {insert into }
Amit Kumar Sharma wrote:
> Dear Shailender,
>
> What type of insert are you trying to do, is it a single insert(eg:
> Insert into (select * from *)) or multiple insert (eg
> for(CONDITION){insert into})
>
> Regards
> Amit
>
> -Original Message-
> From: Shail
Dear Shailender,
What type of insert are you trying to do, is it a single insert(eg:
Insert into (select * from *)) or multiple insert (eg
for(CONDITION){insert into})
Regards
Amit
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 10:07 AM
T
This came up a few days ago. I have a page on my site that lists sites I'm aware of,
that run Struts. I have a few entries pending to be added, but if I can get to it
tonight, I'll update it.
In the interim, here's the page:
http://www.simonpeter.com/techie/java/struts/sites.html
Hope this hel
Can anybody write us
How much maximum database connection pool bear by tomcat 5.0.19 with the
struts framework.
How much maximum http connection threads bear by tomcat 5.0.19.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTE
Have you written a Stored Procedure on the database to handle your batch.
You can send an array containing all the values you need to insert/update
via the batch.
It will help you to cut down / lower execution time significantly, i.e.,
improve performance.
You can also try to pass the array of val
What is the problem with your current performance?
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 6:37 AM
To: [EMAIL PROTECTED]
Subject: executeBatch
Hi,
I want to insert some 3000 records in the database.
I tried using executeBatch() t
You should try a DB list, maybe informix DB list, this is a Struts list.
.V
[EMAIL PROTECTED] wrote:
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 10:07 AM
To: [EMAIL PROTECTED]
Subject: executeBatch
Hi,
I want to insert some 3000 records in
I am perfectly in sync with Matthew.
For shailendar's problem, I am looking into the format in which batch
request goes to database so that we could limit the number of characters
of this is issue.
- regards
Raj
(+91-11-31261821)
-Original Message-
From: Matthew Ryan [mailto:[EMAIL PRO
Hi,
I like to know if someone has successfully used the validation framework
to select rules based on a "free" context.
My problem is this:
I have a registration wizard for a product that has different variants
(for individuals, for companies, ...)
Now I want to reuse the wizard's JSPs, ActionFo
I had to insert 1,300,000 records the other day in one hit. first I used
Statements, then PreparedStatements, both took time.
Then I just used piped the files in from the shell. The difference was
unbelievable. Do you have to use Java?
If it is a one-time, hit and run, get them in there, then you
Internet livesites
www.22ban.com
www.22banmall.com multi-lang korea - upcoming
www.partners.tutubanmall.com - restricted
intranet-based
a CRM, sales & ordering sytem, Accounting... etc...
- Original Message -
From: "Hildebrandt, Ole" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[E
Thanks!
Erik
Raghuram Kanadam wrote:
Try org.apache.struts.taglib.html.FormTag.java Line 513, 636?rendered under the hidden paramter
"org.apache.struts.taglib.html.TOKEN"
If the form tag finds a token saved (can be done by calling saveToken in the action class) it automatically renders it under
Try org.apache.struts.taglib.html.FormTag.java Line 513, 636?rendered under the hidden
paramter
"org.apache.struts.taglib.html.TOKEN"
If the form tag finds a token saved (can be done by calling saveToken in the
action class) it automatically renders it under as a hidden parameter undere
Hi,
Can anyone point me to a list of livesites implemented with struts? I know
there must be hundreds! I need some reference projects to convince our
costumer that struts is ready for production.
Thanks for any info
Regards
Ole
-
http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=user_struts_apache_org&restrict=&exclude=&words=Prepopulating+forms
Raghuram Kanadam wrote:
Thanks Erik!
I'm not very sure that but could just understand what you wrote later. It could be true that the ActionForm was al
Thanks Erik!
I'm not very sure that but could just understand what you wrote
later. It could be true that the ActionForm was always intended as the target of a
submit, and values are to be retrieved from a VO for display.
I would not totally agree with this either, as too many
Kataria, I must have been trying too hard. ;) These two methods worked fine.
Thanks,
Erik
Kataria, Satish wrote:
The synchronizer token pattern in struts is typically used for avoiding
double submits
The method savetoken() creates a unique token and stores it as a hidden
field.The call to this me
ok.
you are asking how i calculated the Time.
I calculated the results using the
System.out.println(new java.util.Date());
This i picked from logs only.
[EMAIL PROTECTED] wrote:
> If you can write some debug information in to the logs [use system.out.println], it
> will create log in the \t
If you can write some debug information in to the logs [use system.out.println], it
will create log in the \tomcat\log\localhost-DATE.log file.
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 12:36 PM
To: Struts Users Mailing List
Cc: [EMAI
Only 8 seconds!!!
The records i am trying to insert are simple. Some 11 comluns values needs to be
inserted.
What set up i needs to check?
How to check the leakage of resources?
Also want to share that when i increased the batch size to 500, i got this Error
"Statement Length Exceeds Maximum"
Where does the log gets generated.
I am using Struts with Tomcat 5.0.16.
Is there any configuration which i need to change so that some log gets generated.
I checked the catalina.out generated by Tomcat but there was nothing i could see there.
[EMAIL PROTECTED] wrote:
> Wot does log say ??
>
>
Hi Shailender,
As per me, even 100 records performace is not optimum for your case.
Please check the setup (configuration) and leakage of recourse if any.
It should not go more than 8 seconds.
But yup, it will highly depend on the content you updating.
- regards
Raj
(+91-11-31261821)
-Orig
91 matches
Mail list logo