this jsp is not rendered in the good way
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css"
href="<%= request.getContextPath() %>/css/style-main.css" />
</head>
<body>
<f:view>
<h:form>
<h:panelGrid columns="2" border="0" cellpadding="2" cellspacing="2">
<h:graphicImage value="" url="/images/logo.gif" alt="WebMusicRadio"
title="WebMusicRadio" />
<h:panelGrid columns="3" border="0" cellpadding="5" cellspacing="2" headerClass="main-header" width="374">
<f:facet name="header">
<h:outputText value="WebMusicRadio"/>
</f:facet>
<h:messages globalOnly="true" styleClass="validation-error"/>
<h:panelGroup />
<h:panelGroup />
<h:outputLabel for="username">
<h:outputText value="Enter Username:" />
</h:outputLabel>
<h:inputText id="username" required="true"/>
<h:message for="username" styleClass="validation-error" />
<h:outputLabel for="password">
<h:outputText value="Enter Password:" />
</h:outputLabel>
<h:inputSecret id="password" required="true" />
<h:message for="password" styleClass="validation-error" />
<h:panelGroup />
<h:commandButton action="" value="Login" styleClass="button-flat" />
<h:panelGroup />
</h:panelGrid>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
i have tested with others IDE and it works good, but myeclipse jsp preview is not like the one from the others IDE. let me know if it is a bug or only a problem for me bye 😉