file upload problem

2013-09-25 Thread Yaragalla Muralidhar
Hi i am using struts2. i am trying to upload a file and it is giving error. File load interceptor is configured by default or do we have to configure it manually? *Thanks and Regards,* Muralidhar Yaragalla. * *

Re: file upload problem

2013-09-25 Thread Yaragalla Muralidhar
I am not using struts tags in jsp page. if i dont use them will i not be able to use struts upload interceptor. *Thanks and Regards,* Muralidhar Yaragalla. * * On Wed, Sep 25, 2013 at 12:43 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi i am using struts2. i am trying to upload

Re: file upload problem

2013-09-25 Thread Yaragalla Muralidhar
My problem got solved. thanks. *Thanks and Regards,* Muralidhar Yaragalla. * * On Wed, Sep 25, 2013 at 12:48 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: I am not using struts tags in jsp page. if i dont use them will i not be able to use struts upload interceptor. *Thanks

Struts 1 Struts 2 file upload problem

2008-04-22 Thread Rubbinio
? Thanks -- View this message in context: http://www.nabble.com/Struts-1---Struts-2-file-upload-problem-tp16824755p16824755.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Struts 1 Struts 2 file upload problem

2008-04-22 Thread Laurie Harper
Rubbinio wrote: Hi, we have an old application written in Struts 1 and we started adding new features in Struts 2. In the old application we had a file upload form which was working fine. After adding Struts 2, the form does not work anymore because the file field is not populated in the form

Re: Struts 1 Struts 2 file upload problem

2008-04-22 Thread Radu Solomon
Thank you. You were absolutely right. our struts 2 filter was using /* and the Struts 1 servlet mapping *.do. Once I changed the struts 2 to *.action it all went back to normal. Laurie Harper wrote: Rubbinio wrote: Hi, we have an old application written in Struts 1 and we started adding

File Upload problem

2008-03-19 Thread udaykumar
in advance -- View this message in context: http://www.nabble.com/File-Upload-problem-tp16142571p16142571.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: File Upload problem

2008-03-19 Thread David Durham, Jr.
On Wed, Mar 19, 2008 at 5:19 AM, udaykumar [EMAIL PROTECTED] wrote: I am using struts and have an upload.jsp and its associated UploadForm.java and UploadAction.java. The jsp's form has an enctype=multipart/form-data and contains an html:file field to upload a file as well as a bunch of

File Upload Problem - Stream ended unexpectedly

2007-02-01 Thread Roland D
Hi, I see people have this problem often but the cause seems to be big files and/or a slow connection. This is not the case for me and I'm baffled. Windows users using IE6, IE7 get an exception, while Linux users using IE5.5, IE6, (not sure about IE7), and Firefox and Windows users using

Re: [s2] File Upload Problem with large Files in struts2

2007-01-30 Thread avajon
Does anybody know what happens here? thanks avajon -- View this message in context: http://www.nabble.com/-s2--File-Upload-Problem-with-large-Files-in-struts2-tf3138410.html#a8709134 Sent from the Struts - User mailing list archive at Nabble.com

File Upload Problem with large Files in struts2

2007-01-29 Thread avajon
$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Does anybody know what happens here? thanks avajon -- View this message in context: http://www.nabble.com/File-Upload-Problem-with-large-Files-in-struts2-tf3138410.html#a8698025 Sent from the Struts - User mailing

Re: struts file upload problem

2005-05-07 Thread Adam Hardy
On 04/05/05 22:40nbsp;temp temp wrote: I can upload files of size 1 Gb from localhost but not from network so I guess problem is not related to container upload limit as I did upload 1 Gb file from localhost .I am not able to do this from network however I was able to upload small files from

struts file upload problem

2005-05-04 Thread temp temp
I am using struts to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .It gives network exception socket connection closed by peer. Can somebody help me with this. thanks

RE: struts file upload problem

2005-05-04 Thread Folashade Adeyosoye
1 GB is Huge to upload, isn't there alimit? I thought there was -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:20 PM To: user@struts.apache.org Subject: struts file upload problem I am using struts to upload a file . It works fine with small

RE: struts file upload problem

2005-05-04 Thread temp temp
there alimit? I thought there was -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:20 PM To: user@struts.apache.org Subject: struts file upload problem I am using struts to upload a file . It works fine with small files . But for files

Re: struts file upload problem

2005-05-04 Thread Dave Newton
temp temp wrote: No there is no limit for file upload as per commons fileupload. The server or container might have an upload limit, for intance Apache has (or did, anyway) LimitRequestBody config. Dave - To unsubscribe,

Re: struts file upload problem

2005-05-04 Thread temp temp
I can upload files of size 1 Gb from localhost but not from network so I guess problem is not related to container upload limit as I did upload 1 Gb file from localhost .I am not able to do this from network however I was able to upload small files from network . sairam --- Dave Newton

RE: file upload problem

2004-12-20 Thread uma.k
context is test and my jsps are located in upload directory. Any ideas? Uma -Original Message- From: Sunny [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 12:21 PM To: Struts Users Mailing List Subject: Re: file upload problem JSP: %@ taglib uri = /WEB-INF/struts-html.tld

Re: file upload problem

2004-12-20 Thread Dakota Jack
please? -Original Message- From: yue pengfei [mailto:[EMAIL PROTECTED] Sent: Sunday, December 19, 2004 3:53 PM To: Struts Users Mailing List Subject: RE: file upload problem May be you need setup the full path of your file ,as below File f = new File(filePath); f.mkdirs(); uma.k

Re: file upload problem

2004-12-20 Thread Dakota Jack
and my jsps are located in upload directory. Any ideas? Uma -Original Message- From: Sunny [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 12:21 PM To: Struts Users Mailing List Subject: Re: file upload problem JSP: %@ taglib uri = /WEB-INF/struts-html.tld prefix

RE:[SOLVED] file upload problem

2004-12-20 Thread uma.k
Hi Jack, Thanks it works great. Thanks again. Uma -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 6:18 PM To: Struts Users Mailing List Subject: Re: file upload problem Try this, for example: String path = request.getSession

RE: file upload problem

2004-12-19 Thread yue pengfei
May be you need setup the full path of your file ,as below File f = new File(filePath); f.mkdirs(); uma.k [EMAIL PROTECTED] wrote: Hi Jay, I tried this way too, but I am actually getting FileNotFoundException. This is the modified code String filePath = theForm.getFilePath();

RE: file upload problem

2004-12-19 Thread uma.k
:[EMAIL PROTECTED] Sent: Sunday, December 19, 2004 3:53 PM To: Struts Users Mailing List Subject: RE: file upload problem May be you need setup the full path of your file ,as below File f = new File(filePath); f.mkdirs(); uma.k [EMAIL PROTECTED] wrote: Hi Jay, I tried this way too, but I am

Re: file upload problem

2004-12-19 Thread Sunny
JSP: %@ taglib uri = /WEB-INF/struts-html.tld prefix = html% %@ taglib uri = /WEB-INF/struts-bean.tld prefix = bean% %@ taglib uri = /WEB-INF/struts-logic.tld prefix = logic% html:html xhtml = true html:form action = uploadFile enctype = multipart/form-data html:file property = file2Upload /

RE: file upload problem

2004-12-19 Thread uma.k
Hi Sunny, Thanks for the reply. I will try it out and get back. Thanks Uma -Original Message- From: Sunny [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 12:21 PM To: Struts Users Mailing List Subject: Re: file upload problem JSP: %@ taglib uri = /WEB-INF/struts-html.tld

file upload problem

2004-12-18 Thread uma.k
Hi, I am modifying the upload files given by struts and trying to upload the file to server without the user entering any path. I have modified the upload.jsp with html:text property=filePath value=/upload/images / Its means I am trying to upload to the same context in which the jsp is running

Re: file upload problem

2004-12-18 Thread Jay Chandran
include the below and check html:text property=filePath value=/upload/images enctype=multipart/form-data/ - Original Message - From: uma.k [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Saturday, December 18, 2004 3:10 PM Subject: file upload problem Hi

RE: file upload problem

2004-12-18 Thread uma.k
need to upload the file to the server. Any ideas? -Original Message- From: Jay Chandran [mailto:[EMAIL PROTECTED] Sent: Saturday, December 18, 2004 3:57 PM To: Struts Users Mailing List Subject: Re: file upload problem include the below and check html:text property=filePath value=/upload

Re: file upload problem

2004-12-18 Thread Jay Chandran
, 2004 3:44 PM Subject: RE: file upload problem I get an error org.apache.jasper.compiler.CompileException: /upload/upload.jsp(32,4) Attribute enctype invalid according to the specified TLD I am already using enctype in the html:form But when I hard code the value to system path e.g. c

RE: file upload problem

2004-12-18 Thread uma.k
Hi Jay, I tried this way too, but I am actually getting FileNotFoundException. This is the modified code String filePath = theForm.getFilePath(); System.out.println(filePath:+filePath); String fileName2 = filePath+fileName; System.out.println(fileName2:+fileName2); //byte[]

Re: file upload problem

2004-12-18 Thread Jay Chandran
size=39 value=C:\Program Files\Tomcat 5.0\webapps\cevm\uploadedimages\/ - Original Message - From: uma.k [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; 'Jay Chandran' [EMAIL PROTECTED] Sent: Sunday, December 19, 2004 12:32 PM Subject: RE: file upload problem Hi Jay

RE: file upload problem

2004-12-18 Thread uma.k
get fileTemp: D:\upload\images\test.jpg which actually doesn't exist. Any ideas on how to over come this issue? Uma -Original Message- From: Jay Chandran [mailto:[EMAIL PROTECTED] Sent: Sunday, December 19, 2004 12:59 PM To: Struts Users Mailing List Subject: Re: file upload problem how

file upload problem

2004-09-24 Thread Bj
Hi, I'm using html:file ... tag to upload image files. Everything works fine but I want to filter the type of file that the user may upload. And also limit the file size. How can I handle this with Struts ? I didn't manage to do this in simple html code (apparently because most of browsers do

Re: file upload problem

2004-09-24 Thread erikweber
straightforward. Erik -Original Message- From: Bj [EMAIL PROTECTED] Sent: Sep 24, 2004 11:00 AM To: Struts Users Mailing List [EMAIL PROTECTED] Subject: file upload problem Hi, I'm using html:file ... tag to upload image files. Everything works fine but I want to filter the type of file

File upload problem

2004-08-08 Thread Erik Weber
A colleague gave me a nice file upload Servlet to use; it uses the jakarta commons file upload classes. I am trying to convert it to a Struts Action class. Converting the Servlet's doPost method to work in the Action class has not been a problem. The problem is with the source JSP. If I use

Re: File upload problem

2004-08-08 Thread Axel Stahlhut
Craig McClanahan wrote: On Sun, 08 Aug 2004 06:37:33 -0400, Erik Weber [EMAIL PROTECTED] wrote: A colleague gave me a nice file upload Servlet to use; it uses the jakarta commons file upload classes. Is there a particular reason that you're not using the standard Struts support for file upload

Re: File upload problem

2004-08-08 Thread Erik Weber
Well the idea was to save time, since the upload Servlet already was working. I think I see the connection now -- it seems that FormFile is where the Commons implementation is lurking, whereas the Servlet works directly with FileItem objects. It is tough to make the connection to Commons

File Upload Problem

2004-06-10 Thread Rakeesh_Shringi
Can any one please look into the following error and tell me why i am getting that. I am using strust upload in weblogic Jun 10, 2004 2:41:47 PM org.apache.struts.upload.CommonsMultipartRequestHandler handleRequest SEVERE: Failed to parse multipart request

Re: file upload problem(illegal argument)

2004-06-07 Thread Bill Siggelkow
What is the type of the property in your form? It should be org.apache.struts.upload.FormFile. swarna wrote: Hi, I am trying to do file upload using struts1.1. I am getting illegal argument type exception(stack trace attached below). I am struggling to fix this since three days. I would

file upload problem(illegal argument)

2004-06-06 Thread swarna
Hi, I am trying to do file upload using struts1.1. I am getting illegal argument type exception(stack trace attached below). I am struggling to fix this since three days. I would really appreciate any kind of help. I am using web logic 8.1, eclipse and java for my development. I created

Re: file upload problem(illegal argument)

2004-06-06 Thread atta-ur rehman
Hello there, Does your html:form tag has attribute enctype=multipart/form-data set? HTH, ATTA - Original Message - From: swarna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 06, 2004 2:23 PM Subject: file upload problem(illegal argument) Hi, I am trying to do