Getting Error in jsp code

Hi,
I modify a jsp in which we have to remove the lov of a field according to the responsibility. but its giving some error. that i am not able to see. so can you please tell me whats the problem in this code.
<td nowrap align="right" class="prompt" width="25%">
<%
                    if(!qotRdOnly)
%>
<label for="qotPmtTerms">
<%
%>
<%=qotRegionMgrObj.getPrompt("QOT_PAYMENT_TERMS")%>
<%
if(!qotRdOnly)
%>
</label>
<%
%>
</td>
<td><img alt="" height=8 src="/OA_MEDIA/jtfutrpx.gif" width=12></td>
<%
if(qotRdOnly)
%>
<td class="datareadonly" >
<%=RequestCtx.htmlSecurityProcess(qotPmtTerms)%>
<%
else
%>
<td>
<%
                         if(!QotUtil.isNull(qotPmtTerms))
QotLookup qpmt = QotLookup.load(QotLookup.PAYMENT_TERM,QotUtil.stringToBigDecimal(qotPmtTerms));
qotPmtTerms = qpmt!=null?qpmt.getName():"";
%>
<%@ page import="java.math.BigDecimal"%>
<%@ page import="java.sql.Statement"%>
<%@ page import="java.sql.ResultSet"%>
<%@ page import= "java.lang.*"%>               
<%@ page import ="java.sql.*" %>
<%               
                         BigDecimal respId = RequestCtx.getResponsibilityId();
                         BigDecimal appId = RequestCtx.getApplicationId();
                         out.println("value for respId"+respId);
                         out.println("value for appId"+appId);
                         //int dbRespId = 0;
                         //ArrayList arraylist = new ArrayList();
                         int tempVal = 0;
                         OracleConnection con = null;          
                         Statement st = null;
                         ResultSet rs = null;
                         try
                              con = (OracleConnection) TransactionScope.getConnection();
                              out.println("value for connection object :--"+con);
                              String sql = "Select INSTR(UPPER(responsibility_name),UPPER('Finance Override' )) A "
                                                  + "from fnd_responsibility_tl "
                                                  + "where application_id= " + appId
                                                  + " and responsibility_id= " + respId;
                                   out.println("Value of query in page :--"+sql);
                                   st = con.createStatement();
                                   rs = st.executeQuery(sql);
                                   out.println("Value of rs "+rs);
                                   out.println("Value of Temp is "+tempVal);
                              while (rs.next())
                                   tempVal = rs.getInt(1);
                                   out.println("Value of Temp is "+tempVal);
                         catch(Exception e)
                              e.printStackTrace();
                              out.println("Exception :--"+e);
                         finally
                              if (conn != null)
                                   TransactionScope.releaseConnection(conn);
                                   out.println("connection is null");
                         if(tempVal > 0)
%>               
                              <td width="25%">
                              <select id="qotPmtTerms" name="qotPmtTerms">
                              <option value=""> </option>
<%
                              RequestCtx.log("qotSCocPmtDet.jsp","here in Payment Terms");
                              QotLookup[] qlpmt = QotLookup.list(QotLookup.PAYMENT_TERM);
                              int qlpmt_length = qlpmt!=null?qlpmt.length:0;
                              for(int i=0; i<qlpmt_length; i++)
                              payment_term_name = qlpmt.getName();
                              payment_term_code = qlpmt[i].getKey().toString();
%>
                              <option
<%
                              if (payment_term_code.equals(qotPmtTerms))
                                   %> selected <%
%>
                              VALUE="<%=payment_term_code%>">
                              <%= RequestCtx.htmlEncode(payment_term_name)%>
                              </option>
<%
                              } //end of length > 0
%>
                              </select>                              
<%
                         else
%>               
                              <input class=formObjReadOnly type="text" id="qotPmtTerms" name="qotPmtTerms" size = "25" maxlength = "50" onFocus=this.blur(); readOnly = readOnly value="<%=RequestCtx.htmlEncode(qotPmtTerms)%>">
<%                    
%>
</td>
Thanks,

Hi
Could you add the error information, is a bit difficult to help with out it.
Regards
Alex

Similar Messages

  • I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I am sorry Erickkasner but there is no longer direct support provided for Creative Suite 5.5 installation issues.
    You are welcome to post any specific errors you are able to discover within your installation log to this discussion.  Since you are using Windows then Exit Code 15 could mean one of the following:
    Installer database is corrupted
    Update pending to your operating system
    Improper permissions set for the Media.db
    The installation log file should provide additional insight into the exact error you are experiencing.  Please make sure to use the find command to look for the words 'ERROR' and 'FATAL' to locate the relevant error messages.

  • I am trying to activate new itunes card. I am getting error message: The code you have entered has not been properly activated. Does this mean the store did something wrong or me?

    I am trying to activate new itunes card. I am getting error message: The code you have entered has not been properly activated. Does this mean the store did something wrong or me?

    Yes, the store didn't properly activate the card. If the store is nearly then you could try going back and asking them to do so, if it isn't (or if they can't/won't help) then try contacting iTunes Support (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • Error in jsp:Code too large for try statement

    Hi friends,
    When i try to run a jsp program i am getting error "code too large for try statement". How can i rectify it rather than truncating that jsp? is there another way?
                                                  Basha

    Basha,
    When we were implenting an e-form component which was very big, the only way we were able to achieve it was by
    "jsp includes". In the main form simply included muliple
    jsp pages, where each was a section of the e-form.
    we have not found any other better way.
    Hope this helps.
    -Venkat Malempati
    Message was edited by: Venkat Malempati
    Message was edited by: Venkat Malempati

  • Getting error in JSP at compile time:

    Hello,
    I am getting this error in JSP at compile time, have no idea whatd going wrong here..!! Everything in the code looks good.
    Please help..!! The error is:
    Error 500: Unable to compile class for JSP /opt/WebSphere/AppServer/temp/jasi80corpgeNode/HRAppServer/Billinginterface/BillingInterfaceWEB.war/_select_5F_course.java:188: Type expected. } catch (Throwable t) { ^ 1 error                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Everything looks good, but then you can never spot your own mistakes :-)
    There are a couple of things.
    1 - curly brackets in scriptlets. Make sure they are all opened and closed correctly.
    2 - Custom tags (JSTL and the like) need to be closed. If it is a simple tag, have you forgotten the slash before the closing angle bracket? ie is it <c:out value="hello"> when it should be <c:out value="hello"/>
    Take a look at the generated java code at /opt/WebSphere/AppServer/temp/jasi80corpgeNode/HRAppServer/Billinginterface/BillingInterfaceWEB.war/_select_5F_course.java, line 188
    See if you can make any sense out of the java file generated from the jsp
    If you want any more specific help than this, please post some jsp code :-)
    If you don't want to do that, I would recommend commenting all the code out with <%-- --%>
    get it to compile, and then uncomment a bit at a time
    Good luck,
    evnafets

  • Getting error in this code

    Hi,
    please dont consider about the performence in this case.
    i have a delete statement DELETE FROM GSM_ITEM_INFO WHERE EXPIRE_TIME<SYSDATE-1;
    this delete statement may delete millions of records,i should not delete all the records at a time.
    i have to run a loop so that each time it deletes 10000 records for each commit. if the count of records less than 10000 records then i have to come out of the loop without deleting it.  i have written code like this. getting errors.
    CREATE OR REPLACE PROCEDURE TEST_ITEM_CLEAN (limit_in IN NUMBER DEFAULT 10000)
    IS
        type ITEM_CUR IS REF CURSOR;
        L_ITEM_CUR ITEM_CUR;
        TYPE ITEM_TYPE IS TABLE OF NUMBER
            INDEX BY PLS_INTEGER;
        L_ITEM ITEM_TYPE;
    BEGIN
    for i in 1..10
    loop
        OPEN L_ITEM_CUR FOR SELECT ITEM_ID FROM GSM_ITEM_INFO;
            FETCH L_ITEM_CUR
                BULK COLLECT INTO L_ITEM LIMIT limit_in;
            FORALL indx IN L_ITEM.FIRST .. L_ITEM.LAST
              DELETE FROM GSM_ITEM_INFO WHERE ITEM_ID=L_ITEM(indx).ITEM_ID;   
       CLOSE L_ITEM_CUR;  
    end loop;  
    END TEST_ITEM_CLEAN;
    errors:
    LINE/COL ERROR
    24/11    PL/SQL: SQL Statement ignored
    24/61    PL/SQL: ORA-22806: not an object or REF
    24/61    PLS-00487: Invalid reference to variable 'NUMBER'

    Your procedure might contain just  NOT TESTED !
    begin
      loop
        delete from gsm_item_info
         where expire_time < sysdate - 1
           and rownum <= p_limit;  /* never used rownum in update like this */
         delete from gsm_item_info
         where some_key in (select some_key
                              from gsm_item_info
                             where expire_time < sysdate - 1
                                and rownum <= p_limit
        if sql%rowcount = p_limit then
          commit;
        else
          rollback;
          exit;
        end if;
      end loop;
    end;
    Regards
    Etbin

  • Get Error/Resp​onse Codes from the device

    Is there a way to get the error/response codes from the device without using a try-catch and getting the ErrroeCode hidden in the exception?  I am using the C# API version 4.1

    Probably not.
    All the error/response codes or exceptions are handled under the namespave of NationalInstruments.FieldBus.ExceptionHandler.FBEx​ception which includes a lot of children for different exceptions.
    Please refer to the namespace of NationalInstruments.FieldBus.ExceptionHandler.
    Thanks
    Chris

  • Getting error message "Invalid COD" when trying to download bible software..​..

    Anyone know why I can't download youverse bible software to my bb curve 8330, getting the "Invalid COD" message?

    I had no idea where you were downloading it from, I just went off what you called it, youverse.
    Keep trying later, perhaps they are having server issues.
    YouVersion is a great application, had it loaded for a while and use it often.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I am getting error in below code  ERROR ORA-06530 Please help

    function get_master_client3(i_gid                    IN VARCHAR2
                                       , i_status IN VARCHAR2
                                       , i_legal_name               IN     VARCHAR2
                                       , i_conformed_name IN VARCHAR2
                                       , i_alias_name               IN VARCHAR2
                                       , i_former_name           IN VARCHAR2
                                       , i_address                    IN     VARCHAR2
                                       , i_city                    IN     VARCHAR2
                                       , i_postal                    IN     VARCHAR2
                                       , i_state                    IN VARCHAR2
                                       , i_country_code          IN      VARCHAR2
                                       , i_incorporation          IN     VARCHAR2
                                       , i_reg_type               IN     VARCHAR2
                                       , i_reg_code               IN     VARCHAR2
                                       , i_industry_code          IN     VARCHAR2
                                       , i_source_system          IN     VARCHAR2
                                       , i_client_type               IN     VARCHAR2
                                       , i_include_branches IN VARCHAR2 )
    return types.ref_cursor AS
    gcr_cursor types.ref_cursor;
    o_gcr_cursor types.ref_cursor;
    Type gcr_cursor_record_t is record (UICON varchar2(1000),COMPANYGID varchar2(1000),COMPANYNAME varchar2(1000),
    DOMICILE varchar2(1000), ULTIMATENAME varchar2(1000) ,ULTIMATEGID varchar2(1000) , ISO2CODE varchar2(1000), ENTITY varchar2(1000) ,
    SHORTNAME varchar2(1000));
    Type gcrtableType_t is table of gcr_cursor_record_t INDEX BY PLS_INTEGER;
    GCRTABLE_t gcrtableType_t;
    GCRTABLE gcrtableType := gcrtableType(gcr_cursor_record(null,null,null,null,null,null,null,null,null));
    -- i integer;
    begin
    gcr_cursor := GCR.get_master_client( i_gid, i_status , i_legal_name, i_conformed_name, i_alias_name, i_former_name
                                                 , i_address     , i_city, i_postal, i_state     , i_country_code, i_incorporation, i_reg_type, i_reg_code
                                                      , i_industry_code, i_source_system, i_client_type     , i_include_branches );
    fetch gcr_cursor bulk collect into GCRTABLE_t;
    for i in 1..GCRTABLE_t.COUNT LOOP
    GCRTABLE.EXTEND;
    dbms_output.put_line(GCRTABLE_t(i).UICON);
    GCRTABLE(i).UICON := 0 ;
    GCRTABLE(i).UICON := GCRTABLE_t(i).UICON;
    GCRTABLE(i).COMPANYGID := GCRTABLE_t(i).COMPANYGID; ******************************** ERROR at this LIne ORA-06530
    -- GCRTABLE(i).COMPANYNAME := GCRTABLE_t(i).COMPANYNAME;
    -- GCRTABLE(i).DOMICILE := GCRTABLE_t(i).DOMICILE;
    -- GCRTABLE(i).ULTIMATENAME := GCRTABLE_t(i).ULTIMATENAME;
    -- GCRTABLE(i).ULTIMATEGID := GCRTABLE_t(i).ULTIMATEGID;
    -- GCRTABLE(i).ISO2CODE := GCRTABLE_t(i).ISO2CODE;
    -- GCRTABLE(i).ENTITY := GCRTABLE_t(i).ENTITY;
    -- GCRTABLE(i).SHORTNAME := GCRTABLE_t(i).SHORTNAME;
    -- GCRTABLE(i) := gcrtableType(GCRTABLE_t(i).UICON,GCRTABLE_t(i).COMPANYGID,GCRTABLE_t(i).COMPANYNAME,GCRTABLE_t(i).DOMICILE,GCRTABLE_t(i).ULTIMATENAME,GCRTABLE_t(i).ULTIMATEGID,GCRTABLE_t(i).ISO2CODE,GCRTABLE_t(i).ENTITY,GCRTABLE_t(i).SHORTNAME);
    -- GCRTABLE(i) := gcrtableType(gcr_cursor_record(null,null,null,null,null,null,null,null,null));
    END LOOP;

    I'm sure you understand that "line 1236" doesn't mean much to any of us?
    For starters, I think you are missing an "END;" to it all, aren't you?
    Here is your code auto-formatted, at least:
    /* Formatted on 15.04.2009 10:38:41 (QP5 v5.114.809.3010) */
    FUNCTION get_master_client3 (i_gid                IN VARCHAR2,
                                 i_status             IN VARCHAR2,
                                 i_legal_name         IN VARCHAR2,
                                 i_conformed_name     IN VARCHAR2,
                                 i_alias_name         IN VARCHAR2,
                                 i_former_name        IN VARCHAR2,
                                 i_address            IN VARCHAR2,
                                 i_city               IN VARCHAR2,
                                 i_postal             IN VARCHAR2,
                                 i_state              IN VARCHAR2,
                                 i_country_code       IN VARCHAR2,
                                 i_incorporation      IN VARCHAR2,
                                 i_reg_type           IN VARCHAR2,
                                 i_reg_code           IN VARCHAR2,
                                 i_industry_code      IN VARCHAR2,
                                 i_source_system      IN VARCHAR2,
                                 i_client_type        IN VARCHAR2,
                                 i_include_branches   IN VARCHAR2)
       RETURN types.ref_cursor
    AS
       gcr_cursor     types.ref_cursor;
       o_gcr_cursor   types.ref_cursor;
       TYPE gcr_cursor_record_t
       IS
          RECORD (
             UICON          varchar2 (1000),
             COMPANYGID     varchar2 (1000),
             COMPANYNAME    varchar2 (1000),
             DOMICILE       varchar2 (1000),
             ULTIMATENAME   varchar2 (1000),
             ULTIMATEGID    varchar2 (1000),
             ISO2CODE       varchar2 (1000),
             ENTITY         varchar2 (1000),
             SHORTNAME      varchar2 (1000)
       TYPE gcrtableType_t
       IS
          TABLE OF gcr_cursor_record_t
             INDEX BY PLS_INTEGER;
       GCRTABLE_t     gcrtableType_t;
       GCRTABLE gcrtableType
             := gcrtableType (gcr_cursor_record (NULL,
                                                 NULL,
                                                 NULL,
                                                 NULL,
                                                 NULL,
                                                 NULL,
                                                 NULL,
                                                 NULL,
                                                 NULL)) ;
        -- i integer;
    BEGIN
       gcr_cursor :=
          GCR.get_master_client (i_gid,
                                 i_status,
                                 i_legal_name,
                                 i_conformed_name,
                                 i_alias_name,
                                 i_former_name,
                                 i_address,
                                 i_city,
                                 i_postal,
                                 i_state,
                                 i_country_code,
                                 i_incorporation,
                                 i_reg_type,
                                 i_reg_code,
                                 i_industry_code,
                                 i_source_system,
                                 i_client_type,
                                 i_include_branches);
       FETCH gcr_cursor BULK COLLECT INTO   GCRTABLE_t;
       FOR i IN 1 .. GCRTABLE_t.COUNT
       LOOP
          GCRTABLE.EXTEND;
          DBMS_OUTPUT.put_line (GCRTABLE_t (i).UICON);
          GCRTABLE (i).UICON := 0;
          GCRTABLE (i).UICON := GCRTABLE_t (i).UICON;
          GCRTABLE (i).COMPANYGID := GCRTABLE_t (i).COMPANYGID;
       -- GCRTABLE(i).COMPANYNAME := GCRTABLE_t(i).COMPANYNAME;
       -- GCRTABLE(i).DOMICILE := GCRTABLE_t(i).DOMICILE;
       -- GCRTABLE(i).ULTIMATENAME := GCRTABLE_t(i).ULTIMATENAME;
       -- GCRTABLE(i).ULTIMATEGID := GCRTABLE_t(i).ULTIMATEGID;
       -- GCRTABLE(i).ISO2CODE := GCRTABLE_t(i).ISO2CODE;
       -- GCRTABLE(i).ENTITY := GCRTABLE_t(i).ENTITY;
       -- GCRTABLE(i).SHORTNAME := GCRTABLE_t(i).SHORTNAME;
       -- GCRTABLE(i) := gcrtableType(GCRTABLE_t(i).UICON,GCRTABLE_t(i).COMPANYGID,GCRTABLE_t(i).COMPANYNAME,GCRTABLE_t(i).DOMICILE,GCRTABLE_t(i).ULTIMATENAME,GCRTABLE_t(i).ULTIMATEGID,GCRTABLE_t(i).ISO2CODE,GCRTABLE_t(i).ENTITY,GCRTABLE_t(i).SHORTNAME);
       -- GCRTABLE(i) := gcrtableType(gcr_cursor_record(null,null,null,null,null,null,null,null,null));
       END LOOP;
    END;

  • Errors in JSP file for htmlb code - CE 7.1

    Hi Experts,
    I am trying  created simple JSP dynpages application in NWDS 7.1 & CE 7.1.
    I am getting errors for HTMLB  code like:
    cannot find tag Library descriptor for tagLib
    In JSP page i wrote simple htmlb code like:
    <%@taglib uri="tagLib" prefix="htmlb"%>
    <htmlb:content id="myContext">
    <htmlb:page title="PageTitle">
    <htmlb:form id="myFormId">
    <htmlb:inputField id="inf1" type="String" width="125" visible="true"
    required="true" />
    </htmlb:form>
    </htmlb:page>
    </htmlb:content>
    {/code}
    For HTMLB libraries added 2 jar file in lib folder
    /PORTAL-INF/lib   com.sap.portal.htmlb.jar ; &   com.sapportals.htmlb.jar
    After adding set the Java build path for Library jar file also.
    In portalapp.xml -
    <?xml version="1.0"; encoding="UTF-8"?>
    <application>
      <application-config>
       <property name="startup" value="true"/>
        <property name="SharingReference" value="com.sap.portal.htmlb";/>
      </application-config>
      <components>
        <component name="Test_Jsp">
          <component-config>
            <property name="ClassName" value="com.Test_Jsp.Test_Jsp";/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/Output.jsp";/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld";/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    {/code}
    Please any one help to correct this errors............
    Regards,
    Satya

    Hi,
    You need not add com.sap.portal.htmlb.jar and com.sapportals.htmlb.jar to /PORTAL-INF/lib as the classes will be available at runtime through com.sap.portal.htmlb SharingReference. So remove the htmlb jars from /PORTAL-INF/lib.
    Correct the value of tagLib property to /SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld
    Deploy and check if this helps.
    I see alot of unnecessary semicolons in your portalapp.xml, I think you just added them inorder to be able to post them here.
    Regards,
    Praveen Gudapati

  • Error while generating code in brf+ function

    Hi all,
    i am getting error while generating code in function in bRF+
    am using weight fields ..if i dont use quantity fields am able to generate code .
    please help.
    Thanks.

    Can you provide more details? What exactly is the error?
    I think we have provided a note for the issue. With the details it should be possible to identify the note number.

  • [b]Error during JSP page processing[/b]

    hi , i'm mech.
    i have some probs with jsp. i am trying to connect jsp page with database and printing the data on the browser page. i have created DSN mm using microsoft odbc for oracle and oracle9i's driver oracle in orahome90 but it is giving yet . i have this coding and error.
    ------------------------jsp code--------------------------
    package pagecompile.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.io.FileInputStream;
    import java.io.ObjectInputStream;
    import java.util.Vector;
    import com.sun.server.http.pagecompile.jsp.runtime.*;
    import java.beans.*;
    import com.sun.server.http.pagecompile.jsp.JspException;
    import java.sql.*;
    public class _Connect extends HttpJspBase {
    static char[][] jspxhtml_data = null;
    public _Connect( ) {
    private static boolean jspxinited = false;
    public final void jspxinit() throws JspException {
    ObjectInputStream oin = null;
    int numStrings = 0;
    try {
    FileInputStream fin = new FileInputStream("E:\\JavaWebServer2.0\\tmpdir\\default\\pagecompile\\jsp\\pagecompile.jspConnect.dat");
    oin = new ObjectInputStream(fin);
    jspxhtml_data = (char[][]) oin.readObject();
    } catch (Exception ex) {
    throw new JspException("Unable to open data file");
    } finally {
    if (oin != null)
    try { oin.close(); } catch (IOException ignore) { }
    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
    throws IOException, ServletException {
    boolean jspxcleared_due_to_forward = false;
    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String _value = null;
    try {
    if (_jspx_inited == false) {
    jspxinit();
    jspxinited = true;
    _jspxFactory = JspFactory.getDefaultFactory();
    response.setContentType("text/html");
    pageContext = _jspxFactory.getPageContext(this, request, response,
                   "", true, 8192, true);
    application = pageContext.getServletContext();
    config = pageContext.getServletConfig();
    session = pageContext.getSession();
    out = pageContext.getOut();
    out.print(_jspx_html_data[0]);
    out.print(_jspx_html_data[1]);
    // begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(14,2);to=(28,2)]
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection myconn=DriverManager.getConnection("Jdbc:Odbc:mm","madhulika","madhulika");
    Statement stmt = myconn.createStatement();
    ResultSet myResultSet = stmt.executeQuery("Select * from peopletable");
    if(myResultSet != null)
         while(myResultSet.next())
              int eid=myResultSet.getInt("id");
              String fname=myResultSet.getString("firstname");
              String lname=myResultSet.getString("lastname");
              String mail=myResultSet.getString("email");
    // end
    out.print(_jspx_html_data[2]);
    // begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(30,10);to=(30,13)]
    out.print(eid);
    // end
    out.print(_jspx_html_data[3]);
    // begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(31,10);to=(31,15)]
    out.print(fname);
    // end
    out.print(_jspx_html_data[4]);
    // begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(32,10);to=(32,15)]
    out.print(lname);
    // end
    out.print(_jspx_html_data[5]);
    // begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(33,10);to=(33,14)]
    out.print(mail);
    // end
    out.print(_jspx_html_data[6]);
    // begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(37,5);to=(43,0)]
    stmt.close();
    myconn.close();
    // end
    out.print(_jspx_html_data[7]);
    } catch (Throwable t) {
    if (out.getBufferSize() != 0)
    out.clear();
    throw new JspException("Unknown exception: ", t);
    } finally {
    if (!_jspx_cleared_due_to_forward)
    out.flush();
    _jspxFactory.releasePageContext(pageContext);
    -------------------error in browser----------------------
    Error during JSP page processing
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
         at java.lang.Throwable.(Compiled Code)
         at java.lang.Exception.(Compiled Code)
         at java.sql.SQLException.(SQLException.java:43)
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(Compiled Code)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:3814)
         at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1029)
         at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:145)
         at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:165)
         at java.sql.DriverManager.getConnection(Compiled Code)
         at java.sql.DriverManager.getConnection(DriverManager.java:126)
         at pagecompile.jsp._Connect._jspService(Compiled Code)
         at com.sun.server.http.pagecompile.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.runServlet(JspServlet.java:469)
         at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspServlet.java:259)
         at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.java:97)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at com.sun.server.ServletState.callService(ServletState.java:226)
         at com.sun.server.ServletManager.callServletService(ServletManager.java:936)
         at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
         at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
         at com.sun.server.http.stages.Runner.process(Runner.java:79)
         at com.sun.server.ProcessingSupport.process(Compiled Code)
         at com.sun.server.Service.process(Service.java:204)
         at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
         at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
         at com.sun.server.HandlerThread.run(Compiled

    Backing up a moment, is there a particular reason that you're using the JDBC-ODBC bridge rather than using the Oracle JDBC driver?
    Have you taken a look at the JSP sample code available on OTN? I would start by making sure you can run that.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Getting error message while clicking on proposal button in Automatic Py.Pr

    When trying run Automatic payment program, clicking on proposal , getting error message "Company codes SAG1/SAG1 do not appear in proposal 12.05.2010 SAG1;correct"
    Please help me in resolving this error message.

    Hi Sagar,
    This may happen when the particular line items are entered in another proposal and not exequted fully.
    So system will block these line items in old app run and will not allow in new app.
    you can over come by exequting the old APP run or deleting values in previous APP run and run new APP.
    Regards
    babu.

  • Error : in  T-code SMQ2

    Hi ,
    Iam getting error in T-code SMQ2 in that status text 'Screen output without connection to user' .
    Any input to solve this would be highly greatful.
    Thanks in advance
    Shweta

    Hi poonam,
    we are giving the data in sproxy in 200,it is getting updated in table. But when we checking in SMQ2 , it showing error

  • AS2 Error: Transport status code: 403

    Dear SAP experts,
    Currently, our Trading Partner is sending messages to our server via HTTPS, AS2 connection.
    Our Trading Partner is getting error, Transport status code: 403.
    I've checked our AS2 adapter logs (SAP PI), and it says,
    Error in unkown channel: (No session available) >> Error type: LOGICAL_ERROR >> Error date: 1/14/10 7:28 AM >> Description: Inbound communication from ZZ-TRADINGPARTNER to 14-8410240001002 not allowed: com.seeburger.as2.exception.AS2PluginException: Failed to get inbound configuration from DATABASE. [1/14/10 7:28 AM]
    TRADINGPARTNER --> Sender ILN (Trading Partner)
    8410240001002 --> Receiver ILN (SAP PI - our server)
    Kindly advise where the issue resides.
    Is it from Trading Partner's configuration?
    Thanks very much!
    Gerberto

    It could be related to missing configuration at your side. Have you created the sender agreement properly? It could be problem with incorrect use of party while creation of sender agreement.
    Regards,
    Prateek

Maybe you are looking for

  • IDVD (and Toast) never complete writing lead-outs

    Hi, I've noticed occasionally that when using Toast 7 and iDVD 6 that during the writing process, the application in question persists on writing the lead-out. I understand what the correlation between lead-out and DVD playing length are. However, th

  • Cropping round corners on my icon

    This is related to helping me with a previous post. If I can complete this step I'm home and hosed. I have made an icon for a webpage and I just watched a tutorial on saving for the web. I made this icon with the rounded corner rectangle tool. I have

  • Ipad mini retina problem

    Hey guys i just bought the ipad mini retina and i got an issue ...the imovie and keynote app dont download its says downloading but its not moving theres nothing to do :(  what can i do ???

  • 3com 3c905B -- what kernel module?

    hello i try to configure my network, so my NW card is a (lspci output) : 3com Corporation 3c905B 100BaseTX [cyclone] (rev 24) now what kernel module do i have to load with modprobe? i can't find it out. i tried to search google, and found a good page

  • Cuando conecto mi iphone 5 a cualquier pc me aparece "unknown device" ¿que puedo hacer para solucionarlo?

    cuando conecto mi iphone 5 a cualquier pc me aparece "unknown device"   ¿que puedo hacer para solucionarlo?