Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread abhishek jain
On Fri, Jul 9, 2010 at 6:10 PM, Brian Thompson elephant...@gmail.comwrote: Oh, I misunderstood. I thought you were seeing this during development, not when running the app on a remote server. In this case, you will need to update the Catalina startup script. These pages have more info:

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-15 Thread Lukasz Lenart
2010/9/15 abhishek jain abhishek.netj...@gmail.com: I have the following in my bin/catalina.sh JAVA_OPTS=$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager I think, you must lower the numbers, it's giving 2,5G in totla

Problem while maintaining session in Struts

2010-09-15 Thread Patil Yogesh
I am not sure whether I am posting it in the proper thread. I am using Struts1 framework on server side. And I am using Flex 3. We are using HTTPService for flex to server communication. In this way, I am not able to get session values stored in Struts. For e.g. 1. I have a jsp page while

Re: AW: [S2] trim textfield

2010-09-15 Thread mailtolouis2020-struts
Thanks! From: Adrian Ost adrian@mindmatics.de To: Struts Users Mailing List user@struts.apache.org Sent: Tue, September 14, 2010 4:26:55 PM Subject: AW: [S2] trim textfield This one worked for me. public class StringTrimInterceptor extends

few questions

2010-09-15 Thread Daniel Rindt
Hello, i would like to know how to obtain the name of the current action inside the JSP code. I found code: s:property value=%{#action} / but this is showing me: action.regis...@ce41cc but its useless information for me. next question i had is i invoke a request to any action like this:

How to download a file without creating it on a server

2010-09-15 Thread lunch716
I would like to collect the data by accessing database and create the contents for a download file. Without creating the real file for InputStream that the struts2 convention proposes to use for download, how to code? Regards. -- Get the new Internet Explorer

Re: How to download a file without creating it on a server

2010-09-15 Thread Dave Newton
On Wednesday, September 15, 2010, wrote: I would like to collect the data by accessing database and create the contents for a download file. Without creating the real file for InputStream that the struts2 convention proposes to use for download, how to code? A stream is a stream-doesn't

Re: How to download a file without creating it on a server

2010-09-15 Thread Allen Lee
Sometimes I'll create a temp file via File.createTempFile and open an InputStream for that but you could just as easily use one of these techniques: http://ostermiller.org/convert_java_outputstream_inputstream.html 2010/9/15 lunch...@yahoo.co.jp: I would like to collect the data by accessing

Re: How to download a file without creating it on a server

2010-09-15 Thread lunch716
Hi Dave and Allen, Thank you for quick reply. Frankly speaking, I'm not familiarity with using stream and could not come up with some ideas. When I coded with java.io.PipedInputStream/PipedOutputStream like follwoing, I could download an empty file with IllegalStateException. If anyone give an

RE: How to download a file without creating it on a server

2010-09-15 Thread Tommy Pham
-Original Message- From: lunch...@yahoo.co.jp [mailto:lunch...@yahoo.co.jp] Sent: Wednesday, September 15, 2010 9:23 PM To: Struts Users Mailing List Subject: Re: How to download a file without creating it on a server Hi Dave and Allen, Thank you for quick reply. Frankly