Thread: Servlets

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    5
    Rep Power
    0

    Servlets


    Hi everyone ,i am a student who is doing a project ona online reservation system and i am having great difficulty ,i was hoping that some one who has alreayd attempted this or has experience in it could help me with this and answer some questions i have ????liek How to get LOGIN working or how to have images on the servlets????ne help will be brillinat ,,,thank you in advance
  2. #2
  3. dont click here
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    409
    Rep Power
    13
    well there are alot of options for the login

    get data from an HTML form, hav e a servlet process that form by comparing data to a database or flat file your choice, depending on the validity redirect to a valid page

    if valid

    1) write a cookie and check for this cookie on all pages

    2) create a session variable (simple and easy)

    3) have a db for loged in people with ip and such. not the best otoin lots of work but hey it does work.


    as for the image what do you want to do with it. Are you making a servlet generate an image.. are you just pulling up an image based on some arguments? need more details
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    5
    Rep Power
    0
    Thank you fro your time and reply....i am after beginning by using HTML for the LOgin and thank you for that idea,,,,about the image i have an image saved in a folder and im ajust tryin to make it appear in teh screen with throught HTML :
    <img src> etc ,i am using this an dthe pathfile ,but i am wondering now as it doenst appear must i save it somehwere with HTPP ,.,,i dont know it could be a problem??
    Also i would like to ask another question :
    Can i have lost of images and design in html ,,,like scrolling script etc ????do you know of any good HTML sites or books,thank you in advance for any help!!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    get a new keyboard. the comma, "!" and "?" keys are broken
  8. #5
  9. No Profile Picture
    Clueless llama
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Feb 2001
    Location
    Lincoln, NE. USA
    Posts
    2,353
    Rep Power
    117
    rofl

IMN logo majestic logo threadwatch logo seochat tools logo