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. Java
  4. How to use session in jsp

How to use session in jsp

Scheduled Pinned Locked Moved Java
javadatabasetutorial
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.
  • V Offline
    V Offline
    vivek886
    wrote on last edited by
    #1

    m unable to use the session in jsp, but able to verify the user and password here are the two three file 1. Index file, which has login its code is <%@ page language="java" import="java.util.*" %> <% String msgName=""; cf.usrCode=""; %> Aurum - Library Management System self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight); function chkCode(){ var ti=document.login.usrName.value; if( ti==""){ document.login.usrName.focus(); alert('Enter Login Name....'); return (false); } }


    L 1 Reply Last reply
    0
    • V vivek886

      m unable to use the session in jsp, but able to verify the user and password here are the two three file 1. Index file, which has login its code is <%@ page language="java" import="java.util.*" %> <% String msgName=""; cf.usrCode=""; %> Aurum - Library Management System self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight); function chkCode(){ var ti=document.login.usrName.value; if( ti==""){ document.login.usrName.focus(); alert('Enter Login Name....'); return (false); } }


      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Please read the guidelines at the top of this page. Format your message so that it is readable; what you have posted here is far too difficult to read through. You also need to identify which part of your code is failing and what you expect should be happening at that point.

      It's time for a new signature.

      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