views:

43

answers:

1

Hi everyone I need to validate a web application in html 4.01 transitional. In my project im working on skeletons/head.jsp to add meta tags. The problem is that i want to add tags like:

<meta name="robots" content="follow">

without the enclosing tag. And the document type is defined on skeleton.xml as HTML 4.01 Transitional. But when erase the slash the WorkShop Framework (Eclipse) fails if no exist ending tag.

It's the head.js where i have to put the meta tags?

thsnks

A: 

“But when erase the slash the program fails.”

I’m not familiar with WebLogic, but when you say “the program fails”, do you mean your website stops working? Or the resulting HTML page doesn’t validate?

Paul D. Waite
ups, i mean: the workshop framework (Eclipse) fails because ending xml tag is not
returnvoid
Ah, okay. There’s your problem: HTML isn’t XML. I don’t suppose you can have the site validate as XHTML 1.0 Transitional instead, can you? It’s the same language as HTML 4.01 Transitional, just with XML syntax.
Paul D. Waite