tutorials.de Buch-Aktion 05/2012
ERLEDIGT
NEIN
ANTWORTEN
1
ZUGRIFFE
456
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
AUF DIESES THEMA
ANTWORTEN
  1. #1
    fromongatobomga fromongatobomga ist offline Mitglied
    Registriert seit
    Feb 2008
    Beiträge
    12
    Hey Leutz,

    ich hab ein Problem mit dem aufrufen einer JSF. Ich bekomme folgenden Fehler:

    HTTP Status 500

    type: Exception Report

    exception: org.apache.jasper.JasperException: /jsp/login.jsp(15,32) PWC6228: #{...} not allowed in a template text body.


    Bei bedarf poste ich auch gerne den ganzen Stacktrace.


    die besagte login.jsp:


    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    
    !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>login</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h:panelGrid columns="2">
    <h:outputText value="Username"></h:outputText>
    <h:inputText id="user" value="#{managedBeanInterface.nickWEB }" ></h:inputText>
    <h:outputText value="Password"></h:outputText>
    <h:inputSecret id="passwd" value="#{managedBeanInterface.passwdWEB }" ></h:inputSecret>
    <h:commandButton id="send" value="Submid" action="#{managedBeanInterface.authUser }"></h:commandButton>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>

    Danke für eure mühen im voraus

    LG
     

  2. #2
    fromongatobomga fromongatobomga ist offline Mitglied
    Registriert seit
    Feb 2008
    Beiträge
    12
    Hey ho,

    Ich hab nun noch mal was anderes Ausprobiert.

    Wenn ich anstadt der Raute ein Dollar benutze (#{....} ---> ${...}), dann kommt zwar keine Exception mehr allerdings bleibt die JSP-Seite die Aufgerufen wird dann Blank... ich seh kein Objekt.. weder Input-Text noch Labels.

    LG
     

Ähnliche Themen

  1. PDF mit Jasper öffnen?!
    Von Bumbum564 im Forum Java
    Antworten: 1
    Letzter Beitrag: 23.10.09, 09:37
  2. Frage zu Jasper Reports
    Von Goliath83 im Forum Java
    Antworten: 2
    Letzter Beitrag: 06.02.09, 07:49
  3. Grupperungsänderung in Jasper
    Von Jango Qel Droma im Forum Java
    Antworten: 0
    Letzter Beitrag: 25.10.06, 13:26
  4. Jasper mit JasperAssitant
    Von Jango Qel Droma im Forum Java
    Antworten: 0
    Letzter Beitrag: 17.08.06, 08:33
  5. Jasper Reports - wie fängt man an?
    Von henning-malaysia im Forum Java
    Antworten: 1
    Letzter Beitrag: 12.04.05, 06:01