PL/SQL TABLE AS OUT ON PROCEDURE CALL AND JDBCTHIN(NEED HELP

How can I pass pl/sql record in and out
and pl/sql tables in out thru a pl/sql procedure using jdbc with
the zip file of 816classes12.zip...
I have tried everything I know...
I know the procedure is working, others are using it with in
Oracle...
I need to use the information it generates.
here is what I have so far...
try
Class.forName ("oracle.jdbc.driver.OracleDriver");
DriverManager.registerDriver (new
oracle.jdbc.driver.OracleDriver());
oracle.jdbc.driver.OracleConnection conn =
(oracle.jdbc.driver.OracleConnection)
DriverManager.getConnection ("jdbc:oracle:thin:@--","NA","NA");
// SQL92 SyntaxCallableStatement
oracle.jdbc.driver.OracleCallableStatement cstmt =
(oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall
("{call cbmd_proposal_PKG.DefaultTerms (?,?,?,?)}" ) ;
cstmt.setString(1,"5118");
cstmt.setString(2,"3");
cstmt.registerOutParameter
(2,oracle.jdbc.driver.OracleTypes.NUMBER);
cstmt.registerOutParameter
(1,oracle.jdbc.driver.OracleTypes.ARRAY,"");
cstmt.execute();
catch(Exception e)
System.err.println(e.toString());
e.printStackTrace();
null

The "X" in the second registerOutParameter is the type name which
you have created in oracle DB.
eg. if you have created a nested table
create Type integer_table is table of number(10);
then "X" = "INTEGER_TABLE" and it has to be in caps
and other thing to keep in mind is that it only works with nested
table or varray and not with pl/sql table.
Al Pivonka (guest) wrote:
: How can I pass pl/sql record in and out
: and pl/sql tables in out thru a pl/sql procedure using jdbc
with
: the zip file of 816classes12.zip...
: I have tried everything I know...
: I know the procedure is working, others are using it with in
: Oracle...
: I need to use the information it generates.
: here is what I have so far...
: try
: Class.forName ("oracle.jdbc.driver.OracleDriver");
: DriverManager.registerDriver (new
: oracle.jdbc.driver.OracleDriver());
: oracle.jdbc.driver.OracleConnection conn =
: (oracle.jdbc.driver.OracleConnection
: DriverManager.getConnection
("jdbc:oracle:thin:@--","NA","NA");
: // SQL92 SyntaxCallableStatement
: oracle.jdbc.driver.OracleCallableStatement cstmt =
: (oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall
: ("{call cbmd_proposal_PKG.DefaultTerms (?,?,?,?)}" ) ;
: cstmt.setString(1,"5118");
: cstmt.setString(2,"3");
: cstmt.registerOutParameter
: (2,oracle.jdbc.driver.OracleTypes.NUMBER);
: cstmt.registerOutParameter
(1,oracle.jdbc.driver.OracleTypes.ARRAY,"X");
: cstmt.execute();
: catch(Exception e)
: System.err.println(e.toString());
: e.printStackTrace();
: The "X" in the second registerOutParameter is still unknown to
: me.
: The JavaDoc for the
OracleCallableStatement.registerOutParameter
: is not clear.
: Can any One help simplify this...
: Thanks
null

Similar Messages

  • Who know how to handle pl/sql table return from stored procedure calling from jsp

    I have some stored procedure which return pl/sql table (index by table), It is look like an array. how jdbc handle this?
    CallableStatement cs = con.prepareCall("EXECUTE bill.getcountry(?,?)");
    cs.setInt(1, cid);
    cs.registerOutParameter(2, java.sql.Types.VARCHAR);// ARRAY?
    ResultSet rs = cs.executeQuery();
    Array array = (Array) rs.getObject (1);
    ResultSet array_rset = array.getResultSet ();

    Not that familiar with the OCI (Oracle Call Interface), but I think this call will be problematic - the OCI deals with SQL data types and not with PL/SQL structures.
    The OCI has since Oracle 8i sported an object call interface (see OCI Runtime Environment for Objects for details).
    This allows you to use the CREATE TYPE command to create advance user data types - and these are supported by the SQL engine, PL/SQL engine and external languages via the OCI.
    So you need to have a look at the Perl-DBI documentation to see how it supports Oracle object types and consider using these. As for internal PL/SQL data structures. These are not supported by the SQL engine and I would expect limited or no support in the OCI for these. Anyway, using SQL data types makes a lot more sense ito flexibility and transparency across languages and environments.

  • Sql to find out combination of true and false

    Hi all,
    Could any one provide the sql to find out combination of true and false . For eg: if I have 3 elements a , b c i would like to get below o/p
    a   b  c
    t t t
    t t f
    t f f
    f f f
    t f t
    f f t
    your reply is greatly appreated - thank you

    Do you mean something like this (all permutations) ?
    SQL> with t as (
      2    select 't' bool from dual union all select 'f' from dual)
      3  select a.bool a,b.bool b,c.bool c
      4  from t a,t b,t c
      5  /
    A B C
    t t t
    t t f
    t f t
    t f f
    f t t
    f t f
    f f t
    f f fIf not, then you already got correct answers regarding boolean type in sql.
    Best regards
    Maxim

  • I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    Check this thread where people have already given their suggestion on learning SSIS
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f2cc1cf3-204d-454a-a189-47df87a3aa23/i-want-to-learn-ssis?forum=sqlintegrationservices
    I would suggest to go for You tube videos (type learn SSIS or begin SSIS step by step) you will get lot of good tutorials to start with.
    Happy Learning!!
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • My phone said I needed to update my settings.  when I did it wiped out all my contacts and photos.  Help!!!

    my phone said I needed to update my settings.  when I did, it wiped out all my contacts and photos.  HELP!

    restore from backup http://support.apple.com/kb/HT1766

  • Ok my phone is i can not make or recieve calls and i need to restore from itunes what do i do

    ok my phone is i can not make or recieve calls and i need to restore from itunes what do i do

    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • I cannot download sny apps after i upgrade to IOS6 ,message keep telling me ' Your session has timed out. Try again. I need help ����

    cannot download sny apps after i upgrade to IOS6 ,message keep telling me ' Your session has timed out. Try again. I need help  

    From Apple Support...
    Here are troubleshooting steps that should help you fix the problem.
    1) Quit App Store in multi-tasking.
    2) Tap Settings.
    3) Tap Safari.
    4) Tap Clear History.
    5) Tap the Clear History button.
    6) Tap Clear Cookies and Data.
    7) Tap the Clear Cookies and Data button.
    Try purchasing an app again from the device to get the security question prompt. You really need to set up the security question.
    ...it seems to have worked for me.....

  • Joining java array with SQL table in a stored procedure

    Hey,
    I am calling a pl/sql stored procedure from a java program passing two arrays (employees) and (departments) as parameters to the procedure. Within the procedure I have stored the arrays in a table of records like this:
    type t_emp_type is record (employee_id number, department_id number);
    type t_emp_tbl_type is table of t_emp_type index by binary_integer;
    Where all elements in employees are stored in the employee_id column and departments are stored in the department_id column. So basically I've got a table like:
    l_employee_tbl t_emp_tbl_type;
    Looped through the arrays and stored the data like:
    for i in 1..p_employees.count loop
    l_employee_tbl(i).employee_id := p_employees(i);
    l_employee_tbl(i).deparment_id := p_departments(i);
    end loop;
    Now I would like to compare my l_employee_tbl with a SQL table in the database. Basically I would like to join my l_employee_tbl table with a SQL table named departments on department_id, returning all department_id:s that was not found in table departments.
    However, it is not possible to select from a user-defined table type. I have also tried to use the table() function and to cast l_employee_tbl, but found out it can't be done with records. And I would really like to use records or some other type where define my PL/SQL data. I know that you should not mix PL/SQL and SQL but in this case I think it is more efficient to try joining these "tables". Does anyone have a solution for this or advice to try something else out? It would be most appreciated.
    Edited by: 963281 on 2012-okt-04 14:25
    Edited by: 963281 on 2012-okt-05 01:53

    963281 wrote:
    I am calling a pl/sql stored procedure from a java program passing two arrays (p_employees) and (p_departments) as parameters to the procedure. Within the procedure I have stored the arrays in a table of records like this:
    type t_emp_type is record (employee_id number, department_id number);
    type t_emp_tbl_type is table of t_emp_type index by binary_integer;Why do you create an associative array?
    Now I would like to compare my l_employee_tbl with a SQL table in the database. Basically I would like to join my l_employee_tbl table with a SQL table named departments on department_id, returning all department_id:s that was not found in table departments. Of course, not possible as the SQL engine does not support PL/SQL user defined types. PL/SQL however support user defined SQL types. Which makes SQL defined types a lot more flexible.
    However, it is not possible to select from a user-defined table type. I have also tried to use the table() function and to cast l_employee_tbl, but found out it can't be done with records. Never mind SQL and PL/SQL - as a generic programming data structure principle. How do you expect being able to cast an associative array (name-value pairs) to a standard array? The two data structures are very different. So I'm puzzled in how you expect to move a non-scalar name-value pair data structure into a non-scalar value only data structure?
    And I would really like to use records or some other type where define my PL/SQL data. Why exactly? If the Java or PL/SQL data structure is populated using SQL data and database data, and wanting to use that data structure in SQL, what is the point? Why pull SQL data into a client data structure at all then - surely it is far more performant and scalable to rather keep that data in the database, and do the joins/selects/filters/etc using SQL?
    There is also the issue of scalability of local data structures in PL/SQL. The PL/SQL engine runs inside an Oracle server process, consuming private process memory on the server. The bigger the data structures used in PL/SQL, the more server memory needs to be allocated to that server process. This does not scale. Especially not if 10 or more such server processes are running the same PL/SQL code and each server needs to grab large chunks of server memory.
    If the data from Java comes from another source (e.g. keyboard, etc), and you need a means of storing this data server-side for use by PL/SQL and SQL. There are 2 basic choices. PL/SQL arrays for smallish amounts of data - and basing these arrays preferable on SQL data types allowing the array to be used by both SQL and PL/SQL engines. If the amount of data is not smallish, then it should be stored in the SQL engine (database) as that is designed for that exact purpose. And if the data is transient, then a GTT (global temp table) structure can be used (and indexed for optimal access).

  • Sql server configuration manager remote procedure call failed(0x800706be)

    Hi,
    My Sql Server Management Studio working well. But When I open Sql server configuration manager I Got an error
    “Remote procedure call failed (0x800706be)”
    I tried Goggling the problem and solve it but I am not getting any valuable
    solution. Is anyone solve this problem
    I attach snap here
    MySql Server Details:
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64) Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )

    This error appears to happen when .mof files (Managed Object Format (MOF)) don’t get installed and registered correctly during set-up. To resolve this issue, I executed
    the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
    Regards,
    Basit A. Farooq (MSC Computing, MCITP SQL Server 2005 & 2008, MCDBA SQL Server 2000)
    http://basitaalishan.com
    cau u pls tell me how to type this command on command prompt. I also have the same error in sql server 2008. I allready have sql server 2008 sp2 installed. When I was trying to type this command as it it by copying this full command to command prompt it
    shows that command not found as follows
    C:\>mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmpr
    oviderxpsp2up.mof"
    Microsoft (R) MOF Compiler Version 6.1.7600.16385
    Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
    File 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2
    up.mof' not found!
    please tell me step by step 
    thanks 
    nravhad

  • SQL Server Agent gives- Remote procedure call failed (0x800706be)

    I can't access SQL Server 2008 R2 remotely on Windows 2008
    1.  TCP/IP Enabled for SQL Server Network Configuration Protocols, SQL Native Client 10.0 configuration clients, and SQL Native Client 10.0 configuration clients(32 bit)
    2.  Firewall disabled to make sure its not interferring with things.
    I noticed the SQL Server Agent is Stopped.  Not sure if this is the issue.  When I try and turn this from disabled to Automatic or Manual, I get this error:
    Remote procedure call failed (0x800706be)
    It shouldn't be this difficult.
    Thank you for your help in advance!

    Any luck?
    The following thread is on the same topic with solutions:
    http://social.technet.microsoft.com/Forums/en-US/winservermanager/thread/75933d1c-f142-459e-b7dc-d43ad4f8f93f/
    Kalman Toth SQL SERVER 2012 & BI TRAINING
    New Book:
    Beginner Database Design & SQL Programming Using Microsoft SQL Server 2012

  • Procedure call and shell script

    When i try to pass a shell variable to a procedure call in a shell script it does not work. But a SQL command ( insert ) has no problem taking the shell variable. Has this something to do with context switch. How to get around this prbokem.
    `sqlplus <username/password> -silent << EOF
    set serveroutput on size 1000000
    exec procA; -- works
    exec procB($shell_variable); -- does not work
    insert into table1 values ($shell_variable); -- works
    EOF`
    Thanks!

    It works to me :
    TEST@db102 SQL> create or replace procedure isnumeric (num in varchar2)
      2  is
      3          a       number;
      4  begin
      5          a := to_number(num);
      6          dbms_output.put_line (num||' is a number');
      7  exception
      8          when others then
      9                  dbms_output.put_line (num||' is NOT a number');
    10* end;
    11  /
    Procedure created.
    TEST@db102 SQL> exec isnumeric(123);
    123 is a number
    PL/SQL procedure successfully completed.
    TEST@db102 SQL> exec isnumeric('abc');
    abc is NOT a number
    PL/SQL procedure successfully completed.
    TEST@db102 SQL>
    [ora102 work db102]$ cat callvar.sh
    export VAR=$1
    sqlplus -s test/test << EOF
    set serveroutput on size 1000000
    exec isnumeric('$VAR');
    EOF
    [ora102 work db102]$ ./callvar.sh 123
    123 is a number
    PL/SQL procedure successfully completed.
    [ora102 work db102]$ ./callvar.sh abc
    abc is NOT a number
    PL/SQL procedure successfully completed.
    [ora102 work db102]$                       

  • How can I find out the incoming call and out going call from my orher chine

    How will I know if my friend knows who I call

    It is not you who have blocked them. The caller has opted to block their number from displaying on caller id displays. You can find out who it is by answering the phone. In the future, if the caller dials (I believe) *82 before your phone number (in the us anyway) the number should appear. Ask them to do this in the future. Some medical facilities and women's shelters have caller Id blocked for privacy reasons.

  • Passing pl/sql table to Java using Oracle JDBC and vice - versa

    A small article on the given topic with sample code and comments, to make code crystal:
    http://mukx.blogspot.com/2007/12/passing-plsql-table-to-java-using.html
    --Mukul                                                                                                                                                                                                                                                                                                                                                           

    Tapash,
    I have seen people using Rosetta in almost all projects in previous years, frequently in couple of projects. I was not aware that Rosetta is an internal thing, anyways if that is the case y oracle is shipping rosetta jar file to customers?
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JSTL c:out and PageContext: need help!!!!!!!!!!!!!

    hi, i'm finding problems using core tag libraries, and i can't understand how to solve but expecially WHY i'm getting all those compilation errors....
    first, i post my jsp's scriptlets section for evaluating errors, but please, firstly go to the end of scriptlet's section to understand what i'm asking.
    ################# JSP'S SCRIPTLETS SECTION ##############
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page session="true"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="services.sessionservice.*"%>
    <%@page import="util.*"%>
    <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <jsp:useBean id="loginManagement" class="bflows.LoginManagement" scope="session"/>
    <jsp:setProperty name="loginManagement" property="nickName" param="nickName"/>
    <jsp:setProperty name="loginManagement" property="password" param="password"/>
    <jsp:setProperty name="loginManagement" property="loggedOn" value="false"/>
    <%
        Cookie[] cookies = request.getCookies();
        String message = null;
        // SETTO UN ATTRIBUTO CON SCOPE PAGE PER L'UTILIZZO CON LE TAGLIBS PER L'OUTPUT IN XML
        // LO UTILIZZO COME SE FOSSE UNA VARIABILE PER POI EFFETTUARE IL GIUSTO OUTPUT.
        // ######################## ENGLISH FOR JAVA.SUN FORUM #####################
        // "OUTPUT" AND "MESSAGE" ARE ATTRIBUTES SETTED TO CHOOSE WHICH XML NODE I WANT TO SELECT
        // FOR OUPUT.
        pageContext.setAttribute("output","login");
        pageContext.setAttribute("message",null);
        String output = "login";
        String action = request.getParameter("action");
        // Controllo che (1� if) esista il cookie NICKNAME e che contenga dei valori; poi controllo che (2� if)
        // I valori contenuti corrispondano a quelli della sessione corrente.
        if(cookies != null) {
            if(Session.getValue(cookies,"NICKNAME",0) != null && Session.getValue(cookies,"NICKNAME",1) != null){
                if(Session.getValue(cookies,"NICKNAME",0).equals(loginManagement.getNickName())
                && Session.getValue(cookies,"NICKNAME",1).equals(loginManagement.getSessionID())) {
                    loginManagement.setLoggedOn(true);
        if(action != null){
            if(action.equals("login")){
                loginManagement.logon();
                if(loginManagement.getCookies() != null){
                    for(int i=0;i<loginManagement.getCookies().length;i++){
                        response.addCookie(loginManagement.getCookies(i));
                        cookies=loginManagement.getCookies();                   
                    loginManagement.setLoggedOn(true);
            if(action.equals("logout")){
                loginManagement.setCookies(cookies);
                loginManagement.logout();
                // Rispedisce i cookie al client con MaxAge = 0, cos� questi verranno cancellati.
                for(int i=0;i<loginManagement.getCookies().length;i++){
                    response.addCookie(loginManagement.getCookies(i));
                loginManagement.setLoggedOn(false);
        if(loginManagement.getLoggedOn()){
            // MOSTRA IL MESSAGGIO DI BENVENUTO (SHOWS THE WELCOME MESSAGE)
            pageContext.setAttribute("output","welcome");
            output = "welcome";
        else {
            if(action != null && action.equals("logout")){
                // TORNA ALL'INIZIO (SHOWS THE LOGIN FORM)
                pageContext.setAttribute("output","login");
                output = "login";
            else {
                if(loginManagement.getResult() == -1){
                    throw new Exception("Errore nell'applicazione: consultare i log");       
                if(loginManagement.getResult() == -2){
                    // STAMPA IL MESSAGGIO DI ERRORE (PRINTS THE ERROR MESSAGE)
                    pageContext.setAttribute("message",loginManagement.getErrorCode());
    %>############# END OF SCRIPTLETS' SECTION ###########
    now i'll paste 2 short taglibs sections which will be appended after the code i pasted above: the first working, the second not compiling:
    ################## FIRST TAGLIB SECTION #############
    <c:set var="xmlDocument" scope="page">
        <ROOT>
        <%if(output.equals("welcome")){%>
            <WELCOME>
                <NOME><%=loginManagement.getNome()%></NOME>
                <COGNOME><%=loginManagement.getCognome()%></COGNOME>
                <CREDITI><%=loginManagement.getCrediti()%></CREDITI>
            </WELCOME>
        <%}%>
        <%if(output.equals("login")){%>
            <LOGIN></LOGIN>
        <%}%>
        <%if(output.equals("error")){%>
            <ERROR><%=loginManagement.getErrorCode()%></ERROR>
        <%}%>
        </ROOT>
    </c:set>
    <x:parse xml="${xmlDocument}" var="xml"/>
    <c:set var="xslUrl"><%="/XSL/Login.xsl"%></c:set>
    <c:import var="xslDocument" url="${xslUrl}" scope="page"></c:import>
    <x:parse var="xsl" xml="${xslDocument}"/>
    <x:transform xml="${xml}" xslt="${xsl}"/>###################### END #########################
    ################## SECOND TAGLIB SECTION ###########
    <c:set var="xmlDocument" scope="page">
        <ROOT>
        <c:if test="${pageScope.output == 'welcome'}">
            <WELCOME>
                <NOME><c:out value="${loginManagement.nome}"></c:out></NOME>
                <COGNOME><c:out value="${loginManagement.cognome}"></c:out></COGNOME>
                <CREDITI><c:out value="${loginManagement.crediti}"></c:out></CREDITI>
            </WELCOME>
        </c:if>
        <c:if test="${pageScope.output == 'login'}">
            <LOGIN></LOGIN>
        </c:if>
        <c:if test="${pageScope.message != null }">
            <ERROR><c:out value="${loginManagement.errorCode}"></c:out></ERROR>
        </c:if>
        </ROOT>
    </c:set>
    <x:parse xml="${xmlDocument}" var="xml"/>
    <c:set var="xslUrl"><%="/XSL/Login.xsl"%></c:set>
    <c:import var="xslDocument" url="${xslUrl}" scope="page"></c:import>
    <x:parse var="xsl" xml="${xslDocument}"/>
    <x:transform xml="${xml}" xslt="${xsl}"/>###################### END #########################
    can u help me to understand why the second section doesn't works? if i'll be ogliged to use the first one, i won't be able to completely write code using taglibs, and so my code will be horrible! a mix of scriptlets syntax and taglibs' xml one.
    Compiling jsp with netbeans 4.0 the error is:
    Compiling 1 source file to /home/ghido/WebProjects/WebDocumentationXML/build/generated/classes
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:252: jspxmeth_c_if_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.SetTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_if_0(_jspx_th_c_set_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:256: jspxmeth_c_if_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.SetTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_if_1(_jspx_th_c_set_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:260: jspxmeth_c_if_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.SetTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_if_2(_jspx_th_c_set_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:292: jspxmeth_c_out_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_0(_jspx_th_c_if_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:296: jspxmeth_c_out_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_1(_jspx_th_c_if_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:300: jspxmeth_c_out_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_2(_jspx_th_c_if_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:404: jspxmeth_c_out_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_3(_jspx_th_c_if_2, jspxpage_context))
    ^
    7 errors
    Can you help me??
    And also, is the "pageContext.setAttribute()" method the correct way to select output as i did, or do u know a better one?
    Thanks a lot, bye.

    Use the brace notation.
    ${sessionScope['org.apache.struts.action.LOCALE']}

  • My ipod was stolen and I need help figuring out the serial number. I don't know where the case that i bought it in is nor do I have my ipod so HELP! please!?!??!!?

    Also, I can't do that thing where you go on itunes and find out which device was last connected because I accidentallly connected a different ipod. soo yeah

    Go to the iPods syncing computer.  Open iTunes and open iTunes' Preferences.  Go to the Devices tab and hoover the mouse pointer over the backup for that iPod.  The SN whill come up.
    Als see:
    iPod: How to find the serial number

Maybe you are looking for

  • CS4 very slow

    I am getting lots of problems with CS4, some of which have been covered in separate topics on this forum. In the main, it seems to me that there is a real problem with CS4 processing relatively small amounts of data. The difficulties I am experiencin

  • Whera can I find RFC adapter file configuration?

    I search for Program ID in RFC Adapter configuration but I don't find the file properties. Where is? thanks, mik

  • Any good way to store configuration file?

    I need to store some configuration information in a file from Java. This file will be used by a C++ module. I know we can use XMLEncoder to serialize a Java object to XML file. Is there a opensource C++ library that can parse the XML file something s

  • Send JAVA Email failing on execution

    jdk is 6u35 and java mail is javamail-1.4.7. code as: import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class SendEMail { public static void main(String args[]){ // Common variables String host = "******";   String from =

  • ASM normal redundancy disk group

    Hi, One of my collegues created an ASM disk group with normal redundancy using 2 disks. But the disks are not of same size, one disk is 100GB and another one is 10GB. Now the usable space out of diskgroup is showing 55GB. When I checked the diskgroup