This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

encoding in jsp effect jsp Rendering on browser

 
shyam ji gautam
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all;

I am Geting one issue Initially my application is Runing oN oracle soa oc4j server. There is already 1 jsp page says Jsppage1 . Which is working fine.
But I do some customization and add new feature include some java script with page . this jsp page1 has

case 1 when Jsppage1 has

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
request.setCharacterEncoding("UTF-8");

in this case if i include my java script or even same keydown retun"false" on password label then that changes are not reflected. even page is not dispaly
it display empty page.

even i Restarted the server after that also it display empty page.

case2 when jsppage1 has

<%@ page language="java" contentType="text/html"%>

in this case when i include my java script file for new feature or even same keydown retun"false" on password label then that changes are reflected. even page is dispaly properly.


So What is the Reason of this behaviour . I am using oc4j application server.


Please explain any one

-Thanks





 
Campbell Ritchie
Sheriff
Pie
Posts: 49451
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know, but that question is too hard for “beginning”, so I shall move it. Let's try the JSP forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic