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

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. 2. The directory structure of my application is CMSystem

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Michael Jouravlev
AFAIK, tag won't help you, it affects only tags. I believe (though I have not verified it) that tag uses the same algorithm as tag. For actions, base directory is not used. Context is used instead. Server deduces context from incoming URL. * Browser sends request to http://appserver.com:6000/A

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread J T
The jsp code: ... When rendered produces the html: ... My modified form tag produces the code: ... The application is hosted at http://appserver.com:6000/Application/ but since we are using a apache to proxy requests to the app server the end user sees http://devserver.com/dev/Applic

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 li

[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

[shale] remoting - how do I use ClassResourceProcessor

2006-02-02 Thread Ryan Wynn
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

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 = []; functio

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: 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 a

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 U

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

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 PROT

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 me

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 t

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 Actio

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 http://

Re: Struts in Action book

2006-02-02 Thread [EMAIL PROTECTED]
The one I have is 2003. Covers struts 1.1 --- On Thu 02/02, David Durham < [EMAIL PROTECTED] > wrote: From: David Durham [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Thu, 02 Feb 2006 15:46:02 -0600 Subject: Re: Struts in Action book > I highly recommend this book for anyone

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]

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 becuas

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 platform

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" argume

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: [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. Cal

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 get

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 believ

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: 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 de 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. Seems th

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 t

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: 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 i

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) http://intserver.c

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 withi

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 or <%@ page autoFlush="fals

Re: Leading slash on forward causes problem in proxied environments

2006-02-02 Thread Laurie Harper
J T wrote: From: Laurie Harper holoweb.net> Subject: Re: Leading slash on forward causes problem in proxied environments Newsgroups: gmane.comp.jakarta.struts.user

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

2006-02-02 Thread Frank W. Zammetti
I think in a sentence, the primary difference is that iText is a programmatic approach to PDF generation, whereas FOP is XSL-driven. My guess is that most people build some sort of template engine on top of iText (as I myself have done), whereas FOP is, in essence, a template engine already. I do

[Friday] Front Controller pattern sucks

2006-02-02 Thread Michael Jouravlev
Intro - Struts sucks (c) Jason Carreira. Struts implements Front Controller pattern. ==> Front Controller pattern sucks ==> ASP.NET does not suck because it uses Page Controller pattern ==> J2EE must have its own non-sucky Page Controller framework ==> JSF has been born ==> JSF does not suck!

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

2006-02-02 Thread [EMAIL PROTECTED]
This is spiralling off topic, but what is the basic difference between iText and the FOP? Nothing detailed, I can read myself. But are they two relatively equal options or do they fill different needs? --- On Thu 02/02, Frank W. Zammetti < [EMAIL PROTECTED] > wrote: From: Frank W. Zammett

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..) T

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" To: user@struts.apache.org Subject: html:select question Date: Thu, 02 Feb 2006 09:47:43 -0500 Usin

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 referenc

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 : package com.ddd; public class GlobalExceptionHandler extends ExceptionHand

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:

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: fzammetti

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: > http://jakarta.apache.org/p

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 = MyClass.class.getResource(propsFile).open

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 ne

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: 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 than

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

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 I'

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 rel

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 > > Car

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

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

[OT] Re: Image not getting displayed !

2006-02-02 Thread Dave Newton
Jitendra Kumar wrote: > I am using 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 essentially zero information this wil

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 prop

Re: difference b/w html:button and html:submit

2006-02-02 Thread Deepa Khetan
html:button is a normal button for which u will have to write an onsubmit event or onclick event. html:submit will submit the form in which this is declared. HTH Deepa On 2/2/06, fea jabi <[EMAIL PROTECTED]> wrote: > > When to use these html:button and html:submit? > > both have the property att

Image not getting displayed !

2006-02-02 Thread Jitendra Kumar
I am using 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

difference b/w html:button and html:submit

2006-02-02 Thread fea jabi
When to use these html:button and html:submit? both have the property attribute. I am not sure when to use which one. I was using only html:submit until now. Thanks. _ Express yourself instantly with MSN Messenger! Download today

html:select question

2006-02-02 Thread fea jabi
Using a table in my JSP. i am creating an object for each row. In 2 of it's table column I am having a Comboboxes. When writting the html:select statement I have to specify the selectedItem for the conbo box.. so, The selecteditem has to be in the form not in the row object. I am little co

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

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 s

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 li

[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 tak

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 de 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. Seems that the JSF guys have

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.