954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to use request.getParameter & ahref to pass & display image in another .jsp page?

Hi there,
Im creating a rating system in .jsp and im doing trial and error to figure out how to solve it. Here's the structure of the rating system.

I have a jsp page call 'ListPhotos.jsp' of all the different images and directly below every image there is a hyperlink 'Rank'. When the user clicks on it, the image that the user has selected to rate is displayed on another jsp page call 'Rank.jsp'
In the 'Rank.jsp' page, user can see the image, the rating number from 1 to 5 and checkboxes to select. Once user press the submit button, the rating numbers will be saved in 'saveRank'.jsp and in the sql database.

Im trying to do 1 thing a step at a time. On which page must i apply request.getParameter="" and for the 'Rank' hyperlink to pass the parameter to the Rank.jsp page and display the selected image.? Anyone out there who is able to help.?

Attachments PhotoSite.zip (154.15KB)
Netti
Newbie Poster
1 post since May 2009
Reputation Points: 10
Solved Threads: 0
 

Please post the actual problem with suitable code. I think you have a problem in formatting - html/jsp string.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You