Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2008, 01:16 AM
Member
 
Join Date: Jan 2008
Posts: 5
Sudha is on a distinguished road
Regarding Servlet
Hi I have a JSP page with few input boxes.. When I click any of the input box it should call the servlet connect to database, query the table and display output in output JSP file..
I want to use the same servlet to retrieve the parameter of the clicked input box..
Is there any way to retrieve the queryString, and get the name of the text box..
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-12-2008, 01:44 AM
Member
 
Join Date: Jan 2008
Posts: 20
JAdmin is on a distinguished road
We urge you to learn more about the servlet technology and how the request parameters are handled. A good place to start is
Java Servlet Technology

Btw,
Use request.getParameter("control name"); to get the value and use request.getParameterNames() to get the form elements.
__________________
Sincerely, Your friends at
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Servlet vs JSP javaplus Java Servlet 6 06-26-2008 11:19 PM
my first servlet sireesha Java Servlet 3 04-09-2008 04:11 PM
JSP or Servlet ravian JavaServer Pages (JSP) and JSTL 4 12-03-2007 04:00 PM
How to mix servlet & JSP Swamipsn Java Servlet 1 08-08-2007 01:57 AM
javax.servlet.ServletException: Wrapper cannot find servlet class util.t2 osval Advanced Java 1 08-07-2007 04:47 PM


All times are GMT +3. The time now is 10:05 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org