Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Java Bean

Java Bean

Scheduled Pinned Locked Moved Managed C++/CLI
javahelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    selvi_saru
    wrote on last edited by
    #1

    I've a Jsp Page that sends the username and password for validation to a java bean. Can u plz help me in writing the code for java bean to validate the login info since i'm new to java platform::(( reply to sweetselvi_s@yahoo.co.in reply me as ealry as p'ble thro the mail id sweeetselvi_s@yahoo.co.in

    C 1 Reply Last reply
    0
    • S selvi_saru

      I've a Jsp Page that sends the username and password for validation to a java bean. Can u plz help me in writing the code for java bean to validate the login info since i'm new to java platform::(( reply to sweetselvi_s@yahoo.co.in reply me as ealry as p'ble thro the mail id sweeetselvi_s@yahoo.co.in

      C Offline
      C Offline
      Curi0us_George
      wrote on last edited by
      #2

      You need to compare the username and password (or a hash of the password) against a previously stored username and password (or password hash). The validation code should probably return only a simple boolean value; true for accepted, false for refused. But this isn't really an appropriate discussion board (or even an appropriate site) for discussing Java-specific things. Search on Google, and browse through some java sites. I guarantee you that a thousand people have already written exactly what you are describing, and probably a few hundred have explained the entire process on the web. I'm sure you can find an explanation if you look for a while.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups