Issues in jsp page for Authentication.

Hi,
I am working on jsp and jsf and i am suffering from an error.I am not able to login into the application.
below is the error it appears on the browser.i am able to enter login-id and pwd.After that if press enter then it shows.
The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).
could any please help me in this.
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>results.jsp</welcome-file>
</welcome-file-list>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Patient</realm-name>
<form-login-config>
     <form-login-page>/protected/login.jsp</form-login-page>
     <form-error-page>/loginerror.jsp</form-error-page>
</form-login-config>
</login-config>
</web-app>
Thanks in Advance

It sounds like you don't have the proper metadata stored in the BeanInfo which tells the IDE the tag name associated with the component.
See http://swforum.sun.com/jive/thread.jspa?threadID=53880&tstart=15
for more.
-- Tor
http://blogs.sun.com/tor

Similar Messages

  • Jsp page for mobile in drop down

    How to get the drop down list in the jsp page.for mobile applications
    and how to connect tha field in that drop down to backend
    we r using abstactpage to connect backend.

    answerd

  • Timed out issue in jsp page!

    Dears,
    It is really amazing for me to see this issue in my application which I deployed in Oracle Application Server 10g r2.
    I am using JDeveloper 10g to create jsp pages.
    On one jsp page i am displaying 15 html tables for a report.
    All tables have 1 query to get records from oracle 10g database.
    Am opening one connection and than one by one running queries just before each table and rendering data through ResultSet
    (which is scrollable).
    If I test this page from JDeveloper, it is displaying fine.
    But when I deploy this page in Oracle Application Server 10g,
    and create a portlet and show this jsp page in portlet and open this page,
    this page most of the time giving 'TIMED OUT', and a few times displaying report properly.
    I tried PreparedStatement to run multiple queries for Oracle DB, but couldn't make it successfully.
    BTW,
    I checked my OAS log, it shows following error:
    09/03/16 18:39:08 hrwfapp: [instance=(null), id=(null)] ERROR: Request has exceeded its warning timeout Time[elapsed=61046ms.
    Warning timeout=20000ms.] Request[id=5003532663665,3 providerId=493501 portletId=117 portletName=AttritionReports
    portletInstance=35555_ATTRITIONREPORTS_493501 user=PUBLIC] Thread[ name=AJPRequestHandler-ApplicationServerThread-6
    priority=5 alive=true interrupted=false groupName=ApplicationServerThreadGroup]
    Please help me in this regard, what should I do to avoid Timed out issue.
    Best Regards

    Hi,
    if this occurs only in combination with portlets then I would try the Oracle Portal forum for help or use customer support to help you analyzing the issue
    Frank

  • How to use single JSP page for multiple users.

    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.

    SuneelGoodatJava wrote:
    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.HTTP is a request/response protocol. You can't do what you're suggesting without "pushing" what you type to all the other users. That's not the way HTTP works. Maybe an applet and servlet.
    %

  • How to register a jsp page for a function

    Hi,
    Im new to OA Framework. I have to load a custom jsp page on clicking a function under a responsibility. I logged into "System Administrator" resposibility -->Application --> function. Searched for the function and in the Web HTML set the value as "/OA_HTML/testPage.jsp" (I tried "testPage.jsp" also)
    I have created the testPage under WebContent directory(in JDeveloper), where all the other jsp pages like, OA.jsp, RF.jsp are found. When i run the test_fwktutorial.jsp and click the function, it gets forwarded to Login Page.
    Whr am i going wrong..any ideas.
    Thanks,
    Vishnupriya

    OAJSPHelper class is a helper class which contain lot of static methods to get context related data, this class should would have values after webappscontext is initialized,ie. you are moving from a OAF page to a jsp page.
    If you wanna open your jsp directly and create apps session, you need to hard code values of password, username ,responsibility bkey etc to create webappscontext. In case of fwktutorial jsp from where you might have picked this code, these properties are picked from text file in OA_html folder in jdev.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Issue with JSP page in MobileFiledServices -- Debrief

    Hello All ,
    Can you please guide me in getting the api used for inserting the record in Fnd_Lobs table .
    I am working on Mobile Field Services -->Debrief Here i am trying to attach the file by clicking on the attachment icon and i am able to upload the file from my local system , which is stored in the fnd_lobs base table . The upload has been done successfully and i could able to see this record in the Fnd_lobs table.
    Now my requirment is to find which APi or procedure that is being used to insert the file into the base table fnd_lobs.
    we have tried to get that particular form and try to see it . but that particular page for uploading file is JSP page....
    we are not able to Get that particular JSP page .... It would be great if some can help in this Regard.....
    Thanks in Advance....
    Thanks,
    Sairam.

    Hello All ,
    Can you please guide me in getting the api used for inserting the record in Fnd_Lobs table .
    I am working on Mobile Field Services -->Debrief Here i am trying to attach the file by clicking on the attachment icon and i am able to upload the file from my local system , which is stored in the fnd_lobs base table . The upload has been done successfully and i could able to see this record in the Fnd_lobs table.
    Now my requirment is to find which APi or procedure that is being used to insert the file into the base table fnd_lobs.
    we have tried to get that particular form and try to see it . but that particular page for uploading file is JSP page....
    we are not able to Get that particular JSP page .... It would be great if some can help in this Regard.....
    Thanks in Advance....
    Thanks,
    Sairam.

  • Adding my jsp page for administration

    can i attach my jsp page to manage users and groups by admin, instead of 9IAS portal page to manage users and groups. if i can use it , then how can i map the values entered in my jsp page with the 9IAS portal page for creating and managing users and groups.

    Then your question was wrong. You asked how to include package. The solution to that is that you don't need to add the import since it happens automatically.
    Your actual problem was that the package was not found. If you'd mentioned that earlier, someone could've suggested that you check to see if you'd added the API library to your classpath and you'd have got your answer faster.
    You should state your exact problem and post the relevant stack trace and exceptions and code if any.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Customized JSP Page for LOV from a OAF Page

    We want a customized LOV page that will be a new JSP page instead of OAF JRAD XML. Right next to this new item we will put a link to open us this new JSP page. The base page is OAF page. When user selects the data from the new LOV JSP page, it has to be passed to the base page items. Is it possible to acheive this?

    You cannot do that, all queries and eventual data binds to UIX beans must ha[[en through VOs.
    What I can suggest as a workaround is this.
    1. Create a normal LOV based on a VO
    2. Create rows for the LOV VO
    3. populate the attributes of the VO row with the values that you have in your collection object.
    4. Insert the row in your VO.
    Thanks
    Tapash                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • A jsp page for searching employees

    this jsp page is used for searching employees and displaying the search results.
    when the submit button is clicked, the http request will be sent to a servlet java class.
    <%@ page contentType="text/html" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
    <head>
    <title>SEARCH STAFF</title>
    </head>
    <body>
    <p align="center"><font color="#008000">SEARCH STAFF</font></p>
    <FORM METHOD=POST ACTION="/servlet/ReqHandler?action=searchstaffget">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
        <tr>
        <td width="50%">Staff ID:</td>
        <td width="50%"><INPUT NAME=staffid SIZE=15></td>
      </tr>
      <tr>
        <td width="50%">First Name:</td>
        <td width="50%"><INPUT NAME=firstname SIZE=30></td>
      </tr>
        <tr>
        <td width="50%">Last Name:</td>
        <td width="50%"><INPUT NAME=lastname SIZE=30></td>
      </tr>
      <tr>
        <td width="50%">Gender:</td>
        <td width="50%"><select size="1" name="sex">
        <option value="m" selected>Male</option>
        <option value="f">Female</option>
        </select></td>
      </tr>
       <tr>
        <td width="50%">E-mail:</td>
        <td width="50%"><INPUT NAME=email SIZE=30></td>
      </tr>
      <tr>
        <td width="50%">Birth date:</td>
        <td width="50%"><INPUT NAME=birthdate SIZE=10></td>
      </tr>
      <tr>
        <td width="50%">Address:</td>
        <td width="50%"><input type="text" name="addr" size="30"></td>
      </tr>
      <tr>
        <td width="50%">Phone number (Home):</td>
        <td width="50%">
    <input type="text" name="phoneno" size="8"></td>
      </tr>
      <tr>
        <td width="50%">Phone number (Mobile):</td>
        <td width="50%">
       <input type="text" name="mobileno" size="8"></td>
      </tr>
      <tr>
        <td width="50%">ID card number:</td>
        <td width="50%"><input type="text" name="idno" size="8"></td>
      </tr>
        <tr>
          <td width="50%">Position:</td>
          <td width="50%"><select size="1" name="position">
        <option value="deliveryman" selected>Deliveryman</option>
        <option value="normalstf">Normal Staff</option>
        </select></td>
      </tr>
    </table>
    <P align="center">
    <INPUT TYPE=SUBMIT></FORM>
    <!--
    I WANT THE SEARCH RESULTS TO BE DISPLAYED HERE IN THIS JSP PAGE.
    THIS MEANS THAT, AFTER THE SUBMIT BUTTON IS CLICKED, THE FORM ABOVE WILL NOT DISAPPEAR AND THE SEARCH RESULTS WILL DISPLAY BELOW THE FORM.
    --> the java servlet class will then forward the search parameters(last name, first name....etc.) to a database accessor class and this class will then return an arraylist of all the columns for each row in the database that match the search criteria. Each column of a row is stored as a String object in the arraylist.
    what i would like to ask is, what codes should i use in the servlet class, and what codes should i use in the jsp page, in order that, the search results will finally display in <TABLE> format.
    please help, thanks a lot~~~~~~~~

    put the search results in session in your servlet
    using
    request.getSession().setAttribute("SEARCH_RESULT_SESSI
    ON", searchResult);
    where searchResult is your arrayList.
    in your JSP page:
    <c:set var="SEARCH_RESULT"
    value="<%=SEARCH_RESULT_SESSION%>"/>
    <c:set var="searchResult"
    value="${sessionScope.SEARCH_RESULT}"
    scope="request"/>
    and use this searchResult to display your results in
    whatever format you want.
    <c:forEach var="result" items="searchResult">
         <c:out value="${result}"/>
         result is the string that you stored in arrayList.
    </c:forEach>
    Questions, let me know.thanks but.....
    this doesn't work for me, i placed this statement in my java servlet class:
    request.getSession().setAttribute("SEARCH_RESULT_SESSION", searchResult);and i placed the other statements in the JSP page like this:
    <%@ page contentType="text/html" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ page isELIgnored="false" %>
    <%@ page import="java.util.ArrayList" %>
    <html>
    <head>
    <title>SEARCH STAFF</title>
    </head>
    <body>
    <p align="center"><font color="#008000">SEARCH STAFF</font></p>
    <FORM METHOD=POST ACTION="/servlet/ReqHandler?action=searchstaffget">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <tr>
    <td width="50%">Staff ID:</td>
    <td width="50%"><INPUT NAME=staffid SIZE=15></td>
    </tr>
    <tr>
    <td width="50%">First Name:</td>
    <td width="50%"><INPUT NAME=firstname SIZE=30></td>
    </tr>
    <tr>
    <td width="50%">Last Name:</td>
    <td width="50%"><INPUT NAME=lastname SIZE=30></td>
    </tr>
    <tr>
    <td width="50%">Gender:</td>
    <td width="50%"><select size="1" name="sex">
    <option value="m" selected>Male</option>
    <option value="f">Female</option>
    </select></td>
    </tr>
    <tr>
    <td width="50%">E-mail:</td>
    <td width="50%"><INPUT NAME=email SIZE=30></td>
    </tr>
    <tr>
    <td width="50%">Birth date:</td>
    <td width="50%"><INPUT NAME=birthdate SIZE=10></td>
    </tr>
    <tr>
    <td width="50%">Address:</td>
    <td width="50%"><input type="text" name="addr" size="30"></td>
    </tr>
    <tr>
    <td width="50%">Phone number (Home):</td>
    <td width="50%">
    <input type="text" name="phoneno" size="8"></td>
    </tr>
    <tr>
    <td width="50%">Phone number (Mobile):</td>
    <td width="50%">
    <input type="text" name="mobileno" size="8"></td>
    </tr>
    <tr>
    <td width="50%">ID card number:</td>
    <td width="50%"><input type="text" name="idno" size="8"></td>
    </tr>
    <tr>
    <td width="50%">Position:</td>
    <td width="50%"><select size="1" name="position">
    <option value="deliveryman" selected>Deliveryman</option>
    <option value="normalstf">Normal Staff</option>
    </select></td>
    </tr>
    </table>
    <P align="center">
    <INPUT TYPE=SUBMIT></FORM>
    <c:set var="SEARCH_RESULT" value="<%=SEARCH_RESULT_SESSION%>"/>
    <c:set var="searchResults" value="${sessionScope.SEARCH_RESULT}" scope="request"/>
    <c:forEach begin="1" end="3" var="result" items="searchResults">
    <c:out value="${result}"/>
    </c:forEach>
    </body>
    </html>
    i typed some data in the text fields and clicked "submit" button
    but it turned into a blank page
    i was sure the arraylist contained the search results because i tried to write them into the stdout.log file.
    could you please tell me why it's like this?

  • Methodaology to use a commom JSF/JSP page for both PDA and PC Browser

    hello,
    I am planing to write an application that should work on both PDA(Windows CE 4.2 Client) and PC(Desktop).I choosed JSF as it supports Rendering.Is there any methodology so that i can use a common JSF/JSP for both the client.
    As the PDA browser space constrint i can not use the same page for both.
    One way as i know is Conditional Component display whre there are ceparate components for PDA & PC ..But i need a methadology where in i can use same component for both PDA & PC .
    I came to know about the XML rendering capability of JSF can this be used?..
    can anybody please hep me in this regard.
    thanks & regards
    ullas kumar

    Firefox Mobile sends "Android" in its browser identification. If the site is checking for that, then you should get a mobile page. If the site requires more, e.g., Chrome, Webkit, or some other text, then that's a problem because Firefox doesn't use those terms. With server-based redirection, you cannot see what the site is checking for.
    For testing, or to work around sites not knowing about Firefox Mobile, you could try the Phony extension: https://addons.mozilla.org/en-us/mobile/addon/phony/

  • JSP Page for Checkin services

    Hi,
    Any one can help in creating a JSP page which can check the Oracle Application Service (opmnctl) running or not.
    Thanks and Regards

    answerd

  • How do I get the bean property to JSP page for use in a Scriplet

    Hi all,
    I am new to JSF and would like to know how can I get the Bean property to a JSP page and then use that property to dynamically display the contents.
    Thank in advance,

    Hi,
    I think the following page will be helpfull.
    http://java.sun.com/developer/technicalArticles/javaserverpages/JSP20/
    Akif

  • How to solve page flickering in a jsp page for chat

    Hi,
    I'm trying to build a very simple chat application. I'm using JSP as the frontend. The problem is that when I want to refresh the messages typed and list of users currently logged in, the page is refreshing using html refresh tag. The result is very bad to the eye since the page flicker. Is there a way to solve this without using Applet ?
    Thanks,
    Ron

    hidden frames for data loading and Javascript for DHTML manipulation, maybe

  • How to retrieve the data from a jsp page for print?

    i have a dynamic jsp file which will get the data at runtime.I have a print button in the jsp.When i chick the print button it should capture the data from the jsp and print it as LANDSCAPE mode. Now i am using Java Api for this
              Following code is a working sample which prints some data in LANDSCAPE mode..This is working fine....How can i modify this to get the data from a jsp?....I am using weblogic workshop for development
              package Awtjava;
              //working example
              import java.awt.*;
              import java.awt.print.*;
              public class testPrint implements Printable {
              private static String s[];
              private static Font f;
              private static int nLines;
              public static void main (String arg[]){
              s = new String[10];
              f = new Font("Arial", Font.PLAIN, 11);
              int i;
              s[0] = "This is a printer test";
              for (i=1; i<10; i++){
              s[i] = "The next line";
              nLines = 10;
              testPrint.printa();
              public static void printa(){
              System.out.println("public static void printa () ");
              PrinterJob pj=PrinterJob.getPrinterJob();
              Book b = new Book();;
              PageFormat pf = new PageFormat();
              pf = pj.defaultPage(pf);
              b.append(new testPrint(), pf, 2);
              pj.setPageable (b);
              try{
              if (pj.printDialog()){
              pj.print();
              catch (Exception e) { System.out.println ("Error"); }
              public int print (Graphics g1, PageFormat pf, int n){
              System.out.println("public int print");
              int x,y,i,fa,fh;
              FontMetrics fm;
              Graphics2D g = (Graphics2D) g1;
              pf.setOrientation(PageFormat.LANDSCAPE);
              fm = g.getFontMetrics (f);
              fa = fm.getMaxAscent();
              fh = fm.getHeight();
              x = (int)pf.getImageableX();
              y = (int)pf.getImageableY() + fa;
              g.setFont (f);
              g.setColor(Color.black);
              if (n==1){
              for (i=0; i<10; i++){
              g.drawString (s, x, y);
              y += fh;
              return PAGE_EXISTS;
              else {
              for (i=10;i<10; i++){
              g.drawString (s[i], x, y);
              y += fh;
              return PAGE_EXISTS;
              Hope you will reply soon...
              Thanks in advance
              Maria

    Hey, I got a doubt that who will call the print method in the same program and what about the g.drawString() it is showing any output effect. Finally how the variable n will get initializing to 0 and 1 for two times respectively. Can u please elaborate on this...

  • Issue in Landing page for HR Renewal Feature pack 4

    Hi Gurus,
    I am trying to config landing page on S/B before doing it in Dev , while executing the MSS role , ESS role and HR Professional role I am getting the below screen shot like this , please advise me , it's urgent , it will be a great help for us
    Please go through the screen shot attached
    ( system is asking for login credentials after entering the details , I could able to see the blank page of SUIT PAGE BUILDER
    Thanks & Regards,
    Deepak

    Hi,
    For launchpad activities purely depends on Odata Services.
    Please check all the OData services related to ESS , MSS & HR Professional are activated or not.
    SAP ERP - SAP Library
    provide me the url which you are getting after clicking on any service.
    Regards,
    cbr.

Maybe you are looking for

  • TO check whether import is running

    Hi how to check whether import is running or not.I am using oracle 8.1.7 in solaris 8 .I used ps -ef | grep imp in os level its showing its running i am importing the indexes only no data,When i am checking the freespace in index tablespace its not r

  • Reports Question

    In dev2000 reports, i am modifying an existing report. what is to be corrected? one of the fields which is a varchar field with 3800 char width was not being completely displayed on the report, So I changed the field width and elasticity to accommoda

  • Strange results in adhoc report??

    Hi Experts, I have made changes to adhoc report in development and assigned transaction code ex: zreport to adhoc query.I executed the report by transaction code and through sq01 i am getting same results still here it is fine.      In quality when i

  • Process Chain Creation

    Hi All, I am creating process chain. first i have given the name and description of the process chain --> then next step is insert start process So, i have clicked on new and given the name then click on continue --> so it populates one window  and i

  • Photoshop CS5 question - trying to save a name with extension .jpg or .png

    Hi, If I open a new file and go to save it the extension names show up (.jpg or .png). However, if I open an illustrator file in Photoshop and try to save it the extension names are not there (it's just saving them as the proper format, but I want th