aspose file tools*
The moose likes JSP and the fly likes is encodiing in jsp create problem for compilation after changes ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "is encodiing in jsp create problem for compilation after changes ?" Watch "is encodiing in jsp create problem for compilation after changes ?" New topic
Author

is encodiing in jsp create problem for compilation after changes ?

shyam ji gautam
Ranch Hand

Joined: Sep 17, 2011
Posts: 49
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
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Are there any messages in the server error logs? Usually a blank page implies there was some problem rendering the page.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is encodiing in jsp create problem for compilation after changes ?