Action from bean called out from jsp form

Hello, I''ve got problem: i have a form inside a jsp site. It is some searching form: i have inputtext and a "search" button.
I have action connected with this button <h:commandButton id="search" value="Search" action="#{MyBean.searchj}"/>. It works fine when user press that button, the method from bean is been called out, but usually when user is using so kind of form, he press "enter" key instead of pressing "search" button.
How can I bind (or call) bean method (in this example it is MyBean.search method) when after user writes something in inputtext and press "enter" key?
Thanks in advance.

It is a known problem in the current jsf-ri implementation. There is a component of the third party library that sovles this problem.
See: http://www.jsftutorials.net/defaultActionTag.html
You can use this library (it is free) or take the javascript code and insert it into your page.

Similar Messages

  • Multiple servlet actions from jsp forms

    Hi all ,
    how can i do muliple actions from a jsp form, i need to do an action when user clicks on a column and a different action when user clicks on cell in a row .
    i need to read and store the attribute from the column to pass back to the webservice to request that the service sorts the reults by that column either as desecending or as asending.
    also i need to get the value from a cell that is clicked on and pass that through as a parameter to the webservice to request some further data for the specific id.
    how can i do this?
    currently i have a form which has as part of the row an onclick event that captures the value of cell clicked - but what i need to do is change the cell value to a href and if this is clicked capture the value of the href and submitt this to the form action and regonise that the href has been clicked (how do i do that?) and thus do soemething specific for that in the servlet and if the column with its ascending or descending image is clicked capture the asc or desc value and regonise that the column asc or desc has been clicked (how do i do that?) and thus do soemething specific for that in the servlet.
    <tr onclick="selectPatCareRec(this)">
    <td><netui:label value="{container.item.perId}"/></td> rest of form is :-
    you dont need to pay attention to rest of stuff except that which columnHeader field was clicked and in which order (ie ascending or desc)
    also if a cell is clicked to pass the values as part of a submit to the action and regonise that a herf click was done and value of that cell - i have the javascript that is used to find the cell value once the row is clicked.
    <netui:form action="refresh">
          <rpb:repeaterBlock name="contacts" filter="<%=filter%>"
          ascendingImage='<%=request.getContextPath()+"/resources/images/up-arrow.gif"%>'
          descendingImage='<%=request.getContextPath()+"/resources/images/down-arrow.gif"%>'>
          <netui-data:repeater dataSource="{pageFlow.carerGpListResults}">
         <netui-data:repeaterHeader>
           <table class="tablebody" border="0">
             <tr>
               <th><rpb:columnHeader field="SYSTEMREF"></rpb:columnHeader></th>
               <th><rpb:columnHeader field="TITLE"><i18n:getMessage messageName="title"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="GIVENNAME"><i18n:getMessage messageName="given_name"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="FAMILYNAME"><i18n:getMessage messageName="family_name"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="ADDRESS"><i18n:getMessage messageName="address"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="POSTCODE"><i18n:getMessage messageName="post_code"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="DOB"><i18n:getMessage messageName="dob"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="ORGANISATION"><i18n:getMessage messageName="organisation"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="TYPE"><i18n:getMessage messageName="type"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="QUESTION"><i18n:getMessage messageName="question"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="ANSWER"><i18n:getMessage messageName="answer"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="PER_ID"><i18n:getMessage messageName="patientid"/></rpb:columnHeader></th>
             </tr>
           </netui-data:repeaterHeader>
           <netui-data:repeaterItem>
             <tr onclick="selectPatCareRec(this)">
               <!-- do an on click event to trigger another action to get all the patient list (ie. link it to the patientCasesList jsp) of cases and keep refresh to get sorting -->
              <td><netui:hidden dataInput="{container.item.SYSTEMREF}"dataSource="{actionForm.systemref}"/></td>
              <td><netui:label value="{container.item.TITLE}"/></td>
              <td><netui:label value="{container.item.GIVENNAME}"/></td>
              <td><netui:label value="{container.item.FAMILYNAME}"/></td> 
              <td><netui:label value="{container.item.ADDRESS}"/></td>
             <td><netui:label value="{container.item.POSTCODE}"/></td>
            <td><netui:label value="{container.item.DOB}"/></td>
            <td><netui:label value="{container.item.ORGANISATION}"/></td>
            <td><netui:label value="{container.item.TYPE}"/></td>
            <td><netui:label value="{container.item.QUESTION}"/></td>
           <td><netui:label value="{container.item.ANSWER}"/></td> 
              <td><netui:label value="{container.item.perId}"/></td> 
            </tr>
           </netui-data:repeaterItem>
           <netui-data:repeaterFooter></table></netui-data:repeaterFooter>
         </netui-data:repeater>
         <br />
         <rpb:firstPage label="First"/>
         <rpb:previousPage label="Previous"/>
         <rpb:nextPage label="Next"/>
         <rpb:pageNumber/>
          </rpb:repeaterBlock>
            <div>
            <netui:hidden tagId="selectedPatientId" dataSource="{actionForm.selectedPatientId}" dataInput="{actionForm.selectedPatientId}" />
            </div>
        </netui:form>thanks for any / all help.

    You can modify your connection pool management servlet so you can set the 'connection pool object' as an attribute of the request. Then forward the request to your jsp page.
    Example:
    in your service method of your sevlet, add something like
    public void service (HttpServletRequest request, HttpServletResponse response) {
    ConnectionPool pool= new ConnectionPool();
    request.setAttribute("mypool", pool);
    // forward the request to a jsp page.
    RequestDispatcher dispatcher = request.getRequestDispatcher("jsp/myjsp.jsp");
    dispatcher.forward(request, response);
    }then in your myjsp.jsp, you can access the connection pool object using the 'mypool' attribute.

  • Inserting data from jsp form to multiple tables !

    Hi,
    I want to insert data from jsp form to two tables
    tables are
    (1) Form
    formId (PK)
    deptName
    (2) Data
    formId (FK)
    sNo
    description
    itemCode
    and the problem is that i want to save information form a jsp form to above two tables and i have only one form.
    so how do i insert data from a jsp form to multiple tables.

    You already know what your form in the jsp will be and what fields they are. You also already know what your database looks like. Using one form, you should be able to break the data down, and give it certain ids and/or names, so that when the form is submitted, you retrieve the correct values corresponding to a specific field and insert it.
    Unless there is something else I am not catching, this seems pretty straight forward.

  • How to find out last_query from jsp form in oracle applications

    Hi
    At present i am working on Quality Module.
    in India Localization.
    In Quality module -> Results -> Inquiries -> Skip Lot Inquiry
    If i enter our organization name
    Then its openning one form.
    I am unable to find out the table names from the jsp form.
    User also unable to comment on it.
    So, please help me on this issue.
    Regards,
    Pradeep.

    Hi
    Once you open the jsp form, at below leftside corner you can see link : About This Page. If you click on the link : About this Page this again open another window, there you can see multiple tabs at header level, if you click on page tab, there you can all the VO objects used to build this page. If you click on VO object hyperlink you can see the query.

  • How to generate a file from JSP form

    Hi,
    I want to generate a file from the informations of a form(JSP).
    Which classes do I have to use ?
    Thanks.

    Of course you have to use the standard servlet classes to retrieve the request parameters from the form.
    ie request.getParameter();
    package "java.io" gives you File input/output ability.
    If you are generating a text file, thats probably the BufferedWriter and FileWriter classes.
    Cheers,
    evnafets

  • How to make countdowntimer in java bean to use in jsp form

    i make an aplication in jsp with XHTML MP format..i have problem to maka a countdowntimer in java bean to use in the jsp form.could anyone help me with this problem

    Use JHelp, downloadable from Sun. This is a quit big package, you have to read a lot before applying.
    http://java.sun.com/products/jfc/tsc/articles/javahelp/index.html
    enjoy
    sergio

  • Consistent calling of actions from JSP and code

    I have a question about opening up a JSP with a particular parameter (to set what we're looking at, for example).
    If I want to do it from a JSP, I can do something like this
    <af:commandLink text="Edit Scientist" action="editScientist">
    <f:param name="id" value="#{bbUserInfo.scientistId}"/>
    </af:commandLink>
    That follows the listed action, and sets #{param.id} to be the necessary value.
    If I want my action to be dynamic (using code from a bean), I can do this:
    JSFUtils.setRequestAttribute("id", scientistId);
    return "editScientist";
    (where JSFUtils is a class from various official tutorials).
    However, that sets #{requestScope.id} instead of #{param.id}. Is there a way of making these two calls consistent (for example, set the param.id from within the bean)?
    Regards,
    David C

    I have worked out one way to do this. I use this in the parameters section:
    <parameter id="sciId" value="${param.id == null ? requestScope.id : param.id}"/>
    And then I can reference bindings.sciId. Seems to work.
    David C

  • Link to attachemnts from JSP forms

    Hi,
    i want to add a link for each attachment an instance may have in a JSP task form. Any suggestions how to go for it?

    See for example Content taglib from Coldtags suite:
    http://www.servletsuite.com/jsp.htm

  • Saving data in database from jsp form

    I have a very huge table in my jsp...600 entries.
    my form table is like this.
    the number of rows depends upon the number of days in a month.
    there is one colum which specifies the time frame in 1 hr frame and
    withing each column is two coulmn representing either male or female.
    If i want to save the data entered in the form to database synchronizing
    with date, timeframe and sex, what is the best way to do it?
    I did it in a way that declaring 600 private string variables in form bean,
    saving it in a list and sending it to database.
    Is there any other way of doing it without the need for 600 getter and setter methods?

    I just want to see if I understood this correctly. You declared 600 private variables in a form bean?
    Perhaps this is not the best use of either Struts or the JavaBean specification. What you almost certainly actually have is a series of homogenous objects. Store that instead in an array or Collection. Use loops to iterate through the values to generate your table. There are both JSTL tags and plain Java code embedded within a JSP to achieve this task.
    - Saish

  • Calling Servlets in JSP forms

    Hello,
    I'm trying to invoke in a html form (jsp file) a servlet, something like this:
    <form method="POST" ACTION="validateLogin" ONSUBMIT="return ValidateForm(this)">
    but the browser returns me this:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /validateLogin
    the only way i have to run the servlet is replacing the ACTION field in form by:
    ACTION="MyProj/_servlet_"
    How can i change this?
    regards,
    Miguel

    Hello,
    I'm trying to invoke in a html form (jsp file) a servlet, something like this:
    <form method="POST" ACTION="validateLogin" ONSUBMIT="return ValidateForm(this)">
    but the browser returns me this:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /validateLogin
    the only way i have to run the servlet is replacing the ACTION field in form by:
    ACTION="MyProj/_servlet_"
    How can i change this?
    regards,
    Miguel

  • Action method not called in Backing Bean

    I am using <x:inputFileUpload> tag inside my jsp page. I am trying to call action method when clicking button, but action method not called.
    My jsp page:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
    <html>
         <head>
              <title>File upload Test</title>
         </head>
         <body>
              <f:view>
                   <h:form id="form1" enctype="multipart/form-data">
                        <h:messages id="asdghsda"/>          
                        <h:outputText value="This is file upload page functionlaity POC" />                                   
                        <h:inputText value="#{fileUploadBean.textField}" />
                        <x:inputFileUpload id="myFileId" value="#{fileUploadBean.myFile}" storage="file" required="true"/>                    
                        <h:commandButton action="#{fileUploadBean.storeFile}" value="Enter here" />                    
                        <h:commandLink value="Clicl Here!!" action="#{fileUploadBean.storeFile}"></h:commandLink>
                   </h:form>               
              </f:view>
         </body>     
    </html>
    My backing bean:
    package com.beans;
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import org.apache.log4j.Logger;
    import org.apache.myfaces.custom.fileupload.UploadedFile;
    public class FileUploadBean {     
         private static Logger logger = Logger.getLogger(FileUploadBean.class.getName());
         private String textField;
         private UploadedFile myFile;
         public UploadedFile getMyFile() {
              logger.info("inside get method");
         return myFile;
         public void setMyFile(UploadedFile myFile) {
              logger.info("inside set method");
              this.myFile = myFile;
         public void storeFile(){          
              logger.info("Inside the storeFile method");
              logger.info("The text field value: " + getTextField());
              try {
                   InputStream in = new BufferedInputStream(myFile.getInputStream());
                   logger.info("The string is: " + in.read());
                   System.out.println(in.read());
                   File f = new File("D:\\share\\sample.txt");               
                   OutputStream out = new FileOutputStream(f);
                   out.write(in.read());
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              logger.info("Exit from the storeFile method");
         public String getTextField() {
              return textField;
         public void setTextField(String textField) {
              this.textField = textField;
    My web.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>MyJSFProject</display-name>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</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>10m</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>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    Can someone help me on this? I need urgently.

    One straight and simple answer which i can give you method associated to action attributes always returns a java.lang.String Object.
    REF :
    action:
    =====
    If specified as a string: Directly specifies an outcome used by the navigation handler to determine the JSF page to load next as a result of activating the button or link If specified as a method binding: The method has this signature: String methodName(); the string represents the outcome
    source : http://horstmann.com/corejsf/jsf-tags.html#Table4_15
    therefore
    change
    public void storeFile(){
    logger.info("Inside the storeFile method");
    logger.info("The text field value: " + getTextField());
    try {
    InputStream in = new BufferedInputStream(myFile.getInputStream());
    logger.info("The string is: " + in.read());
    System.out.println(in.read());
    File f = new File("D:\\share\\sample.txt");
    OutputStream out = new FileOutputStream(f);
    out.write(in.read());
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    logger.info("Exit from the storeFile method");
    }to
    public String storeFile(){
    logger.info("Inside the storeFile method");
    logger.info("The text field value: " + getTextField());
    try {
    InputStream in = new BufferedInputStream(myFile.getInputStream());
    logger.info("The string is: " + in.read());
    System.out.println(in.read());
    File f = new File("D:\\share\\sample.txt");
    OutputStream out = new FileOutputStream(f);
    out.write(in.read());
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    logger.info("Exit from the storeFile method");
    return "success";
    }else where you can make use of actionlistener property in the following senario.
    but the method signature has to be void storeFile(ActionEvent ae)
    and could be use like
    <h:commandButton actionlistener="#{fileUploadBean.storeFile}" action="success" value="SUBMIT" /> Hope that might help :)
    REGARDS,
    RaHuL

  • Audit Intersection fails from Web Form

    We have an HFM 9.3.1 application successfully integrated with FDM 9.3.1, in that when navigating to a base level intersection, which has been loaded by FDM, the audit intersection option allows a drill-through analysis to the correct FDM application / location.
    This feature works perfectly OK from right clicking a grid intersection and selecting Audit Intersection. However, if a web form is used to display the same intersection and the user selects Audit Intersection the following error message is generated :-
    System Error "The signed on token is no longer valid" the web screen also displays an error stating there are localization errors and that the action is empty or missing.
    Repeatedly performing the same operation from data grids and web forms results in the web form audit always failing and grid audit always succeeding.
    Looking at the URL parameters I can see that the two sets of actions sent to generate the FDM audit page are indeed different
    I have included the source "action" parameter from the IntersectionSummarybyLocation web page. (With line breaks to aid readability)
    Repeated successful Grid Audit
    action="IntersectionSummaryByLocation.aspx?
    SSO_TOKEN=NbD9qzBZXx%2B%2BFm%2BFySzSa7uCWdYLvOAI14GJ6%2B7kFhWT2YN4lvlRfQExBNUyOMBkvAX1%2F3sfkyyu%0A3Ej8JSWj14o4Gf380eNrEeCax4fMVO28wUniiwcCepjkb6kvNhLCsKc%2FEmTctCxxd1lUmGcnalfO%0Avmc7rwQyxBAu8FtPnrtmy5REje4Epw%3D%3D&amp;
    FDMAppName=TTGFDM&amp;
    ScenarioLabel=Actual&amp;
    YearLabel=2012&amp;
    PeriodLabel=Apr&amp;
    ViewLabel=%3CScenario%20View%3E&amp;
    EntityLabel=CPW0005&amp;
    ParentLabel=AOL&amp;
    ValueLabel=%3CEntity%20Currency%3E&amp;
    AccountLabel=PL50000&amp;
    ICPLabel=%5BICP%20None%5D&amp;
    Custom1Label=F6000&amp;
    Custom2Label=%5BNone%5D&amp;
    Custom3Label=C7142&amp;
    Custom4Label=%5BNone%5D" id="formMain">
    Repeated failed action from web form
    action="IntersectionSummaryByLocation.aspx?
    SSO_TOKEN=NbD9qzBZXx++Fm+FySzSa7uCWdYLvOAI14GJ6+7kFhWT2YN4lvlRfQExBNUyOMBkvAX1/3sfkyyu%0A3Ej8JSWj14o4Gf380eNrEeCax4fMVO28wUniiwcCepjkb6kvNhLCsKc/EmTctCxxd1lUmGcnalfO%0Avmc7rwQyxBAu8FtPnrtmy5REje4Epw==&amp;
    FDMAppName=TTGFDM&amp;
    ScenarioLabel=Actual&amp;
    YearLabel=2012&amp;
    PeriodLabel=Apr&amp;
    ViewLabel=%3CScenario+View%3E&amp;
    EntityLabel=CPW0005&amp;
    ParentLabel=AOL&amp;
    ValueLabel=%3CEntity+Currency%3E&amp;
    AccountLabel=PL50000&amp;
    ICPLabel=%5BICP+None%5D&amp;
    Custom1Label=F6000&amp;
    Custom2Label=%5BNone%5D&amp;
    Custom3Label=C7142&amp;
    Custom4Label=%5BNone%5D" id="formMain"
    It would appear that the format for characters is different and the SSO_TOKEN is differrent (although this maybe by design since the calling locations are different).
    I have checked that the Grid and Web Form operations are calling the same web page encoding of Unicode (UTF-8).
    Anybody got any idea why FORM functionality is failing to display the Audit Intersection?
    Kind regards
    Colin
    Edited by: Colin Lye on Sep 15, 2011 6:26 AM

    Applied Patches 9.3.1.1 thru to 9.3.1.4 (latest).
    Problem resolved. Audit Intersections now work from both Grid and Forms.
    Incidentally, both "Action" parameters from Grid and Form are now identical including the SSO_Token.

  • How to call a bean from a form?

    hi all
    i want to write a simple bean that checks the login information (userId ad Password) passed to it by a form in my jsp file.
    so i think i have to call the setUser() and setPassword() methods of my bean in a single action... how to do it?
    I also thought i can do it by calling a JavaScript, by I dont know how....
    then, once i get the boolean value (logged) returned from my bean, i can (through jsp) redirect the logged user to another page, or send a message to the non-logged user.
    is it a good solution or should I do it with a servlet?
    thanx for your answers
    sandro

    u can do it using a servlet or JSP itself. Check the sample code below to see how u can validate using values from form
    <%
    String username=request.getString("frmUser");
    String password=request.getString("frmPassword");
    urBean userBean = new urBean(); //Creating instance of ur bean class.
    userBean.setUserName(username); //Setting username
    userBean.setPassword(password); //Setting password
    boolean flag = userBean.validate(); //This functions validates against a database.
    if(flag) {
    response.sendRedirect("loggedin.jsp"); //redirects to page on successfull login
    }else{
    response.sendRedirect("error.jsp"); //redirects to error page.
    %>
    Hope this helps
    Biju

  • Calling report with no parameters from a form should report be a JSP file?

    Hi,
    I'm completely new to the Oracle environment and am having a few beginner problems all I want to find out is how to call a report from a form. I know this question has been asked before but I can't work it out from the answers because people seem to keep talking about rdf files:
    I am trying to call the report with the following code:
    Declare
         report_id REPORT_OBJECT;
         v_rep varchar2(100);
         rep_status varchar2(20);
    Begin
         report_id:= FIND_REPORT_OBJECT('EmployeeRep');
         v_rep := RUN_REPORT_OBJECT(report_id);
    END;
    My report is called 'EmployeeRep' but it saves it as a JSP file and there is no option to save as an rdf as is mentioned in other posts. I can understand the environments confusion because there is no directory information with the find_report_object command. Does the report have to be stored in a certain directory.
    All I have done with the report is created it from the emp table of the sample Scott database. Any help is appreciated and nothing is too obvious as I say I'm completely new to this.
    Thanks
    Dan

    Try to pinpoint what is going wrong:
    1. Run the report stand alone (from Reports Builder). If that doesn't work, then it won't work calling it from Forms either.
    2. Check if anything has run at all, or if there are report error messages with:
    http://localhost:port/reports/rwservlet/showjobs?
    For a standalone Report Server use:
    http://localhost:port/reports/rwservlet/showjobs?server=rep_server_name
    3. If it does work, call it from Forms. Is the report output file created (e.g. in the cache directory if destype=cache)? In your code you have run_report_object, but you won't see any output on your screen. To see the output add web.show_document(...) to your report. There are many examples in this forum if you search for run_report_object.

  • File Not found error when calling Form Post Method to a JSP from JSP Portlet

    I have built a set of JSP forms using post method to call other JSPs. Normally, the code looks like
    <form name="MyForm" action="MyJsp.jsp" method="post">
    I migrated the calling form containing this code to a portlet, but not the MyJsp.jsp. When I submit the form, I get a file not found in Jserv.log
    Exception:javax.servlet.ServletException: java.io.FileNotFoundException: D:\servlet\RegisterCompany.jsp (The system cannot find the file specified)
    [14/06/2001 13:59:59:679 PDT] JspServlet: unable to dispatch to requested page: Exception:javax.servlet.ServletException: java.io.FileNotFoundException: d:\oracle\isuites\apache\apache\MyJsp.jsp (The system cannot find the file specified)
    I notice that launching the calling jsp from a portlet, my opriginal context that uses ../Apache/Apache/htdocs is not being searched for the JSp. Why is this? Moreover, I try to set up an Alias in httpd.conf file to the this director and use it with the jsp in the action tag, but still get an error that my jsp servlets/Myjsp can't be found. Why is it insiting on looking at servlets context instead of htdocs.
    I have none of these issues outside of Portal30 using IAS.
    regard

    Initially, I couldn't do this unless I moved tghe jsp's up to the root directory of IAS, i.e ../Apache/Apache. Nomrally, htdocs is my doc directory for IAS. I could not do http:\\myUrl\htdocs\myJsp. If I tgried this, I got an error in Apache error logg that said can't find file ..\htdocs\htdocs\MyJsp.jsp.
    If I just tried the the URL http:\\myUrl\MyJsp.jsp with Jsp file in htdocs, I would get an error in the Jserve log that file d:\oracle\isuites\apache\apache\MyJsp.jsp could not be found. Once I moved the file MyJsp to Apache/Apache directory, it could be found using http:\\myUrl\MyJsp.jsp. Later, I delted these files and kept the ones in htdocs and they continued to work.
    I'm confused why launching pages through portal isn't consistant with Apache Standards. Where is the documentation that tells me how to configure context and aliases for pages launched from portal pages?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sue Vickers ([email protected]):
    David,
    Passing information using Portal is different than just using Apache/Jserv. Does it work in portal if you use the absolute path?
    <form name="MyForm" action="http://host.domain/MyJSP.jsp" method="post">
    Portal will not be on the same relative path as your Apache, so you may need to adjust your action somehow.
    Thanks,
    Sue<HR></BLOCKQUOTE>
    null

Maybe you are looking for