want to unsubscribe

2006-02-02 Thread Harish Pathak
Hi, I want to unsubscribe Thanks Harish Pathak - Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, more on new and used cars.

Setting the default locale

2006-02-02 Thread C. Grobmeier
Hi all, my webapplication should always start up for every user with locale de. How can i manage this easily? I thought on having default-localede/default-locale in the web.xml or something like that or better having it in struts-config.xml At the moment the browser locale is beeing used.

[ANN] FINAL CALL: Java Web User Group / BOF XV / Oracle City of L ondon / Friday 3rd February 2006 @ 19:00

2006-02-02 Thread Pilgrim, Peter
THIS IS THE FINAL CALL Dear All I would like to formally announce that JAVAWUG (Java Web User Group) is holding the fifteenth Birds-of-Feather (Meet up) at the ``Oracle City of London'' offices on Friday, 3rd January 2006. The meeting will

Re: [shale] Better validation messages

2006-02-02 Thread Wendy Smoak
On 2/1/06, Richard Wallace [EMAIL PROTECTED] wrote: I'm implementing an assessment with 12 questions on a page. The user is required to select an answer for all questions. When a user doesn't select a question I'd like to display a message in the global messages that says something like,

URL Submission To Search Engines With Struts

2006-02-02 Thread Jim Reynolds
Hello, I have been having trouble getting the Search Engines to index my site properly. My old site was just JSP model 1, and I would just submit the index.html page. Since I recrated the site with struts, I now immediately go from that index.html page to a forward to welcome.do which then does

Re: URL Submission To Search Engines With Struts

2006-02-02 Thread David Delbecq
I would suggest the welcome.do Also, take a look at http://www.google.com/webmasters/2.html Jim Reynolds a écrit : Hello, I have been having trouble getting the Search Engines to index my site properly. My old site was just JSP model 1, and I would just submit the index.html page. Since I

Image not getting displayed !

2006-02-02 Thread Jitendra Kumar
I am using IMG src=images/imagename.gif/IMG in myeclipse. In Design view the image is showing by when I view it in browser, the image doesn't show. Please let me know the reason. Images folder is in the same folder as my jsp page. I am baffled !! TIA Jitendra

Reloading resource properties

2006-02-02 Thread Jim Reynolds
Apologize for a second question for the day ... but I ran into a issue. I developed a struts application on a Tomcat 5.5 engine. Whenever I updated a resource.property, the next time I would log in, I would see the new values. And that is how I thought it all worked. I believe it reloaded the

[OT] Re: Image not getting displayed !

2006-02-02 Thread Dave Newton
Jitendra Kumar wrote: I am using IMG src=images/imagename.gif/IMG in myeclipse. In Design view the image is showing by when I view it in browser, the image doesn't show. Please let me know the reason. I'm not sure how this is Struts-related. Even if it were, as you have provided

Re: Reloading resource properties

2006-02-02 Thread Harikrishna Veeraiah
There is a significant difference between webserver and appserver in picking up the resource bundle.Hope you got it With Best Regards, I.Hari krishna Caritor India Private Limited. +91- 44 - 28212878 Extn:4406,4407

Re: Dispatch Action Error

2006-02-02 Thread RathinaGanesh MeenakshiSundaram
Thanks Andrey..! I'll give a try..! On 1/30/06, Myatluk Andrey [EMAIL PROTECTED] wrote: Hi! As I can see from your trace, you are using DispatchAction and in some moments wrong method name is passed to this action. In the trace you've presented the method name is empty. 1. Action[/notes]

Re: Reloading resource properties

2006-02-02 Thread Jim Reynolds
What da? On 2/2/06, Harikrishna Veeraiah [EMAIL PROTECTED] wrote: There is a significant difference between webserver and appserver in picking up the resource bundle.Hope you got it With Best Regards, I.Hari krishna Caritor

Re: Reloading resource properties

2006-02-02 Thread atta-ur rehman
Jim, What do you mean next time login? Logging in without reloading the app or restarting Tomcat? Did you if you had autoload set to on on your Tomcat app? For most of the servers (both servlet containers like Tomcat and app servers like Weblogic for example) I'd expect that you will have to

Stress Load AJAX web application

2006-02-02 Thread Stas Ostapenko
Hi ! I have a Struts based web application where we using a lot of AJAX things. I want to test application under load - for example 100 concurrent users. Standard tools is not acceptable, so I need some kind of http client with XmlHttpRequest object supported. I know that there is HttpUnit, but

Re: Stress Load AJAX web application

2006-02-02 Thread Ross Gibb
Take a look at http://wtr.rubyforge.org/. I use it a little bit, might do what you want. Ross Stas Ostapenko wrote: Hi ! I have a Struts based web application where we using a lot of AJAX things. I want to test application under load - for example 100 concurrent users. Standard tools is not

Re: Stress Load AJAX web application

2006-02-02 Thread Frank W. Zammetti
Why wouldn't standard load-testing tools work? Something like OpenSTA or WebLoad where you can record a script and play it back, altering the virtual user load? I wouldn't think AJAX would really make a difference, as long as the tool's recording facility captured everything (some are better

Advice with Struts and Generate documents in PDF, XLS...

2006-02-02 Thread Angel Navarro
Hi, I need advice to develop documents in PDF or XLS format in a struts web application. Have Struts libraries that do this? Is better JasperReport? Is easy integrate JasperReport (or other library) with Struts? Thanks and sorry by mi English

RE: Advice with Struts and Generate documents in PDF, XLS...

2006-02-02 Thread Voorhoeve, Niels {PBG}
For excel exports use this: http://jakarta.apache.org/poi/hssf/index.html -Original Message- From: Angel Navarro [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 11:43 AM To: Struts Users Mailing List Subject: Advice with Struts and Generate documents in PDF, XLS... Hi, I

Re: Reloading resource properties

2006-02-02 Thread bradyh
This may not be the issue but I recently discovered that Tomcat caches some loaded resources but not others. Where propsFile is the path to my file. Cached: InputStream fis = ClassLoader.getSystemResourceAsStream(propsFile); Not cached: InputStream fis =

RE: Advice with Struts and Generate documents in PDF, XLS...

2006-02-02 Thread bradyh
I've used FOP for PDF and been quite happy. It has something of a learning curve but if you know (or get a book on XSL) you'll be productive before too long and it's very flexible and powerful. http://xmlgraphics.apache.org/fop/ -Brady For excel exports use this:

RE: Advice with Struts and Generate documents in PDF, XLS...

2006-02-02 Thread Frank W. Zammetti
And of course don't forget using iText for PDF generation: http://www.lowagie.com/iText/ Many other projects tend to use this underneath, and you can use it directly if you wish. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM:

global exception handler sometimes gets a null exception

2006-02-02 Thread Michael Davis
Hello, I'm working on a struts application which has just been deployed and is being used by a large number of users. I've got an error handler set up using the global-exceptions tag. It sends me an email whenever it catches an exception. My config looks like this: global-exceptions

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Vladislav Pernin
Maybe it happens when the error is not thrown by Struts, so try to use the JSP directive %@ page isErrorPage=true % which give you access to the implicit variable exception. You can also use a exception handler : exception type=java.lang.Throwable key=error.error

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Frank W. Zammetti
With the caveat that I looked at things for all of 30 seconds so I could be WAY wrong... Looking at the Struts source, the RequestProcessor.processException() method is where your custom handler gets called from. I notice that the request attribute is NOT set there. In fact, there is no

RE: html:select question

2006-02-02 Thread fea jabi
solved this just by declaring the in the object and in jsp by declaring the id and using the id in the html:select. From: fea jabi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: user@struts.apache.org Subject: html:select question Date: Thu, 02 Feb 2006

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Mark Shifman
What I do is log the exception and the stack trace and then let the super do the rest. Since I was getting null comming up on the error page, I check the exception message and if it is null I at least show the name of the exception class name on the error page (probably not too pretty but..)

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Laurie Harper
J T wrote: From: Laurie Harper laurie at holoweb.net Subject: Re: Leading slash on forward causes problem in proxied environmentshttp://news.gmane.org/find-root.php?message_id=%3cdrop13%24ipn%241%40sea.gmane.org%3e Newsgroups:

Re: Struts-1.1 Tiles exception error page

2006-02-02 Thread Laurie Harper
Both will help. Figuring out what size buffer you need will be a process of experimentation. The bottom line is that this is not a robust solution unless you can be reasonably sure the size of each page will not vary very much. L. Vladislav Pernin wrote: You mean tiles:insert attribute=xxx

Re: Unsupported major.minor version 49.0

2006-02-02 Thread Laurie Harper
Right, because by default a 1.4 compiler will target a 1.4 runtime. If you then try to run it on 1.3 you'll have problems unless you override the runtime target when using the 1.4 compiler. L. starki78 wrote: Well I had this erroer compiling sourcecode with 1.4 and some classes with 1.3

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Rick Reumann
J T wrote the following on 1/30/2006 3:55 PM: We have four environments: dev, int, stg, and prod. Each of these is fronted by an apache server that proxies to our weblogic application server. The URLs to the apps look like this (dev) http://devserver.com/dev/Application (int)

Re: html:radio headaches

2006-02-02 Thread Laurie Harper
Jim Reynolds wrote: I am having issues working with the html:radio tag. First off: I have simple bean which extends ActionForm. In my business logic I create DTO objects and stuff them into the actionform into a arrayList through a setter. The DTO has a getName method in it. In my view, I am

Re: [OT] Simultaneous and ordered XHRs

2006-02-02 Thread Laurie Harper
Frank W. Zammetti wrote: Michael Jouravlev wrote: Off the top of my head, I would think you would need to set up a timer, and when the responses come back, instead of processing them on the spot in the callback, instead set a flag in the call structure that says yes, this request completed, but

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Frank W. Zammetti
On Thu, February 2, 2006 3:22 pm, Rick Reumann said: J T wrote the following on 1/30/2006 3:55 PM: We have four environments: dev, int, stg, and prod. Each of these is fronted by an apache server that proxies to our weblogic application server. The URLs to the apps look like this (dev)

Re: Setting the default locale

2006-02-02 Thread Laurie Harper
C. Grobmeier wrote: Hi all, my webapplication should always start up for every user with locale de. How can i manage this easily? I thought on having default-localede/default-locale in the web.xml or something like that or better having it in struts-config.xml At the moment the browser

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Michael Davis
Thanks for your prompt replies! I will try supplying my own exception handler. Looking at the struts source code for the exception handler, I see: // Figure out the error if (ex instanceof ModuleException) { error = ((ModuleException) ex).getActionMessage();

Re: Reloading resource properties

2006-02-02 Thread Laurie Harper
Jim Reynolds wrote: Apologize for a second question for the day ... but I ran into a issue. I developed a struts application on a Tomcat 5.5 engine. Whenever I updated a resource.property, the next time I would log in, I would see the new values. And that is how I thought it all worked. I

Re: html:radio headaches

2006-02-02 Thread Michael Jouravlev
On 2/1/06, Jim Reynolds [EMAIL PROTECTED] wrote: I am having issues working with the html:radio tag. First off: I have simple bean which extends ActionForm. In my business logic I create DTO objects and stuff them into the actionform into a arrayList through a setter. The DTO has a getName

Re: [Friday] Front Controller pattern sucks

2006-02-02 Thread Simon Chappell
On 2/2/06, Michael Jouravlev [EMAIL PROTECTED] wrote: * snip a bunch of stuff * Objections? More of a comment really. While you may or may not be right about which framework/buzzword/concept/pattern sucks and how much they suck, Struts has helped me git 'er done without too much pain. Call me

Struts in Action book

2006-02-02 Thread [EMAIL PROTECTED]
I'm not trying to kiss anybody's anything -- I'm aware that these folks are active members of this list. But I would like to point out that the Struts in Action book is a one of the better tech books that I've read. I found it a bit too much when I was first learning struts; I think this

Re: Unsupported major.minor version 49.0

2006-02-02 Thread David Durham
Laurie Harper wrote: Right, because by default a 1.4 compiler will target a 1.4 runtime. If you then try to run it on 1.3 you'll have problems unless you override the runtime target when using the 1.4 compiler. And this is typically done by specifying -target and optionally -source arguments

Re: Unsupported major.minor version 49.0

2006-02-02 Thread Christian Bollmeyer
Hi, well, the truth may be found somewhere in-between. First of all, each java class has a version stamp, older versions have lower numbers. The JVM is backward compatible, so older classes also run in a newer JVM. Version ranges are as follows: Java 1.1 platform: 45.3-45.65535 Java 1.2

Struts in Action book

2006-02-02 Thread [EMAIL PROTECTED]
I'm not trying to flatter anyone -- I'm aware that these folks are active members of this list. But I would like to point out that the Struts in Action book is a one of the better tech books that I've read. I found it a bit too much when I was first learning struts; I think this was becuase

Re: Struts in Action book

2006-02-02 Thread David Durham
I highly recommend this book for anyone. Yeah, the book has good info, even if it is a bit dated (published in 2002). Or is there a new edition out that I don't know of? -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Struts in Action book

2006-02-02 Thread Frank W. Zammetti
Generally-speaking, anything in the X in Action series, or the X: The Definitive Guide/Reference from O'Reilly are worth your time, in my experience. I've yet to be disappointed by a book in either series. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

Re: Struts in Action book

2006-02-02 Thread Simon Chappell
I was very disappointed by the O'Reilly Ant book. I have not read Struts in Action (one of the few Struts books that I haven't read), but the rest of the in Action series is excellent. Simon On 2/2/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Generally-speaking, anything in the X in Action

Re: Stress Load AJAX web application

2006-02-02 Thread David Durham
Stas Ostapenko wrote: Hi ! I have a Struts based web application where we using a lot of AJAX things. I want to test application under load - for example 100 concurrent users. Standard tools is not acceptable, so I need some kind of http client with XmlHttpRequest object supported. I know that

Re: Struts in Action book

2006-02-02 Thread Don Brown
We (Nick and I) were about 1/3 of the way through a 2nd edition that would cover Struts Action 1.3, when the WebWork 2 merger was brokered. We decided it would be better to target Struts Action 2.0 with the 2nd of Struts in Action, so we are starting again by working with Patrick and Jason, and

Re: Struts in Action book

2006-02-02 Thread [EMAIL PROTECTED]
In general, I agree with the Oreilly concensus, but they have some bad books. And some of them are fairly famous books. I'm picky and kind of dim witted, so I need a pretty good book. --- On Thu 02/02, Simon Chappell [EMAIL PROTECTED] wrote: From: Simon Chappell [mailto: [EMAIL

Re: Struts in Action book

2006-02-02 Thread David Durham
Frank W. Zammetti wrote: Generally-speaking, anything in the X in Action series, or the X: The Definitive Guide/Reference from O'Reilly are worth your time, in my experience. I've yet to be disappointed by a book in either series. I haven't been dissappointed by X in action, either. I've got

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Rick Reumann
Frank W. Zammetti wrote the following on 2/2/2006 3:33 PM: On Thu, February 2, 2006 3:22 pm, Rick Reumann said: I haven't been following this thread, but on this particular point... IIRC, the context name is defined as the first part of the URI following the host:port/ portion. So, in the

Re: Struts in Action book

2006-02-02 Thread Frank W. Zammetti
David Durham wrote: Frank W. Zammetti wrote: Generally-speaking, anything in the X in Action series, or the X: The Definitive Guide/Reference from O'Reilly are worth your time, in my experience. I've yet to be disappointed by a book in either series. I haven't been dissappointed by X in

Re: [OT] Simultaneous and ordered XHRs

2006-02-02 Thread Craig McClanahan
On 2/2/06, Laurie Harper [EMAIL PROTECTED] wrote: I still think it'd be easier to use the XmlHttpRequest's callback function to launch the next request in the queue rather than polling with a timer and requiring the callback to record state for the polling to query... +1 Craig

Re: [OT] Simultaneous and ordered XHRs

2006-02-02 Thread Frank W. Zammetti
Laurie Harper wrote: I still think it'd be easier to use the XmlHttpRequest's callback function to launch the next request in the queue rather than polling with a timer and requiring the callback to record state for the polling to query... Something like (pseudo-code): var q = [];

[shale] clay config including another clay config

2006-02-02 Thread Ryan Wynn
How would I reference a clay config file from within another config file? Thanks, Ryan

Re: [shale] remoting - how do I use ClassResourceProcessor

2006-02-02 Thread Craig McClanahan
On 2/2/06, Ryan Wynn [EMAIL PROTECTED] wrote: I am beginning to try to understand shale remoting. How do I configure shale to serve a resource from a jar file using the ClassResourceProcessor? Thanks, Ryan I will be posting for-real samples as soon as I can, but the basics go like this.

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread J T
The jsp code: html:form action=/processMain.do method=POST ... /html:form When rendered produces the html: form action=/Application/processMain.do method=POST ... /form My modified form tag produces the code: form action=/dev/Application/processMain.do method=POST ... /form The application

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Michael Jouravlev
AFAIK, html:base tag won't help you, it affects only html:link href=... tags. I believe (though I have not verified it) that html:form tag uses the same algorithm as html:link action=... tag. For actions, base directory is not used. Context is used instead. Server deduces context from incoming

RE: [OT] Re: Image not getting displayed !

2006-02-02 Thread Jitendra Kumar
I will try to be clearer this time !! I am developing a Struts project using myeclipse IDE. In this I have developed a JSP page using struts tags. I want to insert a picture on this page. For doing this I have used these two options: 1. html:img src=images/struts-power.gif / 2. html:img align=

Re: [shale] clay config including another clay config

2006-02-02 Thread Gary VanMatre
From: Ryan Wynn [EMAIL PROTECTED] How would I reference a clay config file from within another config file? Ya, that is a good question. I thought I knew how to do this but had never really tried. You see this trick in the RI faces config. I don't think the digester is configured