Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
Ron McLeod
Junilu Lacar
Liutauras Vilda
Sheriffs:
Paul Clapham
Jeanne Boyarsky
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Piet Souris
Carey Brown
Bartenders:
Jesse Duncan
Frits Walraven
Mikalai Zaikin
Forum:
Struts
To upload a file using struts 1.2 and ajax
Shankar Arumugam
Greenhorn
Posts: 14
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
In my project i want to upload a file and save it to server.I am using
struts
1.2.9.Please help me out how to upload the file to server using struts and ajax
Joe Ess
Bartender
Posts: 9626
16
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have a look at our
File Upload FAQ
, in particular the part about "Using HTTP"
[
How To Ask Questions On JavaRanch
]
Merrill Higginson
Ranch Hand
Posts: 4864
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'd also suggest that you unzip the struts-examples.war file that comes with the Struts download and study the upload examples provided there.
Merrill
Consultant,
Sima Solutions
Shankar Arumugam
Greenhorn
Posts: 14
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I tried with package struts.upload.Formfile and its working fine if we use struts only.
But the problem is i want to do it using ajax.I dont know how send the Form File in post request
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Using struts 1.2 how to upload a file into database and download it
file upload progress meter for struts 2
How can i upload a file using Struts
upload file using struts tag
How can I upload a File using Struts
More...