This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I came across a really weird thing which has a lot to do
here is code for two very simple jsf pages
(note: I have not used any IDE help to write the declarations)
Now the fun part, if example2.jsp is run, nothing is shown(blank page) however if you remove the <script></script>
it runs fine.
Am I missing something here? I have written working apps before with example1.jsp syntax
and the visual web apps with example2.jsp declaration style with extra xmlns attribute for woodstock component library
But this completely caught me offguard, my reference for this syntax was core jsf book.
This is what I use. Try this and see if there is any luck with loose.dtd.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
Rahul Santha wrote:This is what I use. Try this and see if there is any luck with loose.dtd.
You didn't understood the actual problem.
Suggesting the loose DTD makes also no sense. It is a worthless DTD which only triggers browsers to non-standards mode. You should be using strict. Also coming up with some irrelevant autogenerated meta headers and stylesheets would only confuse the topicstarter more.