Very Strange problem with jsp pages and character sets...

E

ed

Hello,

Can anyone point me in the right direction:

I have a struts web app that produces a JSP page with a "form" to the
client browser. The user needs to cut some text from a "word document"
that has "bullets" into the jsp form textarea......

The problem is that when the user pastes into the JSP page served by
the development server the form textarea does NOT show the bullets, but
instead just little squares.... BUT when the user gets the same JSP
form from the production server and pastes the bullets into the
textarea, they DO show as bullets in the textarea of the client browser
form..... WHY the difference in how the bullets are display? It is the
exact same code deployed to dev and production?!?!?

Thank for any and all help!
Ed
 
A

Andrew Thompson

ed wrote:
....
Can anyone point me in the right direction:

I have a struts web app that produces a JSP page
URL?*

...with a "form" to the
client browser. The user needs to cut some text from a "word document"
that has "bullets" into the jsp form textarea......

The problem is that when the user pastes into the JSP page served by
the development server
URL?*

...the form textarea does NOT show the bullets, but
instead just little squares.... BUT when the user gets the same JSP
form from the production server and pastes the bullets into the
textarea, they DO show as bullets in the textarea of the client browser
form..... WHY the difference in how the bullets are display? It is the
exact same code deployed to dev and production?!?!?

* By 'URL?' I mean, can you provide us with the URL
to a short test page that displays the behaviour you
describe, rather than any proprietary and secret,
commercially sensitive page.

The only thing I can suggest (off the top of
my head, short of those examples) is to
check the character encoding of both pages,
perhaps they are 'inheriting' different settings
from the parent server.

Andrew T.
 
C

Chris Uppal

ed said:
The problem is that when the user pastes into the JSP page served by
the development server the form textarea does NOT show the bullets, but
instead just little squares.... BUT when the user gets the same JSP
form from the production server and pastes the bullets into the
textarea, they DO show as bullets in the textarea of the client browser
form..... WHY the difference in how the bullets are display?

Why don't you just compare the two HTTP responses ? There is clearly some
difference between what the production and test servers are sending back to the
client -- if you knew what that was then the chances are that the problem would
be solved.

-- chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top