Calling a java bean in a jsp file

hi all
i am working on a jsp project. my tomcat is installed on one machine and my java Bean on another. how do i call the javabean on my machine from the jsp file on tomcat. i'm using packages.
eg:
in the jsp file in tomcat, i'm using
<jsp:useBean id="student" scope="request" class="lab3.Student"/>
i get class not found error.
my main path for this Student Bean is say c://myLab/lab3 which has a lab3 folder with class files.
Thanks

eg:
in the jsp file in tomcat, i'm using
<jsp:useBean id="student" scope="request"
class="lab3.Student"/>
If you have a Context defined for c://mylab
then below that directory you should have a WEB-INF directory and then a classes directory and then within that your package structure...
so if the package is lab3 yo should have your Student class in:
c://mylab/WEB_INF/classes/lab3/Student.class
(asuming you have set up a Context that points at c://mylab...and your jsp file is there...)

Similar Messages

  • Calling a java class in a JSP file

    Hello,
    I have a jsp file in which I call a java class.
    I work with Tomcat 4.0.1
    If I modify the java class and then I execute my JSP, it still be the old version of my class that is executed.
    I don't understand why since if I creates a main function and I execute it, it works correctly!
    Do you know what is the problem?
    Thanks

    i also have this problem.when i modify jsp file,it didn't execute inmediately. Then i restart tomcat,but problem also exist.
    a few minute age,i execute jsp file again,it can appear the modified jsp.i don't down why
    i work tomcat 5.0 windowxp

  • How to call the form bean value on jsp withthe help of jstl tag

    hi
    all friends
    i am working in struts & i use jstl tag in jsp. i have one problem rise is how to call the form bean value in jsp page by using jstl tag.
    i now how to retrive the value through jsp:logic
    eg. <logic:empty name="userListForm" property="users">
    NO USER FOUND
    </logic:empty>
    see * userListForm mean formbaen name.
    * users means collection object.
    so how can i write above e.g in jstl

    You use the jstl core:if or core:choose combined with the EL:
    <c:if test="${empty users.userListForm}">
    NO USERS FOUND
    </c:if>I suggest you lookup the jsp expression language (EL) using google, it's very powerful.

  • Call to java bean but code not being executed.

    Making a call to my javabean class called ch06_03.java from a jsp program shown below:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Using a java package.</title>
    </head>
    <body>
    <% beans.ch06_03 messager = new beans.ch06_03(); %>
    The message is: <%= messager.msg() %>
    </body>
    </html>
    The call from jsp to javabean program is only returning the hello from java and NOT EXECUTING ANY OF THE CODE in the msg() method. I am checking my table landings_hold and nothing is there, my log file shows nothing. Why is the code not being executed except for the return statement?
    My javabean program is shown below:
    package beans;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    public class ch06_03 {
    StringTokenizer st1;
              String val1, val3, val4, val5, val9, val10, val11, val12, val13, val14, val16;
              String val2, val6, val7, val8, val15, val17, val18, val19, val20;
              int cnt;
              String filetext = "Starting RIFIS Upload";
              java.util.Date d = new java.util.Date();
              SimpleDateFormat form = new SimpleDateFormat("dd/MMM/yyyy hh:mm:ss");
              String dateString = form.format(d);
    public String msg() throws Exception {
         try {
         Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@xxxxx.xxxx.xxx:1521:xx","xxxxxx","xxxx");
              Statement st = conn.createStatement();
         File f = new File("C://upload");
              FileWriter outFile = new FileWriter("C://RIFIS/log/logfile.txt", true);
              outFile.write(System.getProperty("line.separator"));
              outFile.write(filetext+" - "+dateString);
              if (f.isDirectory())
              { String [] s = f.list();
              for (int i=0; i<s.length; i++)
              { outFile.write(System.getProperty("line.separator"));
                   outFile.write("Found file - "+f+"/"+s);
              FileReader file = new FileReader(f+"/"+s[i]);
                   File inputFile = new File(f+"/"+s[i]);
                        File outputFile = new File("C://RIFIS/archive/"+s[i]);
                   BufferedReader buff = new BufferedReader(file);
                   boolean eof = false;
                   String val0="";
                   ResultSet rec = st.executeQuery("SELECT landings_hold_batch_seq.nextval FROM dual");
                        while(rec.next())
                        { val0 = rec.getString(1); }
                        cnt=0;
                        while (!eof)
                        { String line = buff.readLine();
                        if (line == null)
                        { eof = true; }
                             else
                             { cnt = cnt+1;
                                  st1 = new StringTokenizer(line,",");
                                  val1 = st1.nextToken();
                                  val2 = st1.nextToken();
                                  val3 = st1.nextToken();
                                  val4 = st1.nextToken();
                                  val5 = st1.nextToken();
                                  val6 = st1.nextToken();
                                  val7 = st1.nextToken();
                                  val8 = st1.nextToken();
                                  val9 = st1.nextToken();
                                  val10 = st1.nextToken();
                                  val11 = st1.nextToken();
                                  val12 = st1.nextToken();
                                  val13 = st1.nextToken();
                                  val14 = st1.nextToken();
                                  val15 = st1.nextToken();
                                  val16 = st1.nextToken();
                                  val17 = st1.nextToken();
                                  val18 = st1.nextToken();
                                  val19 = st1.nextToken();
                                  val20 = st1.nextToken();
                                  st.executeUpdate("INSERT INTO LANDINGS_HOLD (lh_id, lh_batch, supplier_dr_id, supplier_unique_id, supplier_dealer_id, supplier_cf_id, supplier_vessel_id, unload_year, unload_month, unload_day, state_code, county_code, port_code, itis_code, market, grade, reported_quantity, unit_measure, dollars, lh_loaddt, lh_loadlive, purch_year, purch_month, purch_day)" +
                        "VALUES (0,'"+val0+"','"+val1+"',"+val2+",'"+val3+"','"+val4+"','"+val5+"',"+val6+","+val7+","+val8+",'"+val9+"','"+val10+"','"+val11+"','"+val12+"','"+val13+"','"+val14+"',"+val15+",'"+val16+"',"+val17+",SYSDATE,NULL,"+val18+","+val19+","+val20+")");
                             } // while else end
                        } // parent while end
                        FileReader in = new FileReader(inputFile);
                        FileWriter out = new FileWriter(outputFile);
    int c;
                        while ((c = in.read()) != -1)
                        { out.write((char)c); }
                        in.close();
                        out.close();
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write("Number of records inserted - "+cnt);
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write("Copied upload file to archive directory");
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write(f+"/"+s[i]+" - Has been removed from upload directory");
                        buff.close();
                        inputFile.delete();
                   } // for end
                   outFile.write(System.getProperty("line.separator"));
                   outFile.write("Upload Complete...NO ERRORS");
                   outFile.write(System.getProperty("line.separator"));
                   outFile.write("*************************************************************");
                   outFile.write(System.getProperty("line.separator"));
                   conn.close();
              } // if end
              else
              { outFile.write("No files to process"); }
              outFile.flush();
              outFile.close();
              } // try end.
              catch(Exception e)
              { FileWriter errFile = new FileWriter("C://RIFIS/log/errfile.txt", true);
              errFile.write(System.getProperty("line.separator"));
              errFile.write("ALERT....ALERT....ALERT");
              errFile.write(System.getProperty("line.separator"));
              errFile.write("Error Occurred in ReadSource.java - RIFIS Upload");
              errFile.write(System.getProperty("line.separator"));
              errFile.write("My Error: " + e);
              errFile.write(System.getProperty("line.separator"));
              errFile.write("*************************************************************");
                   errFile.flush();
                   errFile.close();
              } // catch exception end.
         return "Hello from java";
         } //public msg block
         public ch06_03()

    Since you didn't use code-formatting tags ([ code ] and [ /code ] without the spaces) it's kinda hard to look at it. But I'm sure it DID execute much more than just the return statement - maybe you're not closing a file or db connection, or maybe you're seeing a cached page, so it actually isn't executing ANYTHING on the server (is your browser set to never check for newer pages so it (almost) always returns from cache, for example?)

  • Invoking a method from a java class to a jsp file

    Maybe i'm going through a very basic error, but as i've looked for in some forums and nothing found decided to post. So let's go to the problem.
    Well, i have a form in a jsp file, it's basicaly html, but as i need some select boxes populated with data from the database i decided to create some methods in java classes. This is the point.
    My method receive some attributes, like the table and colums names, the name of the select box and the HttpServletResponse object.
    So after making all the database process. The method is supposed to write the result through the out.println(); object
    It goes everything all right except that the method seems to be called first than the html code coz' my select boxes comes above the head in the begin of the page and was supposed to come in the middle.
    part of the code:
    package pacote;
    import java.packages.*
    public class Class{
    public void metodo(HttpServletResponse response, String tableName, String column name, String selectName){
    PrintWriter out = response.getWriter();
    openConnection();
    //After making the query stuff
    //caso n�o haja nada na consulta
         if(rst == null)
         out.println("N�o h� registros.");
         else{
         out.println( "<select name='" +SelectName + "' id='" +SelectName + "' class=\"input_ob\" >");
         out.println( "<option value=''>Escolha: "+objeto+"</option>");
         //fill the select body with options; A while that sweap the resultSet and use the out object to write the results          
         getSelectBody(out,rst, selectValue);
    }This method is called this way:
    <tr valign="baseline">
        <td nowrap align="right">Grupo</td>
        <jsp:useBean id="m" scope="page" class="pacote.Class" />
            <td>
              <%
              try{
                   m.metodo(response, "tabela","grupo","id_grupo);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
                        %></td>I'd like to know what i'm missing here. why the answer doesn't go in the place It's supposed to go.
    any answer will be greatly apreciated

    The issue is caused because you are using the response to get the writer directly.
    The JSP has gotten the same writer, but has wrapped it in a JSPWriter class. That class has got a buffer.
    So it writes the beginning html to the JSPWriter buffer.
    You write your stuff to the response writer - gets sent to the output.
    It writes more stuff to the JSPWriter buffer, then flushes that buffer - at which point all the text written into the JSP writer now gets added to the response.
    You see how your code is coming out first?
    Solution - instead of getting the writer from the response, pass the writer into your method (maybe instead of response if you don't use response for anything else)
    public void metodo(Writer jspWriter, String tableName, String column name, String selectName){
      PrintWriter out = new PrintWriter(jspWriter);
      ...That means that you will be writing to the same writer, and the text should come out in sequence.
    Cheers,
    evnafets

  • Tomcat 6 – Calling a  Java Servlet from a JSP Page

    Below is a very simple JSP Page that calls a Java Servlet. The question is given Tomcat security constraints, is it possible to call a servlet from a JSP and get the correct output without getting an error message? If so, how would you code the web.xml file?
    c:\apache-tomcat-6.0.18
    Under conf
    catalina
    localhost
    HelloWorldExample.xml is directly under localhost
    The application would have this directory structure:
    webapps
    HelloWorldExample
    hello.jsp is directly under HelloWorldExample
    Under HelloWorldExample
    src
    WEB-INF
    classes
    Under classes
    jservlets
    HelloWorld.java is in src folder
    HelloWorld.class is in jservlets folder
    HelloWorldExample.xml
    <Context path="/HelloWorldExample" docBase="HelloWorldExample" debug="0"
          reloadable="true" crossContext="true">    
    </Context>**************************
    hello.jsp
    <HTML>
    <HEAD>
    <TITLE>Hello</TITLE>
    </HEAD>
    <BODY>
    <FONT SIZE="4">
    <P>
    Please enter your name:
    <FORM 
       METHOD="Post"
       ACTION="servlet/jservlets.HelloWorld">
    <TABLE BORDER="3" CELLPADDING="1" WIDTH="100%" ALIGN="CENTER">
    <TR>
        <TD><B>Name:</B></TD>
        <TD><INPUT TYPE="text" NAME="Name" VALUE="" SIZE="65"> </TD>      
    </TR>
    </TABLE>
    <P>
    <INPUT TYPE="SUBMIT" VALUE="Submit">
    </FORM>
    </FONT>
    </BODY>
    </HTML>******************
    HelloWorld.java
    package jservlets;
    import java.io.*;
    import java.util.Date;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorld extends HttpServlet
       PrintWriter out;
       PrintWriter err; 
       String strName;
    public void displayMessage(HttpServletRequest request, HttpServletResponse response)
          throws Exception
             try
                if (!strName.equals("") && strName != null)
                   out.println("Hello " + strName + "" + "<P>");
                    out.println("Hello World" + "<P>");
                else
                    out.println("Hello World" + "<P>");
            catch (Exception e)
                out.println("Exception: Could not display message." + "<P>");
                err.println (e.getMessage () ) ;
                out.println("<P>");
    public void doPost(HttpServletRequest request, HttpServletResponse response)
               throws ServletException, IOException
          try
               response.setContentType("text/html"); 
               out = response.getWriter();
               err = response.getWriter();
               strName = request.getParameter("Name").trim();
               out.println("<html><head><title>");        
              out.println("</title></head><body>");
               out.println("<FORM");
               out.println("METHOD=POST");
               out.println("ACTION=http://localhost:8080/HelloWorldExample/hello.jsp>");
             out.println("<TABLE ALIGN='RIGHT'>");
             out.println("<TR>");
             out.println("<TD>");          
               out.println("<INPUT TYPE=\"SUBMIT\" VALUE=\"Hello World Page\";>");
               out.println("</INPUT>");
              out.println("</TD>");
             out.println("</TR>");
             out.println("</TABLE>");
             out.println("</FORM>");
             out.println("<BR CLEAR='all'>");
               out.println("<P>");        
               displayMessage(request, response);
               out.close();
             out.println("</body></html>");               
           catch(Throwable e)
              e.printStackTrace();
          public void doGet(HttpServletRequest request, HttpServletResponse response)
             throws ServletException, IOException
             doPost(request, response);
    web.xml
    <servlet>
          <servlet-name>HelloWorld</servlet-name>
          <servlet-class>jservlets.HelloWorld</servlet-class>
    </servlet>  
    <servlet-mapping>
            <servlet-name>HelloWorld</servlet-name>
            <url-pattern>/servlet/HelloWorld</url-pattern>
    </servlet-mapping>      ******************************
    HelloWorld.java can be compiled by using javac.
    Once compiled, HelloWorld.class would be moved to the jservlets folder.
    FYI, coding the above url-pattern results in:
    HTTP Status 404
    The requested resource (/HelloWorldExample/servlet/jservlets.HelloWorld) is not available
    The following url-pattern in the web.xml file permits the servlet to be executed but results in a null pointer exception:
    <servlet-mapping>
            <servlet-name>HelloWorld</servlet-name>
            <url-pattern>/ </url-pattern>
    </servlet-mapping>      **************************************************
    Robin

    This problem was resolved.
    In hello.jsp
    ACTION="servlet/jservlets.HelloWorld">
    was replaced with
    ACTION="servlet/HelloWorld">
    Robin

  • Cannot compile java beans in my jsp page

    Hi all
    I have created jsp pages which contains java beans. Now its working fine on my machine(XP OS) but when i put it on windows 2000 server it gives the following error:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Unknown Source)
    please help

    Ok, jsp pages to not contain java beans, java beans are separate classes which you access from a jsp.
    Is this what you have done, i.e. created classes under classes/yourPackage ?
    If so, you do not need to recompile the class when you move it, you can move the pre-compiled class file.
    In terms of your error, I have no idea, but it looks interesting!!
    The most likely cause is a difference in the JDK versions you are running on the different machines. If the JDK on windows 2000 is older, you may need to upgrade it.

  • Render Tree Table, got java.beans.IntrospectionException in Log file.

    Hi,
    I have a tree table defined in a jspx page. I got the following exception in the Log file when the UI try to render the tree table in the first time. This won't affect anything in the UI itself. It will render the tree table in the UI without problem. And this exception is only shown up in the Log for one time. However, I'd like to know why is that? How can I prevent such exception in the Log?
    I tried to add the try catch in the constructor of the backing bean for this page. But the exception is not from there.
    Please help!
    07/06/27 11:49:39 java.beans.IntrospectionException: Method not found: isAutoSyncEnabled
    07/06/27 11:49:39      at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:89)
    07/06/27 11:49:39      at oracle.jbo.uicli.binding.JUCtrlHierNodeBindingBeanInfo.getPropertyDescriptors(JUCtrlHierNodeBindingBeanInfo.java:170)
    07/06/27 11:49:39      at oracle.jbo.uicli.binding.JUCtrlHierNodeBindingBeanInfo.<init>(JUCtrlHierNodeBindingBeanInfo.java:42)
    07/06/27 11:49:39      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    07/06/27 11:49:39      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    07/06/27 11:49:39      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    07/06/27 11:49:39      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    07/06/27 11:49:39      at java.lang.Class.newInstance0(Class.java:350)
    07/06/27 11:49:39      at java.lang.Class.newInstance(Class.java:303)
    07/06/27 11:49:39      at java.beans.Introspector.instantiate(Introspector.java:1454)
    07/06/27 11:49:39      at java.beans.Introspector.findExplicitBeanInfo(Introspector.java:410)
    07/06/27 11:49:39      at java.beans.Introspector.<init>(Introspector.java:359)
    07/06/27 11:49:39      at java.beans.Introspector.getBeanInfo(Introspector.java:159)
    07/06/27 11:49:39      at oracle.jbo.common.JboBeanUtils.getPropertyDescriptor(JboBeanUtils.java:20)
    07/06/27 11:49:39      at oracle.jbo.common.JboBeanUtils.getProperty(JboBeanUtils.java:61)
    07/06/27 11:49:39      at oracle.jbo.common.JboAbstractMap.internalGet(JboAbstractMap.java:65)
    07/06/27 11:49:39      at oracle.adf.model.binding.DCControlBinding.internalGet(DCControlBinding.java:733)
    07/06/27 11:49:39      at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:1789)
    07/06/27 11:49:39      at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalGet(JUCtrlHierNodeBinding.java:896)
    07/06/27 11:49:39      at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:649)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.model.HierNodeBindingPropertyResolver.getValue(HierNodeBindingPropertyResolver.java:49)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:90)
    07/06/27 11:49:39      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
    07/06/27 11:49:39      at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
    07/06/27 11:49:39      at com.sun.faces.el.impl.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:185)
    07/06/27 11:49:39      at com.sun.faces.el.impl.ConditionalExpression.evaluate(ConditionalExpression.java:176)
    07/06/27 11:49:39      at com.sun.faces.el.impl.ExpressionString.evaluate(ExpressionString.java:134)
    07/06/27 11:49:39      at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:268)
    07/06/27 11:49:39      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
    07/06/27 11:49:39      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
    07/06/27 11:49:39      at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getValue(ValueRenderer.java:63)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getConvertedString(ValueRenderer.java:32)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputTextRenderer.encodeEnd(OutputTextRenderer.java:56)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:173)
    07/06/27 11:49:39      at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer.renderKids(ColumnRenderer.java:143)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TreeNodeColumnRenderer._renderNodeStampBasedOnAccessibilty(TreeNodeColumnRenderer.java:186)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TreeNodeColumnRenderer.renderKids(TreeNodeColumnRenderer.java:110)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer._renderKids(ColumnRenderer.java:160)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer._renderTD(ColumnRenderer.java:319)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer._renderDataMode(ColumnRenderer.java:233)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer.encodeAll(ColumnRenderer.java:87)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer.renderSpecialColumns(TreeTableRenderer.java:295)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:107)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer$1.processRowImpl(TreeTableRenderer.java:431)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableUtils$RowLoop.processRow(TableUtils.java:100)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer$1.loop(TreeTableRenderer.java:424)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableUtils$RowLoop.run(TableUtils.java:58)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer._renderTableRows(TreeTableRenderer.java:463)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer.renderTableRows(TreeTableRenderer.java:319)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderTableContent(DesktopTableRenderer.java:366)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:237)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:80)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer.encodeAll(TreeTableRenderer.java:139)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    07/06/27 11:49:39      at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    07/06/27 11:49:39      at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:456)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.HeaderRenderer.renderContent(HeaderRenderer.java:489)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(BorderLayoutRenderer.java:42)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(BorderLayoutRenderer.java:71)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
    07/06/27 11:49:39      at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    07/06/27 11:49:39      at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    07/06/27 11:49:39      at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
    07/06/27 11:49:39      at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
    07/06/27 11:49:39      at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
    07/06/27 11:49:39      at FlowStepsByActivityjspx._jspService(_FlowStepsByActivity_jspx.java:2154)
    07/06/27 11:49:39      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    07/06/27 11:49:39      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    07/06/27 11:49:39      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    07/06/27 11:49:39      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    07/06/27 11:49:39      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
    07/06/27 11:49:39      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
    07/06/27 11:49:39      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    07/06/27 11:49:39      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    07/06/27 11:49:39      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    07/06/27 11:49:39      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    07/06/27 11:49:39      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    07/06/27 11:49:39      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    07/06/27 11:49:39      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    07/06/27 11:49:39      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    07/06/27 11:49:39      at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    07/06/27 11:49:39      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    07/06/27 11:49:39      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
    07/06/27 11:49:39      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    07/06/27 11:49:39      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    07/06/27 11:49:39      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    07/06/27 11:49:39      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    07/06/27 11:49:39      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/06/27 11:49:39      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/06/27 11:49:39      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/06/27 11:49:39      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    07/06/27 11:49:39      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    07/06/27 11:49:39      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    07/06/27 11:49:39      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)

    Hi, Frank:
    Thanks for your reply. This problem is what happened in JDeveloper 10.1.3.2.
    I am using the JDeveloper Studio Edition Version 10.1.3.2.0.4066.
    Build JDEVADF_10.1.3.2.0_NT_070118.1250.4066
    ADF Business Components: 10.1.3.40.66
    Oracle ADF Faces: 10.1.3.40.66
    Java Platform: 1.5.0_06

  • JSP-can i reuse the instance of a bean in another .jsp file

    am having a bean like clsStudent and i have used the usebean tag and setproperty to set all the values of the same bean. then i want to access the contents in the instane of clsStudent in another .JSP file.

    That doesn't sound like you're doing it right. Beans, like any java class, are actually defined in Java, and class files placed in the WEB-INF directory (By the way class names should be capitalised).
    JSPs shouldn't be populating beans, they should be generating HTML based on them. If you're loading form data into a bean use a servlet.
    That said there's no problem referencing beans in multiple JSPs, but you have to pay attention to how the actual reference gets into the JSP. This is done through "scope" on useBean. Generally a Servlet builds a bean and places it into the request attributes, then forwards to a JSP to format the HTML.

  • How to call a java class in a bat file

    Hi
    I need to call a Test.java class in a bat files .It refer .DOM.jar
    in C:/url; How do i call the java class i need the syntax
    Thanks lot

    assuming lanch.bat, Test.class and DOM.jar are in c:\url
    assuming %JAVA_HOME% is defined (else substitue it with your java installation directory)
    here is the content of launch.bat:
    cd C:/url (or cd c:\url ) (or cd c: followed by cd url)
    %JAVA_HOME%\bin java -classpath .;DOM.jar Test
    hop that'd help,
    marvinrouge

  • Unable to import a java class in a jsp file

    Hi,
    I am trying to import a java class in my jsp.
    ------------------jsp---------------
    <jsp:useBean id="form" class="com.company.portlets.searchApps.object.SearchOBJ" scope="request" />
    <jsp:setProperty name="form" property="*" />
    <input type="TEXT" name="projectID" value='<%= form.getProjectID() %>'>
    When I run the above JSP, it says that class 'com.company.portlets.searchApps.object.SearchOBJ' cannot be found.
    Why?
    My project structure looks like this:
    Project
    +Application Sources
    ++com.company.portlets.searchApps.object
    +++SearchOBJ.java
    +Web Content
    ++htdocs
    +++searchappsportlet
    ++++SearchAppsPortletShowPage.jsp
    ++WEB-INF
    +++index.jsp
    +Resources
    ++SearchApps.deploy
    Please advice...thanks!

    The way that JDeveloper organized the files was like this:
    C:\jdev1012\jdev\mywork\WksSearchApps\Project\classes\com\company\portlets\searchAPPS\object\SearchOBJ.class
    I am assuming that JDeveloper puts the file where they are suppose to be...if not, how do I change that?
    thanks,
    hussain

  • How to pass a populated Java bean to a jsp

    Hi,
    I'm new to J2EE world. I want to know how should I pass a populated Java Bean (not EJB) to a JSP without displaying that JSP in the next step. I would be much grateful to anyone who gives a solution to my problem.
    Thanks in advance
    With best regards
    Sampath

    > I'm new to J2EE world. I want to know how should I
    pass a populated Java Bean (not EJB) to a JSP without
    displaying that JSP in the next step.
    Urk?
    A JSP is meant to be displayed. If there's business logic in that JSP, get it out of there. Process the bean as needed on the server side and send the flow on to some view that actually should be displayed.
    ~

  • Java Bean Error in JSP: Cannot Resolve Symbol FirstBean

    I have created a java bean with following package statement
    package mybeans;
    and my bean name is
    FirstBean
    it compile secessfully and now my directory structure is following
    WebAppRootDir \ WEB-INF \ classes \ mybeans \ FirstBean.class
    I am using Tomcat 4.1 and in JSP i am declaring the bean with following line
    <jsp:useBean id="b" class="mybeans.FirstBean" />
    and tomcat 4.1 is failed to find this bean and giving me following error
    cannot resolve symbol
    symbol  : class StudentBean 
    location: package mybeans
    mybeans.FirstBean b = null;
    all my class and directory structure is ok i am puzzle why this error is coming, plz help me quickly i need solution quickly ...

    Error is for StudentBean, not for FirstBean. So check for it.

  • Java Bean Error in JSP: Cannot Resolve Symbol Error

    I have created a java bean with following package statement
    package mybeans;
    and my bean name is
    FirstBean
    it compile secessfully and now my directory structure is following
    WebAppRootDir \ WEB-INF \ classes \ mybeans \ FirstBean.class
    I am using Tomcat 4.1 and in JSP i am declaring the bean with following line
    <jsp:useBean id="b" class="mybeans.FirstBean" />
    and tomcat 4.1 is failed to find this bean and giving me following error
    cannot resolve symbol
    symbol  : class FirstBean 
    location: package mybeans
    mybeans.FirstBean b = null;
    all my class and directory structure is ok i am puzzle why this error is coming, plz help me quickly i need solution quickly ...

    It seem to be ok... why dont your try with a newer versi�n of Tomcat?

  • How to call a function defined in a JSP file into a servlet?

    Hi
    I have defined a JSP file with some functions in it. I am including this JSP file into other JSP files so that these functions can be used. Now is there soe way, that I can include this file in a servlet as well and use the defined functions in the servlet as well.
    Thanks and Regards
    Vikram

    I assume you have a function with OUT arguments because you need to return at least two distinct things from this function? The functions return value and this OUT argument, too. Right? For the sake of argument, let's say that you're trying to return a VARCHAR2 value and a NUMBER value from this function.
    Assuming that you cannot just wrap your existing function with a function that does not have OUT arguments, the first idea that pops to mind is to create an Oracle8 type that looks like:
    CREATE TYPE MYREC AS OBJECT (V VARCHAR2(80), N NUMBER);Then you could rewrite your function to return an instance of this MYREC type instead of having one return value and one OUT parameter.
    Then create a BC4J domain for this Oracle8 type (which will mimic its nested structure), and then you can just select the value straight-away in your view object.
    I just tried this idea with 9.0.2 production and it works.
    The Domain you create will have getV() and getN() accessors on it so you can get at the nested values in the MyRec domain "record" structure.
    The other way would involve building a programmatic view object that sources the data for your VO programmatically. If I think of anything else I'll post something here.

Maybe you are looking for

  • A bug in message pattern's queue implementation?

    Here is how to reproduce the problem. Have 2 Java program ready. A is to create a queue and publish 3 messages to the queue. B is to subscribe to the same queue and try to get all messages from the queue (put the getMessage inside a while(true) loop)

  • Prob.. in display

    i have an jsp page..which insert values in database and displays values. This page displays values of two tabels of database name pay_header and pay_detail.. my prob is that it displays only values of the table name pay_header not pay_detail. i have

  • Multi-Language supported by CUPC & presence

    Hi, Devices:- Presence Server 7.0 CUPC 7.0 Most of the user are using English as language in CUPC, few user want to use Japanese language for CUPC. Is it possible to use different languages for different user in above mentioned setup. Regards, Abhas

  • Trouble Detecting Printer During Driver Installation (MP495)

    Upon trying to install the drivers for my Canon MP495, I always get stuck at the same point.  I closed all programs running in the background, pushed the "maintenence" button on the printer until it went to the "G" symbol and then pushed the "color"

  • Business Package FIN 1.40 - Create a change Request Iview

    Hello Experts, I'm facing a difficulty on implementing the following Iview : Create a change request. When I run the Iview, the 1st step is well displayed and all the input fields  are empty. The problem appears when i want to add the Edition Type in