| Author |
A problem with requested parameters
|
Sasan torabkheslat
Greenhorn
Joined: Jul 24, 2011
Posts: 6
|
|
thanks before typing this topic! for your attention!!
now!!
I've created a JSP project with netbeans 7.0 and tomcat 7.0 too with no problem!
but when export it to a web archive (war) and deploy it into my tomcat server (without netbeans) i saw a problem;
this tag doesn't work:
but these ones works:
has any body now what's the problem!!!?
thans for any advise!
|
Be Orginal!
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
You probably have encoding problems. A lot of software in the web application world works by default in the ISO-8859-1 (Western European) charset, which as you can tell from its name doesn't handle Farsi characters properly.
So make sure you configure everything in sight to use UTF-8 as its charset (also called "encoding"). First make sure that Netbeans saves your JSP files with UTF-8 encoding. And make sure that your JSPs declare themselves like this:
And finally read the Tomcat FAQ page about character encoding: Character Encoding Issues and implement in particular the section starting with "In order to completely switch to using UTF-8..."
|
 |
Sasan torabkheslat
Greenhorn
Joined: Jul 24, 2011
Posts: 6
|
|
Paul Clapham wrote:You probably have encoding problems. A lot of software in the web application world works by default in the ISO-8859-1 (Western European) charset, which as you can tell from its name doesn't handle Farsi characters properly.
So make sure you configure everything in sight to use UTF-8 as its charset (also called "encoding"). First make sure that Netbeans saves your JSP files with UTF-8 encoding. And make sure that your JSPs declare themselves like this:
And finally read the Tomcat FAQ page about character encoding: Character Encoding Issues and implement in particular the section starting with "In order to completely switch to using UTF-8..."
you right!
but all of my jsp pages hat this tag!!
I've created a JSP project with netbeans 7.0 and tomcat 7.0 too with no problem!
|
 |
 |
|
|
subject: A problem with requested parameters
|
|
|