katreena thomas wrote:hi friends,
I am working on my college project...i am very much new to JSP & Servlets....and trying my best to make my project![]()
now i am facing a problem that...i have thumbnails of movies on my website...if user clicks on a particular movie thumbnail....the all wallpapers for that movie gets displayed
like that i have first displayed many movie thumbnails....now one solution is that i will create a separate page for each movie wallpaper...so that if a user clicks on a specific movie thumbnail...he'll be transferred to the page linked to that image hyperlink...like this if i have 1 movie thumbnails...i have to create 1 pages for that movie wallpapers![]()
but i am thinking if there is a way by which a servlet can create a jsp page dynamically n display movie wallpapers related to a particular thumbnail....when that thumbnail is clicked![]()
Love all, trust a few, do wrong to none.
Jagdeep Sharma wrote:
You can do one thing here.
First create a database table which maps movie name to a wallpaper image URL
so will have many rows for a movie name.
Now when user clicks on thumbnail on JSP page fetch all the wallpaper image URL and show them.
Love all, trust a few, do wrong to none.
chaitanya karthikk wrote:
Jagdeep Sharma wrote:
You can do one thing here.
First create a database table which maps movie name to a wallpaper image URL
so will have many rows for a movie name.
Now when user clicks on thumbnail on JSP page fetch all the wallpaper image URL and show them.
Hi Mr. Jagdeep, your approach is right, but you don't need a database for this simple issue. Please let me know if I am wrong.
Have a nice day.
Love all, trust a few, do wrong to none.
katreena thomas wrote:please provide me the code...i am not good enough in coding
Love all, trust a few, do wrong to none.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |