Results 1 to 4 of 4
  1. #1
    hassaanid2012 is offline Member
    Join Date
    Apr 2012
    Location
    Pakistan
    Posts
    20
    Rep Power
    0

    Default JSP Event Handling!!!

    Hello Guys!!!

    I create two jsp pages with simple html coding inside it. First page is Login page and second page is Admin Panel page. Login page has two buttons but here's problem. How can i perform event handling on these buttons that i created in jsp page? Any suggestions/help is appreciated.... Thanks!!!

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,009
    Rep Power
    20

    Default Re: JSP Event Handling!!!

    That would be javascript, surely?
    Or do you mean something else when you say "event handling"?
    The only other thing I can think of is a button resulting in a request to the server, which would be HTML.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

    Default Re: JSP Event Handling!!!

    Moved from New to Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    Jeeva7 is offline Member
    Join Date
    Jun 2012
    Posts
    4
    Rep Power
    0

    Default Re: JSP Event Handling!!!

    Hi

    Event handling you can achieve with java, But JSP or Html is client side code
    it will be interpreted by browser. You can't user event handling over there

    Instead you can use very simple java script to achieve the same.

Similar Threads

  1. Event handling
    By Suresh karthi in forum New To Java
    Replies: 1
    Last Post: 05-03-2012, 02:43 PM
  2. Event handling
    By smallmos1 in forum New To Java
    Replies: 7
    Last Post: 11-24-2010, 08:22 PM
  3. Event Handling
    By zzpprk in forum AWT / Swing
    Replies: 2
    Last Post: 11-12-2009, 09:30 PM
  4. SWT Event Handling
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-30-2007, 12:21 PM
  5. Event Handling
    By luisarca in forum Sun Java Wireless Toolkit
    Replies: 5
    Last Post: 05-07-2007, 06:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •