Hallo allerseits,
Ich habe ien J2EE project deployed und nun wird die login.xhtml nicht richtig angezeigt
folgendes mein Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<body>
<h2>Login Page</h2>
<h:form id="login">
<table>
<tr>
<td>email:</td>
<td><h:inputText value="#{J2EEProjectBean.email}" /></td>
</tr>
<tr>
<td>password:</td>
<td><h:inputText value="#{J2EEProjectBean.password}" /></td>
</tr>
</table>
<h:commandButton value="Login" action="#{J2EEProjectBean.checklogin}"/>
</h:form>
</body>
</html>
Die Seite wird angezeigt jedoch ohne jeglich h:form, h:inputtext elemente. Auch wenn ich bei den h: elementene eine id hinzufüge ändert das nichts an der Situation. Woher kann dieses Problem kommen?
mfg
gecko
Ich habe ien J2EE project deployed und nun wird die login.xhtml nicht richtig angezeigt
folgendes mein Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<body>
<h2>Login Page</h2>
<h:form id="login">
<table>
<tr>
<td>email:</td>
<td><h:inputText value="#{J2EEProjectBean.email}" /></td>
</tr>
<tr>
<td>password:</td>
<td><h:inputText value="#{J2EEProjectBean.password}" /></td>
</tr>
</table>
<h:commandButton value="Login" action="#{J2EEProjectBean.checklogin}"/>
</h:form>
</body>
</html>
Die Seite wird angezeigt jedoch ohne jeglich h:form, h:inputtext elemente. Auch wenn ich bei den h: elementene eine id hinzufüge ändert das nichts an der Situation. Woher kann dieses Problem kommen?
mfg
gecko