JSP stuff


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JSP stuff

  1. #1
    w Guest

    JSP stuff


    I have a dropdown list box on a html and i want to execute a perticular java
    code onChange event of that list box. How can I do that using JSP? Any help
    will be greatly appreciated.


    Thanks,

  2. #2
    John Peter Jensen Guest

    Re: JSP stuff


    "w" <wonderful_me_us@yahoo.com> wrote:
    >
    >I have a dropdown list box on a html and i want to execute a perticular

    java
    >code onChange event of that list box. How can I do that using JSP? Any help
    >will be greatly appreciated.
    >
    >
    >Thanks,


    Well... JSP is a serverside technology, so one way is to write a JavaScript
    that fires one the "Selection" event of the dropdown list box, which in turn
    post's the selected value in the drop down list box as a form-input. On the
    server you could get the posted variable via the <code>request.getParameter("VarName")</code>
    - method, perform your logic and return the generated HTML to the client!

    The coding you'll have to do on your own : - )

    Regards,

    John


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