Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

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

Status
Not open for further replies.

siddartha

Computer
Aug 26, 2003
2
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.
 
Replies continue below

Recommended for you

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 &quot;the monkey test.&quot; If you have problems with any of these characters, you may have to escape them before storing the strings in the database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor