RE: binary view

2005-04-18 Thread Smith, Thad
The problem is that you're opening the output stream at the beginning of your jsp and then reopening the output stream by calling response.getOutputStream(). I believe you can call response.reset() to fix this problem: <% response.reset(); response.setContentType("image/png"); java.io.OutputStream

RE: Popup Windows with Struts Actions

2005-04-05 Thread Smith, Thad
The window.open javascript method takes an optional target which is the named frame/window that you want to be the destination output. There are a few built in names such as _parent, _blank, _self that serve special purposes. If the browser is unable to find a frame called "dontCareThatName", it a

RE: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Smith, Thad
I evaluated Laszlo a few months ago and it is a very impressive (at least visually). It's a good RIA framework and no one can thumb their nose at the fact that it's now open source. Not sure if I can say to definitely use Laszlo over JSF. My question is how are you planning on using Struts as t

RE: [OT] Document Conversion from Word to PDF, etc.

2005-04-01 Thread Smith, Thad
My German is rough, but something about being condemned and thanks for explaining the whole world...Strange. Thad Smith Senior Software Engineer ERCOT -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 11:33 AM To: Struts Users Mailing List; D

RE: locale attribute in

2005-03-28 Thread Smith, Thad
You can use the getDisplayLanguage in java.util.Locale to do this: <%= request.getLocale().getDisplayLanguage(request.getLocale) %> This displays the language of the locale in the locale you specify. If you don't specify a locale it will use the default locale of the system. Regards, Thad Smith

RE: Links to external files not in web application

2005-03-28 Thread Smith, Thad
x27;t want to put it in a directory under the .war file because if/when we upgrade I didn't want to have the possibility of deleting old pdf's. -----Original Message- From: Smith, Thad [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 1:25 PM To: Struts Users Mailing List; [EMA

RE: Links to external files not in web application

2005-03-28 Thread Smith, Thad
Are you expecting the application server that runs your Struts application to serve up these pdf files? If so, this is a no no! Application servers (and servlet containers) are geared to run with lower numbers of more processing intensive threads than a simple http server will. I would recommend p

RE: Any traffic simulator/profiler tool available???

2005-03-03 Thread Smith, Thad
Check out JMeter: http://jakarta.apache.org/jmeter/ Great interface and extremely flexible. Regards, Thad Smith -Original Message- From: Konstantinos Provatas [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 3:17 PM To: user@struts.apache.org Subject: Any traffic simulator/pro