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. > > *Than

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 uplo

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 o

Re: file upload problem

2004-12-20 Thread Dakota Jack
> 4.0\webapps\test\upload\images" > > Here my 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 1

Re: file upload problem

2004-12-20 Thread Dakota Jack
path. > > Any one 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 you

RE: file upload problem

2004-12-20 Thread uma.k
ebapps\test\upload\images" Here my 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

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-

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"%> Upload = struts-config.xml: == Actio

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 w

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(); System.out.print

RE: file upload problem

2004-12-18 Thread uma.k
ath()); I 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 uploa

Re: file upload problem

2004-12-18 Thread Jay Chandran
al 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
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
CTED]>; "'Jay Chandran'" <[EMAIL PROTECTED]> Sent: Saturday, December 18, 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 speci

RE: file upload problem

2004-12-18 Thread uma.k
I 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 - Original Message - Fr

Re: file upload problem

2004-12-18 Thread Jay Chandran
include the below and check - 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, > I am modifying the upload files given by struts and trying to uploa

Re: file upload problem

2004-09-24 Thread erikweber
FormFile has a "getFileSize" or similar method that you can use to check the size in your processing Action (server side). There, you can also determine the file name and check the extension (probably that will be good enough for "type" checking). In addition, this is one area where I think clie

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 FileU

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 Craig McClanahan
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 (also based on Commo

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

Re: file upload problem(illegal argument)

2004-06-06 Thread atta-ur rehman
Hello there, Does your 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