Help me Please with the JSP Array

Hi all,
Can anyone please tell me how can i pass a String array to in JSP using HTML hidden input to the next page. I have tried but it is getting something else. Here is my code.
This is a JSP page with a HTML form. It is sending SIX (6) STRING ARRAYS.
<form action="admin.jsp" method="post">
<center>Want To Update TimeSheet?</center></br>
<input type="hidden" name="s_id" value="<%= s_id %>"/>
<input type="hidden" name="s_date" value="<%= s_date %>"/>
<input type="hidden" name="p_unit" value="<%= p_unit %>"/>
<input type="hidden" name="n_unit" value="<%= n_unit %>"/>
<input type="hidden" name="s_unit" value="<%= s_unit %>"/>
<input type="hidden" name="i_unit" value="<%= i_unit %>"/>
<center><input type="submit" value="Update"></center>
</form>and i am catching them and trying to print to check whether it is working or not.
ON THE TABLE IT IS PRINTING ONLY ONE ROW WITH DATA IN EVERY CELL THAT IS " [Ljava.lang.String;@541b02"
i have many data in those arrays but it is showing that it has only one data that 's why length 1. I don't know HOW. Here how i am catching them in the next JSP page.
admin.jsp
<HTML>
<HEAD>
<TITLE> </TITLE>
</HEAD>
<BODY>
<%
   String[] s_id = request.getParameterValues("s_id");
   String[] s_date = request.getParameterValues("s_date");
   String[] p_unit = request.getParameterValues("p_unit");
   String[] n_unit = request.getParameterValues("n_unit");
   String[] s_unit = request.getParameterValues("s_unit");
   String[] i_unit = request.getParameterValues("i_unit");
   int a=0;
   a=p_unit.length;
   for(int y=0; y<a; y++)
%>
<%= a%>
<center>
<form>
<table id ="table2">
<table width="500" border="8" cellpadding="10">
<tr>
  <td valign="middle" align="center" width="300"><input type="text" name="s_id" value="<%= s_id[y] %>" size="4"/></td>
  <td valign="middle" align="center" width="300"><input type="text" name="s_date" value="<%= s_date[y] %>" size="10"/></td>
  <td valign="middle" align="center" width="300"><input type="text" name="p_unit" value="<%= p_unit[y] %>" size="4"/></td>
  <td valign="middle" align="center" width="300"><input type="text" name="n_unit" value="<%= n_unit[y] %>" size="4"/></td>
  <td valign="middle" align="center" width="300"><input type="text" name="s_unit" value="<%= s_unit[y] %>" size="4"/></td>
  <td valign="middle" align="center" width="300"><input type="text" name="i_unit" value="<%= i_unit[y] %>" size="4"/></td>
</tr>
</tr>
</table>
</form>
</center>
<%
%>
</BODY>
</HTML>

http://forum.java.sun.com/thread.jspa?threadID=671058&tstart=0

Similar Messages

  • Help me please with the launch of the program Mail

    After updating to 10.6.4 no longer run the program Mail.
    Tell my how to run again?
    Appear: http://imglink.ru/show-image.php?id=8fa3d5f1a0ab75c2f6010a59f98af14f

    Dysh wrote:
    After updating to 10.6.4 no longer run the program Mail.
    Welcome to Apple's discussion groups.
    You seem to have an older version of Mail, which should be at 4.3. Try installing the OS X 10.6.4 "combo" updater:
    http://support.apple.com/kb/DL1048

  • Please help me out with the function code of print option in module pool

    please help me out with the function code of print option in module pool, along with CASE condition.
    regards,
    asif

    Hi
    you can use the Function module
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LP01'                       "'Printer name
        list_name              = 'TEST'
        list_text              = 'SUBMIT ... TO SAP-SPOOL'
        immediately            = ' '
        line_size              = '2000'
        no_dialog              = 'X'             "pass space to Pop screen for Print option
      IMPORTING
        out_parameters         = wa_pri_params
        valid                  = w_valid.
    "next call below things
      NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
         "and try to Print the values inside the new-page
      NEW-PAGE PRINT OFF.
    Prabhudas

  • How to access the activities created by an enduser especially when the enduser has left the organization?Please help me out with the possible solution

    How to access the activities created by an end user especially when the end user has left the organization?Please help me out with the possible solution

    Hi Ramesh,
    In the web UI we have business role IC_manger where you can search the activities based on employee responsible and you can use business transaction assignment functionality to assign those activities to any  other end user or team.
    Else you can also use Agent inbox functionality if you have configure the agent inbox for those activity.
    Hope this helps solving your query

  • Problem with the jsp printing

    Can anyone help me please with jsp i have the following problem can you help me.
    This is my console printing:
    null16-08-2006 REPLY TIME: 14:34:32
    REPLY : Hinknff
    null16-08-2006 REPLY TIME: 14:36:34
    REPLY : Hu jjdfgf
    null16-08-2006 REPLY TIME: 14:39:57
    REPLY : ffffffffffffffffff
    but this is my webpriniting:
    null16-08-2006 REPLY TIME: 14:34:32 REPLY : Hinknff null16-08-2006 REPLY TIME: 14:36:34 REPLY : Hu jjdfgf null16-08-2006 REPLY TIME: 14:39:57 REPLY : ffffffffffffffffff null16-08-2006 REPLY TIME: 14:44:58 REPLY : nnnnngf REPLY DATE:16-08-2006 REPLY TIME: 15:45:18 REPLY : Replughjfgjgf REPLY DATE:16-08-2006 REPLY TIME: 15:47:39 REPLY : Rn,kgdfg REPLY DATE:16-08-2006 REPLY TIME: 15:49:48 REPLY : Rngm,ng,df
    that is i am not getting it in web as i get in console can you please help me how can i do that.
    below is the partial code for printing in which i have used vector,strings only.
    String qu = nn2.elementAt(j)+"";
    String re = nn3.elementAt(j)+"";
    String b= qu;
    String b1 = re
    System.out.println(b1);
    String redt1 = nn4.elementAt(j)+"";
    if(redt1.equals("No Reply")){
    redt.append(redt1);
    retime.append(redt1);
    else
    String redtt=redt1.substring(8,10);
              String remonth=redt1.substring(5,7);
              String reyear=redt1.substring(0,4);
              String rehh=redt1.substring(11,13);
              String remm=redt1.substring(14,16);
              String ress=redt1.substring(17,19);
    redt.append(redtt+"-"+remonth+"-"+reyear);
    retime.append(rehh+":"+remm+":"+ress);
    } %>
    <br>
    <table>      
    <tr">
    <td>
    <b>Query Posted Date</b>
    <%out.println(qudt);%>
    <b>Query Posted Time :</b>
    <%out.println(qutime);%>
    <br>
    <b style="font-family:verdana;font-size:80%;color:green">Query :</b>
    <%out.println(b);
    %>
    </td>
    </tr>
    </table>
    <br>
    <table>
    <tr bgcolor="rgb(174,174,250)">
    <td>
    <b>Last Reply Posted Date</b>
    <%out.println(redt);%>
    <b>Last Reply Posted Time :</b>
    <%out.println(retime);%>
    <br>
    <b style="font-family:comicscans;font-size:80%;color:Red">Reply :</b>
    <%
    out.println(b1);
    int qudtsize = qudt.length();
    qudt.delete(0,qudtsize);
    int qutimesize = qutime.length();
    qutime.delete(0,qutimesize);
    int redtsize = redt.length();
    redt.delete(0,redtsize);
    int retimesize = retime.length();
    retime.delete(0,retimesize);
    %>
    <br>
    </td>
    </tr>
    </table>
    <br>
    <% }
    connection.close();
    }catch(SQLException e)
    e.printStackTrace();
    %>
    <input type="submit" value="Back" onClick="calljsp1()"/>
    </form>
    </body>
    </html>

    Hi.
    Even i am getting the similar exception. The JSP report works fine on Oracle 9iDS. But throws following exception in Oracle 9iAS. I have already tried recompiling, etc but to no avail.
    Any help in this regard is highly appreciated.
    javax.servlet.jsp.JspException: rwlib-1: REP-1247: Report contains uncompiled PL/SQL.
    javax.servlet.jsp.JspException: rwlib-1: REP-1247: Report contains uncompiled PL/SQL.
    at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
    at examples.tools._fapsreports._StudentReimbursementScheduleExcelReport._jspService(_StudentReimbursementScheduleExcelReport.java:80)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
    at java.lang.Thread.run(Thread.java:484)

  • The ELResolvers for JSF were not registered with the JSP container

    I'm trying to configure mojarra on tomcat6 (because I want to use Elastic Beanstalk). tomcat complains:
    Feb 8, 2011 10:24:17 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
    INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
    I have tried all sorts of combinations of replacing EL2.2 libs in tomcat/lib, putting the libs in WEB-INF/lib, and the context param:
    <context-param>
    <param-name>com.sun.faces.expressionFactory</param-name>
    <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
    </context-param>
    JSF pages seem to work but I'd rather have a clean startup. Please assist. Thx in advance.

    Thx for replying.
    I have jstl-1.2.jar:
         <dependency>
                   <groupId>javax.servlet</groupId>
                   <artifactId>jstl</artifactId>
                   <version>1.2</version>
    <scope>provided</scope>
              </dependency>
    Which version numbers are you referring to in *.xml? The following?
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">

  • Java Webconsole ELResolvers for JSR not registered with the JSP container

    Trying to rebuild a LDAP server running Directory Server 6.1. Just installed Solaris 10 u9 on a SunFire V240. Loaded most recent recommended patch set dated 2011.02.02. Proceeded to load Directory Server V6.0 from native packages using JAVA ES Installer. After Directory Server installation and initialization the Java Webconsole is running but brings up a blank page login page. Note: Did not test the Webconsole prior to Directory Server installation. The errors in the /var/log/webconsole/console/console_debug_log file state:
    Feb 8, 2011 10:32:32 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
    INFO: JSF1027: [console] The ELResolvers for JSF were not registered with the JSP container.
    Feb 8, 2011 10:32:34 AM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /jsp/login/BeginLogin.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@13c3b45]
    The JAVA version is: 1.6.0_22
    The cacao version is 2.2.4.1
    Kernel Patch is Generic_144488-06
    Anyone have an idea what is causing this problem for the JAVA webconsole and how to fix it?

    hi,
    it is tomcat-6.0.20, JSF-RI 2.0.2 (Mojarra)
    a whole bunch of libs and jquery4jsf (though really buggy in this manner, because all components could you rewrite for JSF2-components, etc.)
    Unfortunately it is somehow a config error, because i haven't got it earlier, since i changed PhaseListener and Authentification with JAAS (sample from Ed Burns:
    http://weblogs.java.net/blog/2006/03/07/repost-using-jaas-jsf, but with JDBC-based authentification)
    cheers,
    Istvan

  • Is it possible to create a 1 D array with the "build array VI"? when receiving random number

    Hello all,
    Is it possible to create a 1 D array with the "build array VI" when receiving random number?
    I am receiving random data and the build array VI always create a 2D array which might cause some problem if you want to compute certain type of operation after.
    Any example will be welcomed.
    Thank you,
    Israel 

    Hello Lynn and Yamaeda
    First I want to Thank you Lynn for your linguistic contribution indeed "Build Array" is a primitive and not VI, thank you for the education. In reality what I am doing is simple.
    I have two arrays of complex elements Array1 and Array2.
    Array1 conains the complex elements ""(a0+ib0) ; (a1+ib1) ;...(an+ibn) ;
    Array2 conains the complex elements ""(c0+id0) ; (c1+id1) ;...(cn+idn) 
    What I want to do is the multiplication of the first array by the  conjugate of the second array element.
    Array1*(Conjugate Array 2)" for the first element the results is "(a0.C0-b0.d0) + i(b0c0-a0d0)" and the etc...
    and then taking the square root ([(a0.C0-b0.d0) power of 2]) +  [(b0c0-a0d0) power of 2])
    I was wondering if there were some dedicate primitive that could solve the computation above which is the cross correlation in Frequency domain.
    Thank you very much.
    Israel

  • I need help quick please sold the iPod and before handing it over wanted to clear out info so pushed erase now there is only a plug icon for iTunes but it won't now recognize my computer what can I do??

    I need help quick please sold the iPod and before handing it over wanted to clear out info so pushed erase now there is only a plug icon for iTunes but it won't now recognize my computer what can I do??

    Try
    iOS: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X

  • Need help from somebody with the "MSI KT6 Delta-FIS2R" motherboard

    Hi everybody!
    I really need some help from somebody with the MSI KT6 Delta-FIS2R motherboard (the one with onboard LAN, Audio, RAID, S-ATA and IEEE1394 firewire). You see. I've got this board myself but it's been destroyd. Some values for the onboard devices in my board has been overwritten so that windows no longer recognizes the onboard LAN and Audio controller anymore. I really need some help from somebody with this board.
    I need to see what the values for the onboard devices should be. I hope someone can help me by sending me a repport from the Everest home edition: http://www.lavalys.com/products/overview.php?pid=1&lang=en
    If anyone could do me this favour, I would be VERRY thankfull

    Quote from: HYSTERIAH on 12-November-05, 06:24:20
    I really need some help from somebody with the MSI KT6 Delta-FIS2R motherboard
    HYSTERIAH,
    With 76 Replies and 277 Views on your original thread, it looks to me like people have been trying to help you.
    So there is no confusion, I am locking this thread so all your help and advice you receive will be in the same place, so people do not need to jump between threads to keep track of what has already been suggested for this mobo of yours.
    Richard

  • Please help me with the jsp page

    Hi,
    I have a parent jsp page. I have a button in that page. If I click the button in the parent page, a child page will be opened which consists of huge data. I have set an option such that if I click the jsp page it asks to open directly or save so as to edit the data in MSWORD format. The child page has a print button at the end of the page which prints all the data. But since the data is very vast I want page breaks at certain places so that when I edit the data and click print button it prints the data with page breaks at certain points. I know that in MSWORD we have page breaks. But I should not do it manually as there would be thousands and thousands of pages to be printed.
    ANY IDEA OR HELP IN THIS MATTER IS GREATLY APPRECIATED. I HAVE BEEN TRYING TO SOLVE THIS MATTER AND POSTED IN MANY SITES. BUT NOBODY RESPONDED. ATLEAST PLEASE LET ME KNOW IF THE IDEA WHICH I MENTIONED IS WORNG OR NOT.
    THANKYOU
    MOUNTAINEER

    use java report?

  • Upgrading my MPB.. Please help me decide with the graphics card

    Hi Guys
    I have got a late 2007 model MBP Santa Rosa 2.2 Ghz 2 Gb RAM and 128 Mb NVIDIA GeForce 8600M GT video card
    I am planning to upgrade my MBP. I just want to know that how is the performance of NVIDIA GeForce 9400M integrated graphics processor 256 Mb compared to my dedicated one. I do normal photo and video editing and DONT play any games at all.. I sometimes feel that my this MBP is a bit laggy when I use photoshop or something.
    If the integrated one that is standard on MBP's is quite good to what I generally do (which I have mentioned above), then I wont look into getting the one with dedicated Graphics as I need to save money.
    I have tried looking on the internet but I cant find anyone who can give direct comparison between these two in MBP
    Please suggest!!!
    Thanks heaps!

    Hey Singh,
    If you're looking for completely anecdotal evidence, I can help with that. I recently purchased the 2.8 GHz 17" MacBook Pro with the dual 9400M (256MB shared/9600GT (512MB dedicated) graphics cards. I user Photoshop and iPhoto a lot, a little iMovie and some Final Cut Pro. I also do quite a bit of video encoding, DVD rips and conversions to iPhone format. I prefer my PS3 for gaming and never do so on the Mac.
    What I have noticed is that I can really tell the difference in graphics performance when encoding video and not much any other time. A slight exception is with hardcore Photoshop filters. For those two things I'm glad I can switch to the dedicated 512 card especially when time is a concern. It's also really nice to be able to choose between horsepower and battery life if necessary.
    All that being said, if I was getting a 15" MBP I would forgo the extra graphics card and spend the money on more RAM which seems to make a bigger difference in what I do. The 17" did not have an option like that so I have the dual card and a lot of screen real estate. That reminds me, I use the additional 24" LED Cinema display and do not notice any difference when running the extra monitor.
    My girlfriend owns the 13" MacBook Pro with the 256MB integrated graphics and iMovie and Photoshop run very nicely and are vastly improved in comparison to her old white MacBook. I have owned the 2007 model MBP Santa Rosa 2.2 Ghz and the new 13" 2.2 6GHz MBP is noticeably quicker in all respects.
    In conclusion I would say that the dedicated graphics card is a must for anything in Final Cut Studio (Motion, FCP, DVD Studio Pro) or anything 3D, but for typical Photoshop use, iMovie, etc. you'd be better off with more RAM if you had to choose. If you don't have to pick between the two, get the 512MB card with 8GB of RAM and sleep tight knowing that if your Mac is too slow there's nothing you can do about it hardware wise and you're just too quick
    If you're looking for benchmark tests, this article is good http://www.macworld.com/article/141144/2009/06/macbookprobenchmarks.html
    Hope that helps!

  • Help please with the HP B109 Photosmart Printer

    Hello,
    I've just bought a new iMac and with it I bought the HP B109 printer, on the understanding that it was wireless. I have a BT-Homehup which I use to connect to the wi-fi.
    I have installed the software using the CD and set up the printer, however my problem comes when I try and print wirelessly.
    The only way I can seem to be able to make it work is if I am connected to the computer via USB cable. I've read through some of the topics on here but none seem to be helping me specifically with what I need.
    What do I need to make this printer print wirelessly?
    Thanks!
    Billy

    There are a couple of problems that I see.  First, if you used the software on the CD, its not for 10.6, its for 10.5 and older only.
    Let's uninstall it in this manner:
    Go to Applications/Hewlett Packard/ click on HP Uninstaller
    Click on Continue
    Highlight your device on the left pane
    Hold the Ctrl, Opt and Cmd keys and click on Uninstall
    There will be a pop up that asks if you are sure you want to uninstall ALL hp software. (At this point, if you continue, any HP printers you have installed will need to be reinstalled)
    Click Continue and let it finish
    Now, run a Software Update.
    Next, your router may be getting in the way, here.  Let's re-install the printer in this way:
    - Unplug the telephone line from the router
    - Turn the power off on the router, wait 30 seconds, then turn the power back on.
    - Select the printer in question and click the minus sign at the bottom of the list
    - Select the plus sign to re-add it. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
    - Install the printer with this software for 10.6
    - On that screen you will find a Networking Tab, then on the left Wireless, then the IPv4 Tab.
    - On this screen you want to set a Manual IP. You need to set an IP address outside the range that the router automatically sets (called the DHCP range). If you know what that is, set an IP outside that range but no higher than 254 (the last number in the address).  NEED HELP HERE?
    - Use 255.255.255.0 for the subnet (unless you know it is different, if so, use that)
    - Leave the gateway and DNS blank
    - Finally, plug in the phone line, reboot the router and test.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • What's wrong with the JSP files?? Urgent Help Request

    I have run some JSP files using Apache Tomcat 4.0 but I see many similar error message for the JSP files when running on the IE. I don't whether I should install some other software or components or just program errors in the JSP files.
    The error messages are as follows:
    javax.servlet.ServletException: oracle/xml/parser/v2/XMLParseException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
         at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:154)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         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:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
         at EntityBase.(EntityBase.java:18)
         at QuizGen.(QuizGen.java:16)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:296)
         at java.lang.Class.newInstance(Class.java:249)
         at java.beans.Beans.instantiate(Beans.java:204)
         at java.beans.Beans.instantiate(Beans.java:48)
         at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:122)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         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:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    And the reference JSP file is:
    <%@page language="java" import="java.io.*, java.sql.*, DBSession, QuizGen"%>
    <jsp:useBean id="sess" scope="session" class="DBSession"/>
    <jsp:useBean id="quizGen" scope="session" class="QuizGen"/>
    <%@include file="common.jsp"%>
    <%
    quizGen.setSession(sess);
    quizGen.build();
    quizGen.print(new PrintWriter(out), this.getURLPath(request, "edit_quiz_list.xsl"));
    %>
    another JSP file:
    <%@page language="java" import="java.io.*, java.sql.*, eQuizMetadata"%>
    <jsp:useBean id="eQuiz" scope="session" class="eQuizMetadata"/>
    <%@include file="common.jsp"%>
    <%
    Integer nextQues = (Integer) session.getAttribute("eQuiz_nextQues");
    session.setAttribute("eQuiz_nextQues", new Integer(nextQues.intValue()+1));
    if (nextQues.intValue() > 0) {
    if (request.getParameter("QueType").equals("F")) {
    eQuiz.checkAnswer(request.getParameter("answer"));
    else{
    if (request.getParameter("QueType").equals("H")) {
    eQuiz.checkAnswer(request.getParameter("map"));
    else{
    if(request.getParameter("QueType").equals("A")) {
    String sAns = "";
         if (request.getParameter("MAT1") != null) sAns += request.getParameter("MAT1");
         if (request.getParameter("MAT2") != null) sAns += request.getParameter("MAT2");
         if (request.getParameter("MAT3") != null) sAns += request.getParameter("MAT3");
         if (request.getParameter("MAT4") != null) sAns += request.getParameter("MAT4");
         eQuiz.checkAnswer(sAns);
         else{
              if (request.getParameter("Cardinality").equals("S"))
              eQuiz.checkAnswer(request.getParameter("MC"));
              else {
              String sAns = "";
              if (request.getParameter("MR1") != null) sAns += request.getParameter("MR1");
              if (request.getParameter("MR2") != null) sAns += request.getParameter("MR2");
              if (request.getParameter("MR3") != null) sAns += request.getParameter("MR3");
              eQuiz.checkAnswer(sAns);
    eQuiz.calAbility();
    // meet one of the stopping criteria?
    if (eQuiz.checkStopQuiz()) {
    %>
    <jsp:forward page="eQuiz_result.jsp"/>
    <%
    %>
    <html>
    <head>
    <title>QuizML Management System</title>
    </head>
    <frameset border="0" rows="30,*">
    <frame src="eQuiz_head.jsp" name="head" noresize scrolling="no">
    <frame src="eQuiz_detail.jsp" name="detail" scrolling="auto">
    </frameset>
    </html>

    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseExceptionYou simply don't have the "oracle.xml.parser.v2.XMLParseException" class in your classpath at run-time.

  • What's wrong with the JSP file??Urgent Help Request

    I have run some JSP files using Apache Tomcat 4.0 but I see many similar error message for the JSP files when running on the IE. I don't whether I should install some other software or components or just program errors in the JSP files.
    The error messages are as follows:
    javax.servlet.ServletException: oracle/xml/parser/v2/XMLParseException
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
    at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:154)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    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:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
    at EntityBase.(EntityBase.java:18)
    at QuizGen.(QuizGen.java:16)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:296)
    at java.lang.Class.newInstance(Class.java:249)
    at java.beans.Beans.instantiate(Beans.java:204)
    at java.beans.Beans.instantiate(Beans.java:48)
    at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:122)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    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:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:536)
    And the reference JSP file is:
    <%@page language="java" import="java.io.*, java.sql.*, DBSession, QuizGen"%>
    <jsp:useBean id="sess" scope="session" class="DBSession"/>
    <jsp:useBean id="quizGen" scope="session" class="QuizGen"/>
    <%@include file="common.jsp"%>
    <%
    quizGen.setSession(sess);
    quizGen.build();
    quizGen.print(new PrintWriter(out), this.getURLPath(request, "edit_quiz_list.xsl"));
    %>
    another JSP file:
    <%@page language="java" import="java.io.*, java.sql.*, eQuizMetadata"%>
    <jsp:useBean id="eQuiz" scope="session" class="eQuizMetadata"/>
    <%@include file="common.jsp"%>
    <%
    Integer nextQues = (Integer) session.getAttribute("eQuiz_nextQues");
    session.setAttribute("eQuiz_nextQues", new Integer(nextQues.intValue()+1));
    if (nextQues.intValue() > 0) {
    if (request.getParameter("QueType").equals("F")) {
    eQuiz.checkAnswer(request.getParameter("answer"));
    else{
    if (request.getParameter("QueType").equals("H")) {
    eQuiz.checkAnswer(request.getParameter("map"));
    else{
    if(request.getParameter("QueType").equals("A")) {
    String sAns = "";
    if (request.getParameter("MAT1") != null) sAns += request.getParameter("MAT1");
    if (request.getParameter("MAT2") != null) sAns += request.getParameter("MAT2");
    if (request.getParameter("MAT3") != null) sAns += request.getParameter("MAT3");
    if (request.getParameter("MAT4") != null) sAns += request.getParameter("MAT4");
    eQuiz.checkAnswer(sAns);
    else{
    if (request.getParameter("Cardinality").equals("S"))
    eQuiz.checkAnswer(request.getParameter("MC"));
    else {
    String sAns = "";
    if (request.getParameter("MR1") != null) sAns += request.getParameter("MR1");
    if (request.getParameter("MR2") != null) sAns += request.getParameter("MR2");
    if (request.getParameter("MR3") != null) sAns += request.getParameter("MR3");
    eQuiz.checkAnswer(sAns);
    eQuiz.calAbility();
    // meet one of the stopping criteria?
    if (eQuiz.checkStopQuiz()) {
    %>
    <jsp:forward page="eQuiz_result.jsp"/>
    <%
    %>
    <html>
    <head>
    <title>QuizML Management System</title>
    </head>
    <frameset border="0" rows="30,*">
    <frame src="eQuiz_head.jsp" name="head" noresize scrolling="no">
    <frame src="eQuiz_detail.jsp" name="detail" scrolling="auto">
    </frameset>
    </html>

    Your JSP refers to the class:
    oracle/xml/parser/v2/XMLParseException
    ...which isn't in your webapps class path... you need to find the jar that contains the parser and drop it into WEB-INF/lib for your app, or the Tomcat lib directory.

Maybe you are looking for

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable? I want to change the font color for only a couple of rows inside a JTable. I've seen some ways to possibly do this with an individual cell. Clarification on changing the font co

  • 1)some setting missing in BI Integration to EP 2)publish the BI role to EP?

    Hi All, 1) We almost done BI EP integration, getting error in step: Maintain User Assignment in Portal. - what are settings in BI connection in EP? we are using SAP Logon Tickit method(not Uid Passs method), is there any user with user name and passw

  • How do I sequence pictures in slideshow or movie

    how do I sequence pictures in slideshow or movie 1. I tried to drag in thumbnail pictures but can't get the page to move where I want to place the pic 2. Tried to move pictures in movie project, but they are so small on the bottom and seem to come up

  • TAB BUTTON randomly not working properly?

    I haven't been messing with my preferences or anything...my tab button will not allow me to tab any thing. It just keeps skipping lines. What do I do?! (Iwork '08)

  • Task Assignment Notes in Reporting Database

    Hi, I am working on a requirement to display task Assignment level comments (entered by Task Assignees in My Tasks screen) in a Report from Reporting Database. I would like to know the tables from where this information can be queried. Please note th