Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-01-2008, 11:48 AM
Member
 
Join Date: Aug 2008
Posts: 13
Rep Power: 0
hisouka is on a distinguished road
Default Retrieving a parameter through URL.
hi. how can i retrieve a parameter variable on URL and save it to a string?

how can i retrieve username variable and save it to a string variable.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-06-2008, 12:45 PM
Member
 
Join Date: Sep 2008
Posts: 17
Rep Power: 0
sagarbirari is on a distinguished road
Default
hello
i assume that you have URL with name variable
just you need to use request object...
like this
String name = request.getParameter("name");
__________________
Sagar Birari

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
Reply

Bookmarks

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

BB 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
Passing short value as parameter javanewbie83 New To Java 16 07-16-2008 05:27 AM
JDO - Retrieving a persisted object Java Tip Java Tips 0 03-17-2008 07:46 AM
retrieving Properties bugger New To Java 1 01-13-2008 09:44 PM
arugment/parameter ravian New To Java 5 01-04-2008 09:43 AM
Retrieving data from the DB yuchuang Database 2 11-27-2007 08:59 AM


All times are GMT +2. The time now is 09:51 AM.



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