Get your CodeRanch badge!*
The moose likes Struts and the fly likes How to display image by browing the local system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to display image by browing the local system" Watch "How to display image by browing the local system" New topic
Author

How to display image by browing the local system

P Arunkumar
Ranch Hand

Joined: Jan 05, 2012
Posts: 118
Hi


Iam having list of images in one folder if i click browse it will open browser tab we will browse the image and click open. then the image wants to open in my browser in a particular place like in hall ticket in photo place we will click the browser will open we will pick our photo and click ok the photo will appear in photo place. this is my task.

Iam new to development field no one is not there to guide me in my office, please guide to solve my issue. please give me suggestion to develop this. Iam not asking the full code please give me sample like this code to guide me, it will help me to develop please some one help me.


Thanks in advance.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8713
    
    6

Do you want to browse the "local" system, that is the client, or do you want to browse the file system on the server?
To browse the local system, you'll probably have to write an applet and get permission to browse the local machine.
To browse the server, you can write a servlet that accepts some path and returns an image.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
Consider Paul's rocket mass heater.
 
subject: How to display image by browing the local system
 
Similar Threads
html to applet
object doesn't support the property or method
how to read the scan document data.
how to upload pdf files to My sql with java
Opening a "Browse" window by Java Script