(like not sending the
entire path, just the filename).
d.
-Original Message-
From: Raghuveer Rawat
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 10:31 AM
To: Struts Users Mailing List
Subject: Re: File Upload using Struts2
Thanks Dave for reply..
I have no clue
.
Regards,
Rajagopal Y
HCU-Consulting Enterprise Solutions.
Phone: (C) +91-9886876114 / (W) 6658 3685.
-Original Message-
From: Raghuveer Rawat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 10:31 AM
To: Struts Users Mailing List
Subject: Re: File Upload using
Hi, I am trying to upload a jpg image using Struts2 but no luck till now. It
will be great if someone could help me in moving further.
I am using Struts 2.0.8 and i have commons-fileupload-1.2.jar and
commons-io-1.3.2.jar in classpath
My code looks like below.
MyPhoto.jsp
s:form method=post
Hi, I am new to sturts2. I am trying to upload a jpg image using Struts2 but
no luck till now. It will be great if someone could help me in moving
further.
I am using Struts 2.0.8 and i have commons-fileupload-1.2.jar and
commons-io-1.3.2.jar in classpath
I put debug statement in setter methods.
In general it's a good idea to include things like
what is actually happening: what symptoms (besides
the file isn't uploading :) are there? Is there
anything in the logs?
Are you including the context cleanup filter in your
web.xml?
d.
--- Raghuveer Rawat [EMAIL PROTECTED] wrote:
Hi, I am
Thanks Dave for reply..
I have no clue what is happening...I can see below statement in log..
Content-Type not allowed: myPhoto
upload_460c03b6_115a6ef087d__8000_.tmp image/jpeg
I have configured filters like below in web.xml.. I don't have context
clean-up filter. Where should I place
Rawat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 10:31 AM
To: Struts Users Mailing List
Subject: Re: File Upload using Struts2
Thanks Dave for reply..
I have no clue what is happening...I can see below statement in log..
Content-Type not allowed: myPhoto
How can I get the actual file name which I browsed?
-Original Message-
From: Raghuveer Rawat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 10:31 AM
To: Struts Users Mailing List
Subject: Re: File Upload using Struts2
Thanks Dave for reply..
I have no clue what is happening
8 matches
Mail list logo