I am new to java, I need to save a image file from my system to my web application. How to do that in jsp or java? Need help urgently.....
saisakthi
0
Newbie Poster
Recommended Answers
Jump to PostIf you are new in java then this task is not for you. If you had previous experience with jsp then that experience would have been acquired by studying, and you would know what you needed to do:
You need to search the net for examples on how to …
Jump to PostHave you used what I suggested:
<input type="file" />
In order to load the image? I don't see it since you hard coded the file source name. Search the web for examples on how to load file with that attribute and what other arguments it takes.
Jump to PostYes I have used tag <input type="file" name="imageFile" /> also to get dynamic file path. But I dont know how to use that file in java.
That is what you need to search. There are examples and libraries specifically for that. What server are you using? I think that Apache …
All 11 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
saisakthi
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
saisakthi
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
saisakthi
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
saisakthi
0
Newbie Poster
saisakthi
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.