File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes HTML5 and JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "HTML5 and JSP" Watch "HTML5 and JSP" New topic


Gallen Thomas

Joined: Aug 15, 2010
Posts: 13
Hello Everyone,

I am new with JSP and HTML5.

Does anyone have a simple HTML5, CSS3 and JSP example page that i can run and follow? I can't get mind to work and I am thinking jsp and html5 does not mix? I tried to attached my files (jsp page, css3) but javaranch wouldn't let me.

Thanks in advance


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

JSP knowns nothing about HTML at all. Nor JavaScript. Nor CSS.

All the HTML, JavaScript and CSS markup in a JSP template is just template text and is not processed or parsed in any way by the JSP engine. It could be Swahili for all the JSP translator cares. So whether the template text contains HTML5, or HTML4, or random keystrokes caused by an iguana walking over the keyboard doesn't matter one iota.

So no, whatever your problem is, it isn't the use of HTML5. The problem lies elsewhere.

Please read this article for more info on how JSP works.

Describe the problems you are having, and post the relevant code sections (be sure to UseCodeTags).

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: HTML5 and JSP
It's not a secret anymore!