Re: Open an excel in Struts application

2009-04-26 Thread Zoran Avtarovski
You can also use the plain old stream result type and pipe the HSSF worksheet as you would any other file type. Saves on the overhead of another unnecessary plugin. Z. > > > > When/if you use the JasperReports plugin use an older version of poi (3.0 is > the latest I had success with). The new

Re: Open an excel in Struts application

2009-04-26 Thread musomesa
When/if you use the JasperReports plugin use an older version of poi (3.0 is the latest I had success with). The new poi throws an exception which many have complained about but has not been fixed/ Chris -Original Message- From: renisha To: user@struts.apache.org Sent: Sun, 26 Apr 200

Re: Struts and encoding ISO-8859-1

2009-04-26 Thread Jeroen De Ridder
Well, ISO-8859-1 and UTF-8 differ in the fact that ISO-8859-1 is a single-byte encoding and can only encode 256 characters (albeit carefully chosen), while UTF-8 is a multi-byte encoding and can represent any character in the Unicode codespace (ie. any character you can think of). Both will use

RE: Struts and encoding ISO-8859-1

2009-04-26 Thread Niklas Johansson
Hello, Thank you for you quick reply. Sorry if I was a bit unclear: I am posting via a form, in a JSP page, some information that at a later stage is stored in my DB. When I use åäöÅÄÖ it is messed up to ??-signs when extracting it on the server side before trying to save it in the db.

Re: Struts and encoding ISO-8859-1

2009-04-26 Thread Jeroen De Ridder
What exactly is giving you trouble? Are your HTTP parameters not properly received? Does your DB data get garbled when you output it? I've recently had problems with ISO-8859-1 and Struts 2 as well, and there are some things you need to be aware of. It turns out that by default Tomcat uses ISO

Struts and encoding ISO-8859-1

2009-04-26 Thread Niklas Johansson
Hello, Using Struts 2.1.6 Tomcat 6 Java 1.6 Eclipse Ganymede I am trying to get my first Struts2 application working. Everything works fine except the encoding part. Swede as I am I want to use åäöÅÄÖ, i.e. ISO-8859-1, but it doesn't work. I have searched the net and tried various things, bu

Re: Open an excel in Struts application

2009-04-26 Thread renisha
Thanks for your reply . I am using struts2 version. Could you please give me some sampl code if you have. Wes Wannemacher wrote: > > On Sunday 26 April 2009 11:00:59 am renisha wrote: >> Hi, >> >> I am reading some values from database , doing some calculations and >> creating an excel file. >>

Re: Open an excel in Struts application

2009-04-26 Thread Wes Wannemacher
On Sunday 26 April 2009 11:00:59 am renisha wrote: > Hi, > > I am reading some values from database , doing some calculations and > creating an excel file. > > In my action class , I am returning an HSSFWorkbook object and I need to > diaply the excel file as the output . Please let me know how do

Open an excel in Struts application

2009-04-26 Thread renisha
Hi, I am reading some values from database , doing some calculations and creating an excel file. In my action class , I am returning an HSSFWorkbook object and I need to diaply the excel file as the output . Please let me know how do I get it working . -- View this message in context: http:

Re: struts 2 and tomcat 6 problem

2009-04-26 Thread Kortheo
Niklas Johansson schrieb: Hello, I am kind of novice on this, but couldn't it be that you have the same class twice in the classpath? Regards, Niklas Date: Sun, 26 Apr 2009 13:06:32 +0200 Subject: Re: struts 2 and tomcat 6 problem From: lukasz.len.

RE: struts 2 and tomcat 6 problem

2009-04-26 Thread Niklas Johansson
Hello, I am kind of novice on this, but couldn't it be that you have the same class twice in the classpath? Regards, Niklas > Date: Sun, 26 Apr 2009 13:06:32 +0200 > Subject: Re: struts 2 and tomcat 6 problem > From: lukasz.len...@googlemail.com > To: u

Re: struts 2 and tomcat 6 problem

2009-04-26 Thread Lukasz Lenart
2009/4/26 Kortheo : > I've just created a new standard "dynamic web project" using eclipse , > added the struts2 libs and configured a standard mapping in web.xml Did you add all needed dependency? > Unable to load configuration. - bean - > jar:file:/Users/kortheo/Projekte/.metadata/.plugins/org.

struts 2 and tomcat 6 problem

2009-04-26 Thread Kortheo
Hey people, I've just created a new standard "dynamic web project" using eclipse , added the struts2 libs and configured a standard mapping in web.xml When i try to run my web app on a standard tomcat 6.0 I get this error, and I have not the slightest iIdea of what could be the reason. Please he