Interrmittant dispaly of error message on JSP Page

Hi ,
I am developing an application using JSP and servlets. I ma having a peculiar issue with it.
I have few links on a JSP page. When a user clicks on the link, its credentials are verified from database and if he is authorised, he will be taken to corresponding link page. Otherwise an error message is dispalyed on the same JSP page.
When user is not authorised, an exception is thrown from backend to UI passing an error code. This error code is extracted in UI and error description for this error code is read from a properties file.
From the servlet I use send.redirect() calls to redirect to the url with error code concatenated at the end of the url.
It is something like this
try {
if(validUser)
//do stuff
response.sendRedirect("abc/xyzServlet");
} catch(Exception ex) {
errid=ex.getErrid();
response.sendRedirect("abc/MainPageServlet?errid=" + errid);
}In the MainPageServlet, i read error properties file and display error desc for that error id.
The problem I am facing is that when an unauthorised user clicks on link repeatedly, he sees the error message intermittently.
But the error id could be seen on the page url appended.
Sometimes I also see IllegalStateException in the logs.
I am using WebSphere server to deploy the application.
Please help me on this, I have spent much time on this and haven't got a clue. Any pointers will be useful.
Thank You,
Priyanshu.
Edited by: galapagos on Feb 28, 2008 10:43 PM
Edited by: galapagos on Feb 28, 2008 10:44 PM

I've tried this and the message still comes up all the time. Have also tried resetting and this doesn't work either. The message appears whether or not it is connected to an accessory (eg speakers). Any further ideas?

Similar Messages

  • (newbie) How to return error messages to JSP page.

    Hello,
    I'm using a very simple Model 1 architecture (no framework such as Struts used.) The webapp just consists of a login.jsp which collects database connection parameters and then activates a servlet to return a PDF report to the browser.
    I have a very common need: I would like the errors entered by the user on the login.jsp to be displayed at the top of a new return of the login.jsp (with the bottom of the JSP still providing the edit fields for reentry), errors such as:
    1.) User did not enter the username, password, and database name
    2.) Having a wrong username/password for the given database.
    (2) is more complex than (1), because it would involve feedback from the servlet (which makes the DB connection).
    I'm not sure how to code this, however, with just JSP, JSTL and JavaBeans. Does anyone know of an example with source code on the web where something similar to this is done?
    Thanks,
    Glen

    No problem on posting here. Seeing as JSP forum is not accessible, this is the next best choice.
    What sort of complexity are you after here?
    You can go with the very simple:
    Print out the error messages as you discover them.
    if (request.getParameter("username") == null){
      // print out the message
      out.println("Please enter your username");
      // or alternatively
      List errors = new ArrayList();
      errors.add("Please enter your username");
    }The best way to get feedback is to write your login method to return whether login succeeded or not. That can be a boolean true/false value, or you could return a User object to indicate success, and null to indicate failure.
    How much of the code is in servlet, how much in JSP?

  • Prompt error message in JSP

    May I know how to prompt an error message in JSP?? can I use alert() as in javascript? what's the proper syntax to do it???

    Just to simplify what is already said: All JSP code, without exception, is executed on the server side, and when the JSP page is shown to the user (client) there is no execution of any JSP CODE, you can only use the information supplied by the JSP code.
    /R

  • Latest version of Firefox is having problems loading sites, it tries to load to Google Analytics. No error messages, just a page that won't load. How do I stop this?

    Latest version of Firefox is having problems loading some sites, it tries to load and then gets taken over trying to load Google Analytics. No error messages, just a page that won't load. How do I get rid of this, it is a "pain in the neck"
    == URL of affected sites ==
    http://

    I just spent 3 days with this issue as well. I finally fixed it by reluctantly adding yet another add-on called ADBLOCK
    I was able to selectively block google-analytics. Now pages that weren't loading before are now loading.
    eg vimeo.com starbucks.com & other random sites.
    This was a tough one to fix because there is NO ERROR MESSAGE..page just shows it's loading...forever..& the bottom of my browser says 'waiting for google analytics'. I finally figured out google analytics is the culprit. Ironically, some help pages in trying to find a fix wouldn't load for me due to google analytics arghhh!
    Im on a macbookpro & Safari worked fine for these same sites. It was just Firefox. I nearly switched back to Safari because of this stupid issue.
    I'm wondering if this was caused by recent firefox 'updates'...

  • Acrobat X, error message "cannot delete pages, pages are in use"

    Recently updated to Acrobat X. After saving a pdf, if I try to delete a page or pages, I get an error message "cannot delete pages, pages are in use". I have to close acrobat and reopen my document to continue deleting pages. Is there a fix for this? So far, I think Acrobat 7 was better that X!!!!!!!!!!!!!!!!!!

    What OS are you using?  Ive read that preview pane in windows vista and 7 causes an issue with the delete page feature.  The suggestion was generally to turn the preview feature off.
    Heres technet article on turning off the feature:
    http://social.technet.microsoft.com/Forums/en/itprovistadesktopui/thread/d2a9c302-1ef1-4d9 8-9e81-a88603ae8405

  • Error message when hyperlink page not found

    I have setup hyperlink for one of the field. I would like to display error message when hyperlink page is not exists. Currently it displays standard page not found error.
    Message was edited by:
    user448086

    This sometimes is the result of firewall software protecting you from changed applications. Or it might be something else. Can you review this article and see whether it helps: [[Firefox can't load websites but other browsers can]].

  • How can i dispaly an Error Message from Server Side To form

    Hi All,
    How can i dispaly an Error Message from Server Side To form side .
    i try several ways nothing succed.
    i put the error in stack and after call the procedure from form i added
    Qms$Trans_Errors.Display_Messages;
    and because it is an error not informantional error the error screen displayed and enter
    in infinite loop acts like flashing .
    can any one help me please i use C/S Headstart6i and Designer 6i
    thanks alot
    radi

    hi,
    thanks alot lauri.
    yr code work only using information message but in error message its still the same .
    the error window still flash and enter in infinite loop of executeing the same triggers.
    thanks again
    radi

  • Error message on all pages SWF

    Error message states: This page contains some SWF objects that may not work properly in the most recent versions of Internet Explorer.  Dreamweaver cannot convert them to the new SWF markups.  Please delete each of them and insert again.
    Now I did have a weather flash in the bottom left corner of this website: http://www.sd22.bc.ca.  It was working fine, and one morning just stopped.
    So I redid the flash code the weather burea provided (was exactly the same code):
    It is :<!-- Begin WeatherLink Flash Fragment -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="190" height="125">
        <param name="movie" value="http://dd.weatheroffice.gc.ca/lib/flash/wxlink_e.swf" />
        <param name="FlashVars" value="cityCode=bc-27&amp;siteCode=s0000216&amp;provCode=BC&amp;language=e" />
        <param name="quality" value="high" />
        <embed src="http://dd.weatheroffice.gc.ca/lib/flash/wxlink_e.swf" FlashVars="cityCode=bc-27&amp;siteCode=s0000216&amp;provCode=BC&amp;language=e" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash" width="190" height="125" />
    </object>
    <!-- End WeatherLink Flash Fragment -->
    Saved to all the pages through the template.  And it began to work again.
    Seems to me that a day later I was getting the above error message every time I opened any page that was associated with the template.
    What have I done wrong?
    Thanks JD

    I am beginning to think I have done nothing wrong and perhaps it is simply an annoying issue with Dreamweaver.  As I have placed the outside code into another website that has a very similar template with no error messages appearing.

  • Error message of "404 - page not found" after downloading and installing Firefox 15

    Error message of "404 page not found" after downloading the latest version of Firefox.

    This sometimes is the result of firewall software protecting you from changed applications. Or it might be something else. Can you review this article and see whether it helps: [[Firefox can't load websites but other browsers can]].

  • I have the ipad2 with the latest Os upgrade.  On certain websites, I get the following error message: cannot open page. Safari cannot open the page because the network connection was lost. I have rebooted, turned off wifi and reset the password.

    This is happening to only certain websites.  Unfortunately, the work ones that I need to access.  I appreciate any help.
    Error message:
    Cannot open page
    Safari cannot open the page because the network connection was lost
    I reset the wifi and the password, I also rebooted several times.

    Do you have any other browsers on your iPad? If you don't have one, why don't you try downloading one of these free browsers - they will all be "lite" versions (not full featured)  - but if you can access these websites with one of those - then I assume that we can point to Safari as being the culprit. That will not solve the Safari problem, but it will give us another point from which to work.
    http://www.google.com/search?client=safari&rls=en&q=free+ipad+web+browsers&ie=UT F-8&oe=UTF-8
    I have Mercury, iCab Mobile, Opera, Dolphin and Atomic. iCab Mobile - the paid version is great.
    BTW ... have you tried to access these sites from another WiFi connection - like a library, a friend's house - any other WiFi network?

  • Send message from JSP page to Java message driven bean

    Hi all
    I'm using Jdev903.
    I need to send a message from JSP page (Web Application) to Java Message Driven Bean.
    * I created Message Driven Bean that named: MyMessageDrivenEJBBean
    * I have configed jms.xml:
    <topic-connection-factory name="ChatTopicConnectionFactory" location="jms/theTopicConnectionFactory"/>
    <topic name="ChatTopic" location="jms/theTopic"/>
    * In JSP page, my code is:
    final Context ctx = new InitialContext();
    // 1: Lookup ConnectionFactory via JNDI
    TopicConnectionFactory factory =(TopicConnectionFactory)ctx.lookup("jms/theTopicConnectionFactory");
    But trouble occurs is:
    javax.naming.NameNotFoundException: jms/theTopicConnectionFactory not found
    please help me!
    thank a lot.

    Welcome to the Sun forums.
    1. Please post your code using code tags, this formats it so that it is easier for people to read and understand it. Click on 'CODE' above the text area when posting.
    2. As far as possible, please post an SSCCE
    What have learnt about JSPs and servlets till now? Because reading the values submitted in a form is pretty much the base of all operations. I suggest you Google for [servlet tutorials|http://www.google.com/search?q=servlet+tutorial] and [JSP tutorials|http://www.google.com/search?q=jsp+tutorial] and go through them thoroughly. After you understand what is to be done and what options are available to you, if you still face problems, please feel free to post your queries here. But this isn't exactly a site for tutorials, especially since there are so many good ones already out there, that explain all this stuff in detail. There's no point in re-inventing the wheel.
    Hints: [ServletRequest#getParameter()|http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)] and [RequestDispatcher#forward|http://java.sun.com/javaee/5/docs/api/javax/servlet/RequestDispatcher.html]

  • How to setup error message in JSP if no data or page found

    I want to show users some error message after user clicks on a link and no page or data is found.
    How do I show users to a valid error message if there is no data exists after they click on a link?

    Add the following line at the top of your jsp
    <%@ page errorPage="error.jsp" %>
    Then, write a error.jsp in whichever fashion u want.
    My error.jsp begins like this
    <%@ page isErrorPage="true" %>
    <html>
    <head>

  • Custom Error message in Login Page

    Hi,
    I am using MVC framework for my project. I want to display custom error messages to the user in the Login page(JSP).
    For eg: invalid password, password has been expired etc. How do I pass these messages from Java to my login page & display it?

    This is a sample action class for login page in struts : -
    package xxx;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import LoginForm.java;
    public class Action extends org.apache.struts.action.Action
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception {
    ActionErrors errors = new ActionErrors();
    ActionForward forward = new ActionForward(); // return value
    String username;
    String password;
    try {
    LoginForm lf = new LoginForm;
    username =lf.getUserName();
    password = lf.getPassword();
    if( username== null)
    forward=mapping.getInputForward();
    if( (username == "admin" ) && ( password="admin"))
    // do something here
    } catch (Exception e) {
    // Report the error using the appropriate name and ID.
    //Errors will be caught here.
    errors.add("name", new ActionError("id"));
    // If a message is required, save the specified key(s)
    // into the request for use by the <struts:errors> tag.
    if (!errors.isEmpty()) {
    saveErrors(request, errors);
    // Forward control to the appropriate 'failure' URI (change name as desired)
    //     forward = mapping.findForward("failure");
    } else {
    // Forward control to the appropriate 'sucuess' URI (change name as desired)
    forward = mapping.findForward("success");
    // Finish with
    return (forward);
    You need to have LoginForm.java as Model and Login.jsp as View . Action.java will be your controller.

  • Error while running jsp page

    Hi,
    While running JSP page in weblogic I am getting following error.
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at weblogic.xml.jaxp.WebLogicSAXParser.setProperty(WebLogicSAXParser.java:117)
         at weblogic.xml.jaxp.RegistrySAXParser.setProperty(RegistrySAXParser.java:117)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceContext.java:269)
         at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:4907)
         at jsp_servlet._pages.__viewreports._jspService(__viewreports.java:166)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    I am using jdk1.5. And I am using this jsp page for cognos connection.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Error in a jsp page...

    Hi guys,
    i'm a new user of Jsf and i've this error when i run my first application:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Component javax.faces.component.UIViewRoot@5b38d7 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
         org.apache.jsp.pages.Login_jsp._jspService(Login_jsp.java:97)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@5b38d7 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         com.sun.faces.taglib.html_basic.OutputTextTag.setProperties(OutputTextTag.java:90)
         javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:712)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
         com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:155)
         org.apache.jsp.pages.Login_jsp._jspx_meth_h_outputText_0(Login_jsp.java:113)
         org.apache.jsp.pages.Login_jsp._jspService(Login_jsp.java:80)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    How can i solve it?
    i post you my Login.jsp and config files
    Login.jsp
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
      <head>
        <title>
          <h:outputText value="MicroArray Classifier"/>
        </title>
      </head>
      <body>
        <f:view>
          <h:form>
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <h:graphicImage alt="Welcome to MicroArray Application" title="Welcome to MicroArray Application" url="/images/srfc_gourcuff1.jpg" width="170" height="200"/>     
                </td>
                <td>
                  <table cellpadding="5" cellspacing="4">
                    <tr>
                      <td colspan="2">
                        <font faces="Arial,sans serif" size="5">
                          <h:outputText value="Welcome to MicroArray Application"/>     
                        </font>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:outputLabel for="userNameInput" >
                          <h:outputText value="Enter Your Name"/>
                        </h:outputLabel>
                      </td>
                      <td>
                        <h:inputText id="userName Input" maxlength="30" size="20"/>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:outputLabel for="passwordInput">
                          <h:outputText value="Password"/>
                        </h:outputLabel>
                      </td>
                      <td>
                        <h:inputSecret id="passwordInput" maxlength="30" size="20"/>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:outputLabel for="Group Input">
                          <h:outputText value="Enter Your Group"/>
                        </h:outputLabel>
                      </td>
                      <td>
                        <h:inputText id="Group Input" maxlength="30" size="20"/>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:commandButton action="Ok" value="Submit" title="submit"/>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </h:form>
        </f:view>
      </body>     
    </html> web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC
        "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
         <filter>
            <filter-name>ExtensionsFilter</filter-name>
            <filter-class>
                org.apache.myfaces.component.html.util.ExtensionsFilter
            </filter-class>
            <init-param>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
            </init-param>
            <init-param>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
            </init-param>
            </filter>
        <filter-mapping>
            <filter-name>ExtensionsFilter</filter-name>
            <servlet-name>FacesServlet</servlet-name>
        </filter-mapping>
        <servlet>
            <servlet-name>FacesServlet</servlet-name>
            <servlet-class>
                javax.faces.webapp.FacesServlet
            </servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>FacesServlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>FacesServlet</servlet-name>
            <url-pattern>*.faces</url-pattern>
        </servlet-mapping>
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
                                  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
         <managed-bean>
              <managed-bean-name>myBean</managed-bean-name>
              <managed-bean-class>giu.MyBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>
         <navigation-rule>
              <from-view-id>/pages/Login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>Ok</from-outcome>
                   <to-view-id>/pages/MyForm.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/pages/MyForm.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/pages/MyResult.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Can you help me please?I'm inexpert...

        <title>
          <h:outputText value="MicroArray Classifier"/>
        </title>You cannot put faces elements outside the f:view.
    Put it in a f:subview.
        <title>
            <f:subview id="title">
                <h:outputText value="MicroArray Classifier"/>
            </f:subview>
        </title>

Maybe you are looking for

  • How can i make a Web application with listboxes as the column value

    Hi, I have two tables,one is employeees the other is devices.(Devices is the table for department notebooks).I want to implement an applicatiion for employees in order for them to book department laptops,so everyone will know which devices are in use

  • X11 not starting correctly.

    Hi all! After putting arch on my netbook and my desktop, I've now decided to put it on my media centre pc too! When I try to start X i get no display (no signal). The console shows me the following issues. I'm not sure if these are what are preventin

  • Problem inserting and querying XML data with a recursive XML schema

    Hello, I'm facing a problem with querying XML data that is valid against a recursive XML Schema. I have got a table category that stores data as binary XML using Oracle 11g Rel 2 on Windows XP. The XML Schema is the following: <?xml version="1.0" enc

  • Active X and Excel

    Using LV2012 and Office 2010. I am trying to create a XLS file to collate data from numerous test certifcates to do some analysis on the test data. Got a good working example in the Help section and have modified it to suit my need. It works but I ne

  • ABAP Query SAPDBx 50003 Unknown Error

    Hi experts, I'm trying to modify an Query InfoSet at SQ02 t-code. In update mode, when I press Go To -> Join the following pop-up error message appears: Unexpected Error: Module: SAPDBxVisualQuery.VisualQuery Function: UserControl_Initialize Error No