Hi,
I have implemented the connection pooling provided by Struts for
developing my application.
The application after going live gets hang quite frequently.
The problem may be related to connection not getting closed for some
transactions.
All the transactions takes atleast 1 minute to complete.
Thanks so much Bill, that worked beautifully.
Regards,
John
|-+>
| | Bill Siggelkow |
| | <[EMAIL PROTECTED]|
| | th.net> |
| | Sent by: news|
| | <[
On Fri, 9 Jul 2004 14:44:08 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: cliff [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 08, 2004 9:34 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: use multiple resource bundles in Validator
> >
> >
> > I have
Thanks, Bill Siggelkow
At 10:14 AM 7/9/2004, you wrote:
http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Hookom, Jacob wrote:
You threw me for a loop with replying so late to that email--
It just comes down to giving the developer the ability to scale their own
layers with JSF like you said below. If I want ActionForms, then I will
have JSF update request/session scope beans that are only for the vie
> -Original Message-
> From: cliff [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 08, 2004 9:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: use multiple resource bundles in Validator
>
>
> I have tried 1.2 but it cannot work.
> could anyone tell me how to do ?
Well according
I have tried 1.2 but it cannot work.
could anyone tell me how to do ?
Thanks a lot
From: "Jim Barrows" <[EMAIL PROTECTED]>
Date: Fri Jul 9, 2004 4:37 am
Subject: RE: use multiple resource bundles in Validator
> -Original Mes
Thank you Susan
I have register two properties in my config.xml. I want to use this
two properties in my vaidation.xml and genterate the checking
javascript in jsp.
Key is set in config.xml and bundle is set in validation.xml.
But it cannot return the message what I want.
Could anyone can tel
I have tried 1.2 but it cannot work. It only return null. Could you
tell me how to use it ?
Thx
Here is my config
in config.xml
--
in validation.xml
--
in ClientApplicationResources.properties
prom
If you're referring to "Logging in Java with the JDK 1.4 Logging API and Apache Log4j"
by
Samudra
Gupta it is in stock at www.bookpool.com http://www.bookpool.com/.x/qd5bmk6xx1/ss/1?
qs=log4j&Go.x=13&Go.y=9 and available for $31.50.
Regards,
Danton
> Is there a place to get the log4j book, and
It seems to be available only from the author's web site, at least
that's the only place I could find it. IMHO, the book is worth the
price.
jim
On Jul 8, 2004, at 4:47 PM, Michael McGrady wrote:
Is there a place to get the log4j book, and is it worth the rather
hefty price? Seems like everywh
http://struts.apache.org/userGuide/building_controller.html
Section 4.10
Don
On Fri, 09 Jul 2004 10:12:28 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
> At 07:57 AM 7/9/2004, you wrote:
> > > The new wildcard support would also work, but only if all the root
> > paths worked this way.
> > >
FYI
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Erik Abele" <[EMAIL PROTECTED]>
To: "James Mitchell" <[EMAIL PROTECTED]>
Cc: "Infrastructure Apache" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Frid
Dear all,
I have tried innumerable number of times to unsubscribe from this mailing
list. I am unable to.
I successfully managed to unsubscribe two other mailing lists of Struts. But
not this one.
Every time I send an email to "[EMAIL P
Your request was not completed because the newsletter "**" could not be found.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dear all,
I have tried innumerable number of times to unsubscribe from this mailing list. I am
unable to.
I successfully managed to unsubscribe two other mailing lists of Struts. But not this
one.
Every time I send an email to "[EMAIL PROTECTED]" EI dont get a response back.
Can so
From: "Hubert Rabago" <[EMAIL PROTECTED]>
> So... does this mean the limericks on the StrutsHaiku page should be
moved?
> (Separation of concerns?)
Certainly! (It's a Wiki, you don't have to ask permission.) Just keep in
mind that every time you update a Wiki page, it sends an email to the dev
l
Done.
Wendy Smoak wrote:
Well... it *is* Friday, after all:
http://wiki.apache.org/struts/StrutsLimerick
(Can somebody fix the line breaks?)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
So... does this mean the limericks on the StrutsHaiku page should be moved?
(Separation of concerns?)
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Bill Siggelkow" <[EMAIL PROTECTED]>
> > There once was a web application
> > That used Struts for its implementation
> > The Boss said "Go Code
From: "Bill Siggelkow" <[EMAIL PROTECTED]>
> There once was a web application
> That used Struts for its implementation
> The Boss said "Go Code It!"
> Now the developer who wrote it,
> Spends all of his time on vacation.
Well... it *is* Friday, after all:
http://wiki.apache.org/struts/StrutsLimer
okay some wrong key i pressed! so to continue:
on body onload
onload="location.hash='newBlock'";
>
does the trick for me!
ATTA
- Original Message -
From: "atta-ur rehman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, July 09, 2004 11:28 AM
S
Another entry for the StrutsHaiku page.
http://wiki.apache.org/struts/StrutsHaiku
--- Bill Siggelkow <[EMAIL PROTECTED]> wrote:
> There once was a web application
> That used Struts for its implementation
> The Boss said "Go Code It!"
> Now the developer who wrote it,
> Spends all of his time on v
Hello Glenn,
I've used a little javascript to the trick; though i'm sure there must be
some better way of doing it:
have an anchor in your jsp:
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 09, 2004 10:55 AM
Subject: # anchor
> Hi,
>
> This
From: <[EMAIL PROTECTED]>
> However, the user would like to have the page move down a little so the
> that the report section is more apparent.
> I have tried to use the # anchor but keep getting page not found...
The # is probably in the wrong place in the URL, what have you tried that
doesn't wo
There once was a web application
That used Struts for its implementation
The Boss said "Go Code It!"
Now the developer who wrote it,
Spends all of his time on vacation.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
LOL
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 1:41 PM
> To: Struts Users Mailing List
> Subject: Re: [EVIL] Modifying a request parameter
>
>
> Jim Barrows wrote:
>
> > Then of course there's the attribute oriented programming
Hello Damien,
have a new class called row:
public class Row {
private List items;
public Row(int size, String defaultValue) {
items = new ArrayList(size);
for (int i = 0; i < size; i++) {
items.add(defaultValue);
}
}
public Row(int size) {
this(size, "");
}
public List getIte
/*
* @application name="myApp" makewhen="NOW" generate="TheEntireThing"
requirements="readMindOfClient"
*
*/
java.lang.IoException: stream is null
at com.unist.plot.Client.readMind(Client.java:666)
at com.unist.plot.AppGenerator.generate(AppGenerator.java:666)
... 66
Hi,
This is what I have defined:
What happens is that the Page.do allows a user to enter report parameters.
The PageSubmit.do builds the report and then returns the report to the
Page.do.
Once here, the user has the report parameters at the top and the repor
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 10:41 AM
> To: Struts Users Mailing List
> Subject: Re: [EVIL] Modifying a request parameter
>
>
> Jim Barrows wrote:
>
> > Then of course there's the attribute oriented programming
> stuff
Jim Barrows wrote:
Then of course there's the attribute oriented programming stuff that I like a lot put the configuration in the java classes and have them generated... that puts everything back into one place again, while keeping the ease of configuration the technology promises.
I can't wai
Here's a concrete example. First, the Java class:
public class JvmtiSize {
public static native long getObjectSize(Object o);
public static void main(String[] args) {
String s = "Hello, world!";
String[] sa = { s };
System.out.printf("s: %6d bytes\n", getObje
Oh thank goodness. Its not just me who couldnt parse it. I thought for a moment my
brain was having a buffer overrun or something.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Saturday, 10 July 2004 01:17
To: Struts Users Mailing List
Subject: Re: country state
I believe he said "it only rains in the summer years over a banana".;)
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Bill Siggelkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 09,
http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards
Michael McGrady wrote:
At 07:57 AM 7/9/2004, you wrote:
> The new wildcard support would also work, but only if all the root
paths worked this way.
>
> >
> > path='/*'
> > type='com.crackwillow.struts.action.Forw
At 07:57 AM 7/9/2004, you wrote:
> The new wildcard support would also work, but only if all the root
paths worked this way.
>
> >
> > path='/*'
> > type='com.crackwillow.struts.action.ForwardAction'
> > parameter='{1}'/>
Does anyone have a quick reference to some documentation on this "new
wil
Exsqueezeme?
Jignesh Patel wrote:
Thanks,
For information but we are facing one more problem we are able to set
with java script but while givin form update feature it is not working
as expected.
-Jignesh
On Fri, 2004-07-09 at 09:21, Bill Siggelkow wrote:
There are several different ways of handlin
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 9:42 AM
> To: Struts Users Mailing List
> Subject: Re: [EVIL] Modifying a request parameter
>
>
> Jim Barrows wrote:
>
> > No offense but... better you then me :) *LOL*
> > I have someone at
--- Darryl Smith <[EMAIL PROTECTED]> wrote:
> Has anyone got the two to work together?
>
In my ApplicationResources.properties file, I have entries such as:
lookupDispatchParameter=action
button.signin=Sign In
button.image.signin=/images/standardButtons2/signin.gif
My header.jsp file makes t
Rick Reumann wrote:
Bill Siggelkow wrote:
Okay -- now I am confused -- if I use your approach I get ...
javax.servlet.ServletException: Cannot find bean esami in any scope
I have to specify the name of the form as the value for the 'name'
atrribute of logic:iterate
Are you sure you have the itera
Jim Barrows wrote:
No offense but... better you then me :) *LOL*
I have someone at work who loves configuration files, because the increase
flexibility..
which is cool, BUT silly putty is flexible too, but you wouldn't want to build a house
with it.
Actually this is one of my concerns as ever
Thanks,
For information but we are facing one more problem we are able to set
with java script but while givin form update feature it is not working
as expected.
-Jignesh
On Fri, 2004-07-09 at 09:21, Bill Siggelkow wrote:
> There are several different ways of handling this ... the easiest is to
>
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 9:20 AM
> To: Struts Users Mailing List
> Subject: [EVIL] Modifying a request parameter
>
>
> String[] foo = request.getParameterValues("foo");
> foo[2] = "you"; //Naughty naughty. Very naught
I've been playing around and I know that it's a suffix mapping if
request.getPathInfo == null, more investigation ensues.
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 11:16 AM
To: Struts Users Mailing List
Subject: RE: [OT] Get Servlet Map
String[] foo = request.getParameterValues("foo");
foo[2] = "you"; //Naughty naughty. Very naughty. Wicked! Absolutely
outrageous mate! ;->
In hindsight an odious but obvious and doubtlessly documented hack, yet Ive
spent four frustrating hours figuring out how my poor parameters were
getting malic
There is a value attribute in the tag
>From what I understand you have a form bean that has id and parentId
as properties.
You have a child object with an id property, and you have a parent
object with an id property.
So you could have
and
That is, you can do this if you use JSTL. You can
I wrote a simple test.
VO.java is a simple value object class with a couple of Strings and an
int as instance fields.
SerTest.java creates a number of instances of VO, inserts them into a
HashMap, and then serializes the entire map to a ByteArrayOutputStream.
Finally it prints the length of the
I think you would have to define the mapping that exists in web.xml for that
servlet in one of that servlets init parameters. I don't believe its explicitely
available through an API call.
robert
> -Original Message-
> From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 0
Hi !
I wanted to know if there was any direct way to use a input field
getting the value from a request bean that has a different property name
than the form bean.
for example : Form Bean has 2 property id and parentId
in my JSP page request I have 2 objects of the same type and I want to
popul
Bill Siggelkow wrote:
Okay -- now I am confused -- if I use your approach I get ...
javax.servlet.ServletException: Cannot find bean esami in any scope
Is because you have to declare it on the struts-config.xml file
but read below I wrong...
I have to specify the name of the form as the value f
Hey all, does anyone have any ideas of how to get the Servlet mapping during
runtime? So if I were inside of a servlet, I want the mapping for it when
handling the request. I can't assert suffix parsing of the request URI.
Thanks for any ideas in advance :-)
Jacob Hookom
Senior Analyst/Pro
From: "Andrew Close" <[EMAIL PROTECTED]>
> when you have multiple forms on a JSP and one of those forms is
> submitted, do the values on the other form get sent to the action
> class that was submitted to?
Not with plain old HTML... probably would require JavaScript.
I can see having two forms on
This may help, although its a modification of DispatchAction not LookupDispatchAction
http://issues.apache.org/bugzilla/show_bug.cgi?id=19925
robert
> -Original Message-
> From: Darryl Smith [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 11:22 AM
> To: Struts Users Mailing List
>
Andy:
Short answer(s): No, the values on each form get submitted to just that Action class.
And if you want the values of the other form to be submitted too, then won't it be a
good idea to add those as fields of the first form in the first place? If you can't do
that for some reason, you will
At 11:24 PM 7/8/2004, you wrote:
If you've "cheated" on the separation of concerns issues in your
existing app, this is going to seem harder.
Boy, HOWDIE! This is so often the case. The whole reason for separation
of concerns just jumps out at us during these situations.
--
Has anyone got the two to work together?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bill Siggelkow wrote:
Okay -- now I am confused -- if I use your approach I get ...
javax.servlet.ServletException: Cannot find bean esami in any scope
I have to specify the name of the form as the value for the 'name'
atrribute of logic:iterate
Are you sure you have the iterate taking place insid
Hello,
I can't find how to implement a form which include n*m checkbox.
I would like to get :
doc1doc2doc3... docn
client1 x x x
client2 x x x
client 3x x x
...
client m
By reading up on this:
http://www.w3schools.com/html/html_forms.asp
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Andrew Close" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 09, 2004
At 03:16 PM 7/8/2004, you wrote:
Sounds like you should get a new xml editor if you care about file real
estate.
BAL
Hi, BAL,
Highball?
A fundamental aspect of good programming is to avoid mindless
repetition. That is what this post was about. You have focused on another
unrelated aspect. I pr
Okay -- now I am confused -- if I use your approach I get ...
javax.servlet.ServletException: Cannot find bean esami in any scope
I have to specify the name of the form as the value for the 'name'
atrribute of logic:iterate
Davide Gurgone wrote:
Bill Siggelkow wrote:
Davide,
Maybe I am doing some
Hi,
when you have multiple forms on a JSP and one of those forms is
submitted, do the values on the other form get sent to the action
class that was submitted to?
i have two forms, two actions on one JSP. when i trigger the event to
submit one form, will that receiving action also get the values
First of all, is your directory name really "web-inf" or the correct
"WEB-INF"? You will have numerous problems if the real directory name
is "web-inf".
You might add "-verbose:class" to the JVM command line to see if
ActionServlet is being loaded from another classloader and location.
> -Or
Yes, this is the exact use case for the wildcard feature. The search
order when trying to find an action mapping goes 'exact match' ->
'wildcard in order listed' -> 'unknown'. Therefore, you could define
several generic wildcard mappings to match most requests but still be
able to write specific
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 4:48 PM
To: Struts Developers List
Subject: Re: FW: HELP FROM THE ADMINISTRATOR re: Brian Husted not
available
The last time I tried to do this, the ezmlm tools didn't want to work
for
me. Thi
Bill Siggelkow wrote:
Davide,
Maybe I am doing something wrong but I have had problems getting indexed
=true to work for arrays on the form -- it works correctly for arrays of
a nested property of form.
For example, if I were to use what you suggested I get something like:
Hi Duncan,
I have followed your instructions. I have created two properties file exactly how you
specified in your article.
Then at the end the article says
'Once these properties files are configured and added to your project, the unwanted
log messages will be suppressed'.
How to add these to th
Davide,
Maybe I am doing something wrong but I have had problems getting indexed
=true to work for arrays on the form -- it works correctly for arrays of
a nested property of form.
For example, if I were to use what you suggested I get something like:
When what I want is
At 6:16 PM -0400 7/8/04, Brian Alexander Lee wrote:
Sounds like you should get a new xml editor if you care about file real
estate.
I think Michael's implicit question is more about "does this really
have to be so redundant" -- not only does it take up a lot of
real-estate, but it's repetitive, a
I bought it about a month ago from www.softpro.com and feel that it was
worth the price.
Dick
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 3:47 PM
To: Struts Users Mailing List
Subject: log4j book out of stock
Is there a place to get t
Bill Siggelkow wrote:
You will need to add indexed getters and setters --
public String getAnswer(int index);
public String setAnswer(int index, String value);
’/>
Better :)
[CUT]
[CUT]
it render a property named property[0], property[1], etc
I've been working on an example with AOP on the Controller and View Objects.
I have a set of Objects that support the view with controller methods.
These methods are supported by aspects to handle exceptions, caching, and
chaining of method calls. In result, it's taking an application layer and
pr
You threw me for a loop with replying so late to that email--
It just comes down to giving the developer the ability to scale their own
layers with JSF like you said below. If I want ActionForms, then I will
have JSF update request/session scope beans that are only for the view. If
I want someth
Hi all,
someone knows what's the best way to produce an hexadecimal output
string, from an integer var, in a jsp?
I stored On the db an Integer Value that rappresent an RGB color and I
whant to use it to set the backgrownd color of an HTML element.
I was oriented to the tag, but I don't under
There are several different ways of handling this ... the easiest is to
just use JavaScript -- you can hard-code JavaScript arrays -- or
generate JavaScript arrays using Struts or JSTL tags -- or you can
retrieve the list of states on the fly by using an onchange listener on
the country field.
You will need to add indexed getters and setters --
public String getAnswer(int index);
public String setAnswer(int index, String value);
’/>
[EMAIL PROTECTED] wrote:
I have a form bean with a string array defined as a property, with a
corresponding set/get like this:
private String[] an
Mike Duffy wrote:
One aspect of JSF which I find troubling is, "With JSF, the component
model takes care of all the
responsibilities that Struts uses an ActionForm form, so you don't
need one any more."
Most of the JSF examples I've studied use method (2) from Craig's list
below: "You can bind
Sounds like you should get a new xml editor if you care about file real
estate.
BAL
- Original Message -
From: "Michael McGrady" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 08, 2004 5:44 PM
Subject: Simplifying struts-config.xml
> Is ther
U need to either save the session id into a file system or store it in database. Then
use this session id when needed by both machines.
NOTE : Both machines need to have access to this file system or database
regards,
GIRISH M
Datacons Private Limited
Quite Another Culture
#17/1, 'Shanthi Shree
Veera, you need to configure commons logging to control these INFO
messages: I've documented what to do in a short article:
http://otn.oracle.com/products/jdev/tips/mills/Struts-logging.html
Regards
Duncan Mills
http://www.groundside.com/blog
Veera Sivakumar wrote:
Hi,
I have web application d
Ive just converted some existing functionailty to use frames (not inline
frames). Every thing seemed to be working fine while i used localhost in my
url but once i try to access the web server from
another machine or using the machine name in the url my main frame is
failing to find any objects
Hi,
U don't need to add attribute to form bean class.
Keep an arraylist of formfiles in form bean.
In the screen use javascript to add a new input tag to the list of file
inputs.
Then struts will take care of populating the formFiles arraylist with
these set of files after the form submission
Can we add the attribute to the form bean class at runtime...
if this is possible whenever user will click on ADD MORE button on jsp
page, I will add the attribute in form bean java class...
Is this possible using java reflection api.???
-Original Message-
From: kamakshya_mishra(int)
S
+1
Michael McGrady wrote:
It seems that we have been getting the messages that Brian Husted is not
available forever. Can the administrator please solve this? Everytime
I send an email to the list I get this back, and others have made the
same complaint:
Subject: Undeliverable: Re: html:image
Hi,
I have web application developed on struts 1.1 , deployed on Tomcat 4.1.
We use Postgres as backend database. We also use Struts connection pooling mechanism.
The problem I am facing is the following entries in the stderr.log file.
Jul 9, 2004 9:13:59 AM org.apache.struts.legacy.GenericDataSo
> JSF takes care of conversion
> problems, and redisplay in case of conversion errors, for you.
indeed, converters are a BIG-plus in JSF
the DateTimeConverter allows you to use
java.util.Date in a BackingBean.
enter in textfield: 12/06/2004
and java.util.Date got created...
on the other s
Hi All,
I am migrating my application from weblogic 7 to weblogic 8.1SP2, the
deployment was succesful. When I start the weblogic server I am getting the
following error
***error starts here
<[ServletContext(id=912519,name=gsrs_admin,context-path=/
gsrs_admin
Hi All,
In our application when user selects country like USA or Canada in turn
it has to show corresponding country's states.
Is there any struts example available for the same.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PRO
88 matches
Mail list logo