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 01-17-2008, 02:07 PM
Member
 
Join Date: Jan 2008
Posts: 3
loganathan.lakshmanan is on a distinguished road
How to get the position of character in TextArea
Hi, Does anyone know how to get the position of a character in TextArea field?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-19-2008, 01:06 AM
Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 90
wsaryada is on a distinguished road
When you submit your form that contains a textarea you can get its value using the request.getParameter() method. After you get the value just use the String.indexOf() method to locate the first character found in the string.
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
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
BorderFactory to set position? aleplgr AWT / Swing 2 01-30-2008 01:46 PM
reading text character by character bugger New To Java 2 11-09-2007 09:54 PM
Help with position in java fernando New To Java 1 07-31-2007 08:54 PM
Use the mouse position susan Java Applets 1 07-29-2007 12:10 AM
textarea ubuntu AWT / Swing 4 05-12-2007 10:54 PM


All times are GMT +3. The time now is 03:53 PM.


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