This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to use images in jsp