aspose file tools*
The moose likes JSP and the fly likes How to use images in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to use images in jsp" Watch "How to use images in jsp" New topic
Author

How to use images in jsp

Anil Kumar Tota
Greenhorn

Joined: Apr 19, 2006
Posts: 2
Hi All, <br>

<p>
I am new to java. I was given a task to display 4 to 5 images on a jsp page.
The user can select any of the image,and click on Send button.
This lead to display another jsp page where the user can see the selected image with two buttons 'Accept' and 'Reject'. Once 'Accept' button is clicked , it should go to another page. If rejected , previous jsp page(with all images) needs to be displayed.
Please help me in doing this.

Thanks,
[ April 19, 2006: Message edited by: Bear Bibeault ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

All you've given us are your requirements.
What have you got so far?
Who gave you this assignment, a teacher?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Anil Kumar Tota
Greenhorn

Joined: Apr 19, 2006
Posts: 2
Hi,

Now I am undergoing a training in Jsp. I am at my initial stag of training itself and they gave me this assignment. I haven't even started coding this, Infact I dont know how to start. The only thing I could do is putting some images (using IMG tag) in a jsp page and display.

If u can help me in this assignment I will really remain thankful to U.

Regards,
Anil
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Originally posted by Anil Kumar Tota:
I dont know how to start. The only thing I could do is putting some images (using IMG tag) in a jsp page and display.


That's the correct place to start. Always do the simplest thing first. After you finish placing the images on the page, you'll need to create an html form that allows you choose only one image and then click a Send button.


A good workman is known by his tools.
 
jQuery in Action, 2nd edition
 
subject: How to use images in jsp
 
Similar Threads
Context Path Still Won't Display an Image
h: panelGroup issue
How can I upload multiple files using html:file
Calling a backing bean method from onClick?
About file uploading