Hi!
My homework simple don't work , when I runned it i show 503 server error 
message 
 
report: method service() not resdpond
index .jsp
 which is welcome page have 
<jsp:forward page="greeting.faces" />
 
 The greeting.jsp have this code:
<%--
 Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.
--%>
<html>
    <head> <title>Hello</title> </head>
    <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
    <body bgcolor="white">
        <f:view>
            <h:form id="helloForm" >
                <h2>Hi. My name is Duke.  I'm thinking of a number from
                    <h:outputText value="#{UserNumberBean.minimum}"/> to
                <h:outputText value="#{UserNumberBean.maximum}"/>.  Can you 
guess it?</h2>
                <p> First you have to choose one flag:</p>
                 <table>
                    <tr>
                        <td>
                            <h:commandLink immediate="true"
                                           actionListener=
                                           "#{localeChanger.changeLocale}">
                                <f:attribute name="languageCode"
                                             value="ca"/>
                                <h:graphicImage value="/canadian_flag_1.gif"
                                                style="border: 0px"/>
                            </h:commandLink>
                        </td>
                        <td>
                            <h:commandLink  immediate="true"
                                           actionListener=
                                           "#{localeChanger.changeLocale}">
                                <f:attribute name="languageCode"
                                             value="en"/>
                                <h:graphicImage value="/britain_flag.gif"
                                                style="border: 0px"/>
                            </h:commandLink>
                        </td>
                    </tr>
                </table>
                <p>
                <h:graphicImage id="waveImg" url="/wave.med.gif" />
                <h:inputText id="userNo" value="#{UserNumberBean.userNumber}"
                             validator="#{UserNumberBean.validate}"/>          
                <h:commandButton id="submit" action="success" value="Submit" />
                <p>
                <h:message style="color: red; font-family: 'New Century 
Schoolbook', serif; font-style: oblique; text-decoration: overline" 
id="errors1" for="userNo"/>
                </p>
                </p>
            </h:form>
        </f:view>
    </body>
</html>  
 
I change everythin in faces-config.jsp, even errase local-settings, change and 
added attribute for web-app in web.xml, errase security-settings, but It not 
work, not work.
Maybe the problem is in greetin.jsp. But I don,t see what?
I occured that  tag <h:commandLink...> dont show attribute actionListener, but 
it works for lab exercise. So I am stucked, please Help me!!
 
Regards,
Biljana



      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to