-
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,
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks