multi-page template question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: multi-page template question

  1. #1
    Join Date
    Jul 2004
    Posts
    1

    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!!

  2. #2
    Join Date
    Feb 2004
    Posts
    541
    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.

  3. #3
    Join Date
    Feb 2004
    Posts
    808
    sack java.. just use a html gallery creator...

    http://janim.net/web-freeware/index.php?cat=27
    The 6th edict:
    "A thing of reference thing can hold either a null thing or a thing to any thing whose thing is assignment compatible with the thing of the thing" - ArchAngel, www.dictionary.com et al.
    JAR tutorial GridBag tutorial Inherited Shapes Inheritance? String.split(); FTP?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center