Re: is not sending the checked checkboxes value

2006-04-01 Thread 王曾wang_zeng
hi: i have a question. in a multibox,the property attribute should be pointed to an array in the form bean,and this array will be checked to see if there exists such a element who's value equals to the value set in the multibox. my question is how to set the value of multibox which will be used

Re: How to configure Struts connection pool

2006-04-01 Thread red phoenix
when I start Tomcat,it raise following error: New org.apache.commons.dbcp.BasicDataSource Begin event threw exception java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource at org.apache.catalina.loader.WebappClassLoader.loadClass ( WebappClassLoader.java:1352) at org.apache.cata

Re: How to configure Struts connection pool

2006-04-01 Thread Tarun Reddy
Hi, First of all we need not use "key" attribute in tag until we have more than one data source to be configured. So, try removing the "key" attribute and use the getDataSource() method which is already defined in DBCP. DataSource db = getDataSource(request); You need not worry about all the nam

Error while configure struts Datasource

2006-04-01 Thread red phoenix
I want to configure data source,I use Tomcat5.5.15 and struts-1.2.9,my database is Microsoft Access2000,my configure is follows: . When I start Tomcat,it raise following error: New org.apache.commons.dbcp.BasicDataSource Begin event threw excepti

RE: [Sunday night 2a.m.] too much traffic

2006-04-01 Thread Albrecht Leiprecht
cancel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Sunday night 2a.m.] too much traffic

2006-04-01 Thread Albrecht Leiprecht
Up to now, I was a somewhat quiet reader of the list. Is it still about Struts in here ? Looking at the last 300 posts make me wonder if it still is Thanks to all the ppl in here that have posted solutions to struts programming challenges. You all have helped me a lot ... Rgds Albi -Ori

Re: The Mytical stagnation

2006-04-01 Thread Bart Busschots
You are not in Kansas, Toto. You are on the Internet. And, aren't you Belgian? Yup, your googling abilities are indeed great! I have, as I said, spent a great deal of time in Ireland and I don't recall that what you say is true. Well, unless you've spent more than 22 years in Ireland you'

Re: The Mytical stagnation

2006-04-01 Thread Dakota Jack
On 4/1/06, Bart Busschots <[EMAIL PROTECTED]> wrote: > > Dakota Jack wrote: > > My questions are > >based on a professional concern about the stability of a widely used > >platform. It also has nothing to do with what you like or don't like. > I let the first three weeks of your "discussion" go

Re: [Beer...maybe] IMPORTANT NEWS FOR ALL STRUTS USERS AND DEVS

2006-04-01 Thread Frank W. Zammetti
Erik Bertelsen wrote: Well -- the author's humorous value shows in posting this, however how obnoxious people may feel about his posts from time to time.. Careful Erik... not everyone defines "obnoxious" the same way. - To uns

Re: The Mytical stagnation

2006-04-01 Thread Bart Busschots
Dakota Jack wrote: Bart, if you don't think there is a problem, move on. There is nothing here for you. I can only imagine that your involvement in Struts is at the level of playing, if this is your attitude. I have left tinker toys behind and am trying to deliver to real world problems. an

Re: The Mytical stagnation

2006-04-01 Thread Bart Busschots
Dakota Jack wrote: I don't have any personal issues in this discussion, other than finding the level of discussion an absolute embarrassment to mankind. My questions are based on a professional concern about the stability of a widely used platform. It also has nothing to do with what you like

Re: Why did Struts development stagnate?

2006-04-01 Thread Dakota Jack
Well said. On 4/1/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > > Alexandre Poitras wrote: > > Stability : Relatively unchanging, permanent; firmly fixed or > established, > > > > Of course, it usually only refers to the framework API. It doesn't > > have anything to do with improvements or no

Re: The Mytical stagnation

2006-04-01 Thread Dakota Jack
Bart, if you don't think there is a problem, move on. There is nothing here for you. I can only imagine that your involvement in Struts is at the level of playing, if this is your attitude. I have left tinker toys behind and am trying to deliver to real world problems. I hardly think that "every

Re: The Mytical stagnation

2006-04-01 Thread Dakota Jack
I don't have any personal issues in this discussion, other than finding the level of discussion an absolute embarrassment to mankind. My questions are based on a professional concern about the stability of a widely used platform. It also has nothing to do with what you like or don't like. I cong

Re: [Beer...maybe] IMPORTANT NEWS FOR ALL STRUTS USERS AND DEVS

2006-04-01 Thread Erik Bertelsen
2006/4/1, Frank W. Zammetti <[EMAIL PROTECTED]>: > > * Frank Zammetti writes a post that is less than 10,000 words long, says > nothing controversial in it, agrees with everyone about everything, > doesn't piss off a PMC member in the process and allows a conversation > to die after just 3 posts in

Re: [Beer...maybe] IMPORTANT NEWS FOR ALL STRUTS USERS AND DEVS

2006-04-01 Thread Frank W. Zammetti
Yeah, that one was definitely the kicker :) Leon Rosenberg wrote: On 4/1/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: * Frank Zammetti writes a post that is less than 10,000 words long, says nothing controversial in it, agrees with everyone about everything, doesn't piss off a PMC memb

Re: The Mytical stagnation

2006-04-01 Thread Bart Busschots
Well said! Asad Habib wrote: Do WE think that Dakota has said his fair share and that his ideas are STALE? Do WE think that Dakota should stop harassing others on this list? Do WE think that too much Dakota talk is bad? Do WE think that Dakota is talking nonsense? Yes, indeed, WE do! Paul, I

Re: The Mytical stagnation

2006-04-01 Thread Bart Busschots
Right, You assume that Struts 1 was a disaster and was messed up. Not all of us agree with you. I for one don't. If you look at it from my point of view and that of the others who agree with me there is no big burning question to be answered because there was no massive cockup. If everyone ag

Re: The Mytical stagnation

2006-04-01 Thread Bart Busschots
Right Dakota, enough of your insulting childishness please. Like I have said before, there is more to choosing a technology than just picking the most modern and cutting edge one. Like I have said before, I don't CARE that Struts 1 is not the most up to date tech, I care that it a) does what I

RE: Struts time-validator

2006-04-01 Thread Ruben Cepeda
You can use the date validator and make the format string only care about the time part of the string. * Ruben Cepeda [EMAIL PROTECTED] * Original Message Follows From: Soós Gyula <[EMAIL PROTECTED]> Reply-To: "St

Re: Drawing of Struts web application

2006-04-01 Thread Dan Jas
Exadel Studio at http://exadel.com/web/portal/products/ExadelStudio is free and will read your Struts-Config.xml file and display a mapping. I don't know if you can print from it but it is a start. - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing L

RE: Cookie

2006-04-01 Thread Ruben Cepeda
I've never done it myself but this might try to add the cookie with a null value in theresponse object. response.addCookie(new Cookie("targetName",null)); Let me know if works. * Ruben Cepeda [EMAIL PROTECTED] * Ori

Re: Drawing of Struts web application

2006-04-01 Thread Adam Hardy
chuanjiang lo on 31/03/06 13:56, wrote: Hi all, I've recently developed a struts web application and with all the mappings here and there..i think it would be good for me to have some visual documentation on how the web application flows from a page to another. Is there any good open source to

Re: [Beer...maybe] IMPORTANT NEWS FOR ALL STRUTS USERS AND DEVS

2006-04-01 Thread Leon Rosenberg
On 4/1/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > * Frank Zammetti writes a post that is less than 10,000 words long, says > nothing controversial in it, agrees with everyone about everything, > doesn't piss off a PMC member in the process and allows a conversation > to die after jus

Re: [Beer...maybe] IMPORTANT NEWS FOR ALL STRUTS USERS AND DEVS

2006-04-01 Thread Leon Rosenberg
On 4/1/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > A number of pieces of exciting news have come to light today, and the > users and developers of Struts need to be kept informed, so here are the > tidbits, hot off the wire... > > * Struts PMC announces merger with God. > Amen. Leon --

Re: response.addHeader problem

2006-04-01 Thread Adam Hardy
Hi Amarakoon, I think you are expecting those header attributes to behave like cookies, but that's not so. The action forward you choose is translated by struts into a 'redirect' response, so instead of going out through the JSP layer, it goes straight out to the browser as a W3C-defined 're

Re: Why did Struts development stagnate?

2006-04-01 Thread Jonathan Revusky
Alexandre Poitras wrote: Stability : Relatively unchanging, permanent; firmly fixed or established, Of course, it usually only refers to the framework API. It doesn't have anything to do with improvements or not, changing is changing for the best or the worst. "There is nothing incompatible bet

Re: The Mytical stagnation

2006-04-01 Thread Jonathan Revusky
Asad Habib wrote: Do WE think that Dakota has said his fair share and that his ideas are STALE? Do WE think that Dakota should stop harassing others on this list? Do WE think that too much Dakota talk is bad? Do WE think that Dakota is talking nonsense? Well, the truth is that it's hard to kno

SV: SV: SV: [Shale] Backingbean beeing created twice -Solved!!!!

2006-04-01 Thread Hermod Opstvedt
Hi Yeah, this is my sentiment to. I guess since it does not have any uri to it, it is treated like a postback. Anyways, I think we should document this some ware (Wiki?) so others don't have to spend a couple of days figuring out why a double instantiate occurs. Gary: I had a misspelled allowBod

[Beer...maybe] IMPORTANT NEWS FOR ALL STRUTS USERS AND DEVS

2006-04-01 Thread Frank W. Zammetti
A number of pieces of exciting news have come to light today, and the users and developers of Struts need to be kept informed, so here are the tidbits, hot off the wire... * Struts PMC announces merger with God. The Struts PMC is proud to announce that Struts will be merging with the creator

Re: SV: SV: SV: [Shale] Backingbean beeing created twice -Solved!!!!

2006-04-01 Thread Gary VanMatre
>From: Hermod Opstvedt <[EMAIL PROTECTED]> > > Hi > > This is the reason I was seeing to Threads when debugging. The second thread > is a new request from the browser get the image resource. For some reason > Shale/Clay or MyFaces is trying to handle this instead of letting the > container se

RE: SV: SV: [Shale] Backingbean beeing created twice -Solved!!!!

2006-04-01 Thread David G. Friedman
Hermod, You should really set this to be a blank or transparent pixel image. Setting things to a blank source should re-invoke the current page so that makes perfect sense to me that your bean is being called twice: because the src="" makes your page calls itself! This isn't a clay issue but (

SV: SV: SV: [Shale] Backingbean beeing created twice -Solved!!!!

2006-04-01 Thread Hermod Opstvedt
Hi This is the reason I was seeing to Threads when debugging. The second thread is a new request from the browser get the image resource. For some reason Shale/Clay or MyFaces is trying to handle this instead of letting the container serve it. Med vennlig hilsen Hermod Opstvedt Webmaster Seiling.

SV: SV: SV: [Shale] Backingbean beeing created twice -Solved!!!!

2006-04-01 Thread Hermod Opstvedt
Hi This is what makes things go wrong : In my template I have som mockup html code that gets excluded by Clay because of the allowBody=false. Within the mockup html I have the above image. This can be reproduced by creating an empty clay html template, and then run once with the empty templat

SV: SV: SV: [Shale] Backingbean beeing created twice - Almost solved!

2006-04-01 Thread Hermod Opstvedt
Hi It seems that this might be a problem with Clay. I created a brand new web project, and got it working so that it showed a page with Hello on it, and with a corresponding backing bean, which was being called once. Then I replaced the "empty" template with the one that I have been using, and voi

Why struts can't use Tomcat5 connection pool?

2006-04-01 Thread red phoenix
I configure a connection pool in Tomcat5.5.12,like follows: Then I call this connection pool in a JSP file,the JSP file is follows: <[EMAIL PROTECTED] <%@<[EMAIL PROTECTED]> import="java.sql.*"%> <[EMAIL PROTECTED] import="javax.sql.DataSource"%> <[EMAIL PROTECTED] import="javax.namin

SV: SV: SV: [Shale] Backingbean beeing created twice

2006-04-01 Thread Hermod Opstvedt
Hi I think somebody should have a look at PluggableLookupCommand that is called from Clay.encodeBegin. It is throwing IllegalArgumentExceptions, and PropertyNotFoundExceptions on mass. Using Exceptions for programlogic has never been a great idea, not speak of how costly it is. Hermod -Oppri

SV: SV: SV: [Shale] Backingbean beeing created twice

2006-04-01 Thread Hermod Opstvedt
Hi This is getting really weird - I was stepping through the calls, and when the call was returning, I got as far as having the following rest of my call stack: CoyoteAdapter.service(Request, Response) line: 164 Http11Processor.process(InputStream, OutputStream) line: 799 Http11Protocol$Http11Conn

How to configure Struts connection pool

2006-04-01 Thread red phoenix
I use struts-1.2.9,and want to configure a connection pool,so I configure struts-config.xml file Then I use this configure in a jsp file,like follows: <[EMAIL PROTECTED] import="java.sql.*"%> <[EMAIL PROTECTED] import="javax.sql.DataSource"%> <[EMAIL PROTECTED] impor

SV: SV: SV: [Shale] Backingbean beeing created twice

2006-04-01 Thread Hermod Opstvedt
Hi Well, renaming did not do the trick. I have tried to reduce this down to something simple: I have a index.html file with only 1 line in it: Then I have a index.xml file like this: A managed bean de