×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

how to handle large amt of data through string class in java

how to handle large amt of data through string class in java

how to handle large amt of data through string class in java

(OP)
hai to all,
           Iam doing project in jsp.mailing system is one of the module in my project.in that when user give large amount of message to other user.iam using textarea to type the message and user clicks submit button i have to collect the message and store it in the database.iam String class to collect the message , but if message is big it is not storing in the string. how to handle this... please give me information.

RE: how to handle large amt of data through string class in java

It is difficult to tell what your problem is from your description, but since you are dealing with both a database and a browser, you may be having problems with special characters interfering with your string, i.e., it may only be a coincidence that the string is long.  Try this experiment: Enter a short string, but put a single-quote mark (tick) in the text.  Also try various other characters, such as <>?/!% and others, as well as HTML begin-comment strings (<!--).  We call this "the monkey test."  If you have problems with any of these characters, you may have to escape them before storing the strings in the database.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources