Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Aug 26, 2003
Messages
2
Location
IN
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.
 
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

Back
Top