• Post Reply Bookmark Topic Watch Topic
  • New Topic

upload image using jfilechooser to sevlet  RSS feed

 
swapnil gandhi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to upload an image using jfilechooser to servlet on server. Please anybody can help me with that...
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cam you describe your problem further? JFileChooser is a swing component and so runs on the client. The servlet is server side technology. So what is the client? And how are you connecting it to the server? What specific problems are you having?
 
Paul Clapham
Sheriff
Posts: 22832
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, the purpose of JFileChooser is to choose a file. The name wasn't chosen for nothing, it means what it says. So you can't use it to upload a file, or to do anything with a file. It only helps you to choose a file; what you do with that file afterwards is a separate question.

By the way, welcome to the Ranch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!