-
multi-page template question
Hello
I'm totally new to java programming. I have my website with photos i've taken, and i want to get my photos from my gallery to go to a seperate page with info about the photo. Since i plan on having alot of photos there, i was wondering how to make it so i don't have to design a page for each of them, but use java to create a "template page" and then with a java database have the info for each pic go into those pages when clicked.
I don't know if i'm totally off about what i can do with java, but if anyone has any help, i'd appreciate it.
Remember i don't really know much about java, so anywhere i can copy the stuff is good.
Thanks!!
-
What you need are servlets. These are classes that are loaded into a compatible webserver (like tomcat), and are used to dynamically create webpages on the fly. You would then store all the info for the pictures in your database (such as the path to the pictures on your server, what the picture is about etc), and then the servlet would get the relevant info and produce some html to be sent to the web browser.
-
sack java.. just use a html gallery creator...
http://janim.net/web-freeware/index.php?cat=27
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|