Results 1 to 2 of 2
  1. #1
    pari is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default JSP Not preserve content formats

    Hi all
    In my application i am using struts 1 and jsp
    (<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

    But when user copy data from MS word and insert through textarea some symbols coverted into "?" mark

    we are using html:textarea and inserting data through prepared statment

    Can you please suggest solution of these

    thanks in advance

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: JSP Not preserve content formats

    You'll need to find out where exactly the character set problem is occurring.
    Check the value received by the server for starters.
    If that's OK (and it probably will be) then it's likely to be the character set on the database.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 3
    Last Post: 03-01-2012, 02:08 PM
  2. Replies: 5
    Last Post: 01-13-2012, 08:40 PM
  3. Replies: 0
    Last Post: 06-28-2011, 12:04 PM
  4. Replies: 0
    Last Post: 07-01-2010, 03:56 PM
  5. Class to play variety of video formats
    By Swankee in forum New To Java
    Replies: 0
    Last Post: 10-12-2009, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts