What  kind of classes I can use with JSP in tomcat? Please Help

Hi people, I tried use the classes that I did for others application and it throw this exception :
"org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
D:\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\matriculaOnLine\valide_jsp.java:14: cannot access matriculaOnLine.Connect
bad class file: D:\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\matriculaOnLine\Connect.class
class file contains wrong class: Conexao
Please remove or make sure it appears in the correct subdirectory of the classpath.
private Connect conn = new Connect(driver,url,login,password);
^
1 error"
I used the Connect class with java apps and it work but with JSP on TomCat4.1.27
Can someone help me, please?
Tiago - [email protected]

Hi Tiago,
I have some problems in my mind.
Which databse you are using? and Which database driver you are using for connecting database?
Also can you please give a code snapet that you written for connecting databse?
----------Milind

Similar Messages

  • What kind of log I can get with "level informational" - c2950 & 6500

    Hello, everybody, It is nice to meet you. I am working in Tokyo in japan as network engineer.
    It is my first time to write something on here Cisco Support Community and I don't speak English very well.
    So I hope everyone understand my pour question and writing. But I wish somebody anwser to this question.
    I am using kiwi sever to manage four of 6500 and about thirty of c2950.
    The kiwi server is working normally logging both 6500's syslog and c2950's.
    But I have question about difference between 6500's level informational and c2950's.
    For example, When I log in 6500 I can get a log from my kiwi server.
    And When I enter some command to change config I can also get a log from my kiwi server.
    However When it come to c2950 I can't get the logs. I can only get logs that notice 'interface up/down' or 'changed config' stuff like that.
    I think I have correct config about logging both 6500 and c2950 as follow.
    Trap logging: level informational, OOOOO message lines logged
            Logging to XX.XX.XX.XX, OOOOO message lines logged, xml disabled,
                   filtering disabled
    Anybody know what kind of log I can get with "level informational" on c2950.
    Thanks everybody.

    Information is a fairly low severity which means you'll get everything except debugging messages.  This includes link up/down, config change,
    CPU hog, etc.  If you're not seeing messages other than link up/down and config change, then there may not be anything else happening on the switch which triggers a log message.  Check the output of "show log".  That should agree with your syslog logs.

  • I am unable to download my PDF. It is asking for my adobe livecycle rights management credentials. I have no clue what that is. I am using a PC windows7. Please help me.

    I am unable to download my PDF. It is asking for my adobe livecycle rights management credentials. I have no clue what that is. I am using a PC windows7. Please help me.

    Downloading from where?  How exactly are you downloading?
    Can you post a screenshot of that message: https://forums.adobe.com/thread/1070933

  • What kind of RAM do you use with your K7D Master-L? (esp. unbuff)

    I was windering what kind of RAM people sue with their K7D Master-L mobos.  I recently got one with a 512 stick of Mushkiin Level 2 CAS222 RAM however I'm having boot problem. I'm going to test registered RAM soon to see if that is the problem.
    Have people had success with unbuffered RAM? I really want to use Mushkin or Corsair XMS RAM for their high performance and overclockability, but if I can't oh well
    -Matt

    Use registered. I have used kingston and infineon working fine ( besides some funny things at some point)
    Senior people will tell you there isn't any choice...

  • What kind of T1 service to use with a T1 IMA card?

    If I have two routers geographically separated, and each router has a 4 port T1 IMA ATM module, what kind of T1 service do I need to order?
    Let's say I want 3Mbps bandwidth. So, I have to order 2 access T1's at each location. Now, do these T1's have to be leased lines? Can they be frame-relay? Can I connect the IMA card to a provider's ATM network??
    Also, will a multiport IMA ATM card support just one T1, or does it have to be at least two??

    The IMA cards are specifically for
    ATM network connectivity;
    http://www.cisco.com/univercd/cc/td/doc/pcat/mut1e1p1.htm#xtocid1
    You can use any number of the 4 ports
    that you wish.

  • What kind of certificate I can use?

    Hi,
    Currently I´m trying to create a certificate for to use in WSA. I have the options I attached.
    Does anyone could tell me which type of certificate should be created for upload to the WSA?
    Thanks and regards,
    Jaime.

    Hello Jaime,
    The WSA uses Root Certificate only.
    Please see thiskb article http://tinyurl.com/67ejzo
    So the screen you are on, in Microsoft CA is not the certificate you use  on the WSA.
    You use the CA Cert, which is the root certificate.
    I hope this clarifies it for you.
    Regards,
    Eric

  • What Is The Best Setting To Use To Import Music?Please Help.

    Hi, All
    I have got an 80GB Apple Video iPod And I am still trying to figure out how to work it as I am new to using iPods.
    What is the best setting to use to import CD Music and Music from the Internet to iTunes?? as I would like to listen to the highest quality there is on iTunes and my 80GB Apple Video iPod.
    The settings are: ACC Encoder, AIFF Encoder, Apple Lossless Encoder, MP3 Encoder, WAV Encoder. If you have not got them to hand.
    Many Thanks For Reading This And Replying To It, Much Appreciated!!
    I Hope You All Have a VERY Merry New Year!!
    Kind Regards, Rocky Robin

    There really is no BEST setting. The "best" setting is the one that sounds the best to you.
    Having said that, you also asked what setting provides the highest quality audio. In that case, you need to use a lossless format, such as AIFF, WAV, or Apple Lossless. MP3 and AAC are both compressed formats, and will not provide as good of an audio quality as a lossless format.
    My personal preference would be Apple Lossless, but any of the lossless formats will produce an almost identical quality to the CD track.
    Keep in mind, the files will be quite large.

  • Can't decode JSP Server Error Please help!

    Hi,
    I wrote this code and I get this huge server error when I run it and I can't for the life of me figure out what's wrong, can someone please help me debug my jsp or explain to me what any of those errors mean?
    Here is the error message:
    type Exception report
    message
    description
    The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NullPointerException
         at org.apache.jsp.Pdb_Add_jsp._jspService(Pdb_Add_jsp.java:530)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/4.1.24
    Here is the code: Pdb_Add.jsp
    <%@ include file="authenticate.jsp" %>
    <%@ page import="java.sql.*" %>
    <%
    String connectionURL = "jdbc:mysql://localhost:3306/xxxxx?user=****&password=***";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    %>
    <html>
    <head>
    <title>Project Portal Confirm New Project</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="style.css" rel="stylesheet" type="text/css">
    <link type="text/css" rel="stylesheet" href="xtree.css">
    <script src="xtree.js"></script>
    </head>
    <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
    <table bgcolor="#ffffff" width="761" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="337" valign="top">
         <table width="761" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="11" valign="top"><IMG height=1 src="images/spacer.gif" width=1></td></tr>
          <tr>
            <td height="291" valign="top">
              <table width="761" border="0" cellspacing="0" cellpadding="0">
                   <tr>
                        <td width="10"><IMG height=1 src="images/spacer.gif" width=1></td>
                        <td width="399" valign="top">
                        <table width="399" border="0" cellspacing="0" cellpadding="0">
                        <TBODY>
                             <tr><!--IMAGE SQUARE ONE: TOP -->
                                  <td height="300" background="images/BB7250.jpg"><IMG height=1 src="images/spacer.gif" width="100%"></td>
                             </tr>
                             <tr>
                                  <td height="0" valign="top">
                                       <table width="300" height="200" border="0" cellpadding="0" cellspacing="0">
                                       </tr>
                                       </table>
                                  </td>
                             </tr>
                        <tr></tr>
         </table>
         </td>
                      <td width="340" valign="top">
                        <table width="340" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                      <td height="91" valign="top">
                          <table width="340" height="88" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="3"><IMG height=1 src="images/spacer.gif" width=1></td>
                            <td width="167" valign="top" background="images/S1.gif">
                                       <table width="167" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                 <td width="80"> </td>
                                                 <td width="86" valign="top" class="text2" style="PADDING-TOP: 24px"></td>
                                            </tr>
                                       </table>
                                  </td>
                                  <td width="3"><IMG height=1 src="images/spacer.gif" width=1></td>
                            <td width="167" valign="top" background="images/V.gif">
                                       <table width="167" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                 <td width="70"> </td>
                                                 <td width="95" valign="top" class="text2" style="PADDING-TOP: 23px"></td>
                                            </tr>
                                       </table>
                                  </td>
                          </tr>
                     </table>
                         </td>
                   </tr>
                      <tr>
                      <td height="88" valign="top">
                          <table width="340" height="88" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="3"><IMG height=50 src="images/spacer.gif" width=1></td>
                            <td width="77" valign="top" background="images/and.gif">
                                       <table width="167" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                             <td width="80"> </td>
                                              <td width="86" valign="top" class="text2" style="PADDING-TOP: 21px"></td>
                                            </tr>
                                       </table>
                                  </td>
                                  <td width="3"><IMG height=1 src="images/spacer.gif" width=1></td>
                            <td width="167" valign="top" background="images/V.gif">
                                       <table width="167" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                            <td width="77"> </td>
                                            <td width="90" valign="top" class="text2" style="PADDING-TOP: 21px"></td>
                                            </tr>
                                       </table>
                                  </td>
                         </tr>
                      </table>
                          </td>
                   </tr>
                      <tr>
                      <td valign="top" style="PADDING-LEFT: 4px">
                          <table width="336" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="300" height="4" valign="top" background="images/spacer.gif">
                                 </td>
                          </tr>
                               <tr>
                            <td width="300" height="116" valign="top" background="images/portalspiral.jpg">
                                 </td>
                          </tr>
                      </table>
                          </td>
                   </tr>
                </table></td>
                <td><IMG height=1 src="images/spac" width=1></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td valign="top">
              <table width="761" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10" valign="top"> </td>
                <td width="517" valign="top">
                   <table width="517" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td valign="top">
                        <table width="517" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="3" bgcolor="#000000">
                             <IMG height=1 src="images/spacer.gif" width=1></td>
                      </tr>
                      <tr>
                        <td valign="top">
                             <table width="250" border="0" cellspacing="0" cellpadding="1">
                            <tr>
                              <td width="75" valign="top">
                                       <A href="PIndex.html"><IMG height=31 src="images/but2.gif" width=99 border=0></A></td>
                              <td width="80" valign="top" style="PADDING-RIGHT: 1px">
                                       <A href="ProjectPortal_Add.html"><IMG height=31 src="images/but3.gif" width=104 border=0></A></td>
                              <td width="100" valign="top" style="PADDING-RIGHT: 6px">
                                       <A href="index-2.html"><IMG height=31 src="images/but4.gif" width=104 border=0></A></td>
                              <td width="100" valign="top">
                                       <A href="PDir.html"><IMG id=IMG1 height=31 src="images/but5.gif" width=134 border=0 ></A></td>
                              <td width="75" valign="top">
                                       <A href="index-4.html"><IMG height=31 src="images/but6.gif" width=99 border=0></A></td>
                            </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="1" bgcolor="#e3e3e3">
                        <IMG height=1 src="images/spacer.gif" width=1></td>
                  </tr>
                </table></td>
                <td width="150" valign="top">
                   <table width="150" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="3" bgcolor="#000000"><IMG height=1 src="images/spacer.gif" width=1></td>
                  </tr>
                  <tr>
                    <td height="1"><IMG height=1 src="images/spacer.gif" width=1></td>
                  </tr>
                  <tr>
                    <td height="31" valign="top">
                        <table width="150" height="31" border="0" cellpadding="0" cellspacing="0" background="images/spacer.gif" bgcolor="#ffffff">
                      <tr>
                        <td width="80" valign="top" style="PADDING-TOP: 7px"><IMG height=25 src="images/spacer.gif" width=56></td>
                        <td width="100" valign="top" style="PADDING-RIGHT: 4px; PADDING-TOP: 8px"
                               ><input name="textfield" class="form" ></td>
                        <td valign="top" style="PADDING-TOP: 5px">
                             <A href="#"><IMG height=21 src="images/minis.gif" width=20 border=0></A></td>
                      </tr>
                    </table></td>
                  </tr><tr>
                       <td height="1" bgcolor="#e3e3e3"><IMG height=1 src="images/spacer.gif" width=1></td>
                      </tr>
                </table></td>
                <td><IMG height=1 src="images/spacer.gif" width=1></td>
              </tr>
            </table></td>
          </tr>
        </table></TD></TR>
      <tr>
        <td height="362" valign="top">
         <table width="761" height="362" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="218" valign="top">
              <table width="218" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="12" valign="top">
                    <IMG height=1 src="images/spacer.gif" width=1></td>
                <td width="218" valign="top">
              <table width="218" border="0" cellspacing="0" cellpadding="0" style="WIDTH: 218px; HEIGHT: 472px">
              <tr>
                <td width="12" valign="top"><IMG height=1 src="images/spacer.gif" width=1></td>
                <td width="205" valign="top">
                <IMG alt="" src="file://C:\Documents and Settings\atavakkolie\Desktop\Project Portal\images\PDir.gif"
                      id=IMG1
                     >
                      <DIV id=DIV1
                      style="PADDING-RIGHT: 5px; PADDING-LEFT: 15px; LEFT: 5px; PADDING-BOTTOM: 5px; OVERFLOW: auto; WIDTH: 200px; PADDING-TOP: 0px; POSITION: relative; TOP: 10px; HEIGHT: 100%"><!-- js file containing the tree content, edit this file to alter the menu,
                        the menu will be inserted where this tag is located in the document -->
                      <SCRIPT src="tree.js"></SCRIPT>
                      </DIV></td>
                     <td>
                        </td>
              </tr>
            </table></td>
              </tr>
            </table></td>
            <td width="1" valign="top"><table width="1" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="2"><IMG height=1 src="images/spacer.gif" width=1></td>
              </tr>
              <tr>
                <td height="920" bgcolor="#e3e3e3"><IMG height=1 src="images/spacer.gif" width=1></td>
              </tr>
              <tr>
                <td height="2"><IMG height=1 src="images/spacer.gif" width=1></td>
              </tr>
            </table></td>
            <td width="542" valign="top">
              <table width="542" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="530" valign="top">
                   <table width="530" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td valign="top">
                        <table width="530" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="41" valign="top" style="PADDING-TOP: 6px"><IMG id=IMG1
                                  style="LEFT: 409px; TOP: 552px" height
                                  =44 src="images/Addp.gif" width=207></td>
                      </tr><!-- Form starts here-->
                      <tr>
                        <td valign="top"
                                >
                             <table width="530" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="text" style="PADDING-LEFT: 18px">
                                      <!-- ***** START EDITABLE REGION  -->
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    connection = DriverManager.getConnection(connectionURL, "", "");
    statement = connection.createStatement();
    String name = request.getParameter("name");
    String email = request.getParameter("email");
    String pname = request.getParameter("pname");
    String pmanager = request.getParameter("pmanager");
    String svvpp = request.getParameter("svvpp");
    String pdphase = request.getParameter("pdphase");
    String pdptarget = request.getParameter("pdptarget");
    String etimecode = request.getParameter("etimecode");
    if( request.getParameter("name").equals("") || request.getParameter("email").equals("") || request.getParameter("pname").equals("")
    || request.getParameter("pmanager").equals("") || request.getParameter("svvpp").equals("") || request.getParameter("pdphase").equals("")
    || request.getParameter("pdptarget").equals("") || request.getParameter("etimecode").equals(""))
    out.println("<b>ERROR:</b> All fields were not filled out. Please go back and try again.");
    else
    try
      int retval = statement.executeUpdate("INSERT INTO project VALUES('" + name + "," + email + "," + pmanager + "," +  svvpp + "," + pname + "," + pdphase + "," + pdptarget + "," + etimecode + "')");
      out.println("<b>SUCCESS:</b> Your changes have been successfully written to the database.");
      session.putValue("entry", "<b>" + pname + " (Add Project)</b>: added user with email: " + email + ", pmanager: " + pmanager + ", svvpp: " + svvpp + ", pdphase: " + pdphase + ", pdptarget: " + pdptarget + ", etimecode: " + etimecode);
      %>
      <jsp:include page="log.jsp" />
      </jsp:include>
      <%
      catch (SQLException e)
       if (e.getErrorCode() == 1062)
       { out.println("<p><b>ERROR:</b> There is something wrong. Please go back and try again.</p>");
       else
        out.println("<p><b>ERROR:</b> Unexpected error <b>" + e.getErrorCode() + "</b> occurred.</p>");
        out.println("<p>" + e + "</p>");
    %>
                        </td>
                         </tr>
                        </table>
                            </td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
                <td width="12"> </td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="71" valign="top"><table width="761" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table width="761" height="25" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="13">
                   <IMG height=1 src="images/spacer.gif" width=1></td>
                <td width="738" align="middle" background="images/back_4.gif" bgcolor="#808080" class="links">
                   <A class=links href="index.html"><strong> Home page</strong></A> 
                   |  <A class=links href="index-1.html"><strong>About us</strong></A> 
                   |  <A class=links href="index-2.html"><strong>Search</strong></A> 
                   | <A class=links href="index-3.html"><strong> Contact</strong></A> 
                   |  <A class=links href="#"><strong>SV&V Links</strong></A> 
                   |  <A class=links href="index-4.html"><strong>Help</strong></A> 
                   |  <A class=links href="#"><strong>Site map</strong></A> 
                   |  <A class=links href="#"><strong>Links</strong></A></td>
                <td width="10">
                   <IMG height=1 src="images/spacer.gif" width=1></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="18" valign="top"><IMG height=1 src="images/spacer.gif" width=1></td>
          </tr>
          <tr>
            <td align="middle" valign="top" class="copy">
              <A class=copy style="TEXT-DECORATION: none" href="index-5.html" >Copyright 2004-2005 � SV&V Project Portal. All rights reserved.</A></td>
          </tr>
        </table></td>
      </tr></TBODY></TABLE></TABLE>
    </body>
    <script>
    function addNode() {
         if (tree.getSelected()) {
              tree.getSelected().add(new WebFXTreeItem('New'));
    function addNodes() {
         if (tree.getSelected()) {
              var foo = tree.getSelected().add(new WebFXTreeItem('New'));
              var bar = foo.add(new WebFXTreeItem('Sub 1'));
    function delNode() {
         if (tree.getSelected()) {
              tree.getSelected().remove();
    </script>
    </html>

    request.getParameter("name").equals("")You are using this in your 'if' statement. But if a parameter by the name "name" is not found, it would return a null reference and calling equals() would call a NullPointerException.
    I observed that you are already assigning those parameters to Strings. You should add null checking for each of them. :)

  • What kind of card should I use with my DAQ setup?

    We are using the e-series multifunction DAQ PCI-MIO-16XE-10 and are looking for a good DAQcard to go with it. We are wondering if there is a DAQcard with 16 bit analog output and higher than 20 kS/s.

    National Instruments currently doesn't have a 16-bit analog output PCMCIA card. There is a 16-bit analog input card, however. For those customers interested, I am referring to the DAQCard-AI-16XE-50.
    If speed is critical, you might still consider the 12-bit DAQCard-6062E. It has a single-channel analog output rate of 850 kS/sec.

  • Importing Flex project into Flash CS5 for use with iPhone packager? Please Help.

    Hi all,
    I have been developing an application in Flex builder for the iPhone using the iPhone packager, where I've been using the Flex framework.
    Now I'm stuck at trying to use my existing libraries in Flash. It seems I can't add the UI components I used in Flex (class VideoExample) to the default Flash container. I need someone's help who has experience with that.
    I have created a .SWC file, but when I'm trying to add the container in Flash using addChild(new VideoExample) it doesn't work. I can't load the .SWF externally using loader.load() at runtime, because the application is for iPhone. Any solutions how could I import the project to Flash?
    I was thinking about changing the UI components classes from mx.* to fl.*, but I would have to change many code and I'm not sure if it would even work, and I don't want to loose compatibility with mxml.
    Please respond, help would be very much appreciated!
    Here's my mxml wrapper, from which I start the main application:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="EntryPoint.main()">
    </mx:Application>
    Then I have a class which creates the main container:
    package {
    import mx.core.*;
    public class EntryPoint {
        public static function main():void {
            var client:VideoExample = new VideoExample();
            var mxmlApp:Application = Application(Application.application);
            mxmlApp.addChild(client);
    Here is the main class VideoExample:
    package {
    import mx.controls.*;
    import mx.containers.*;
    public class VideoExample extends Canvas {
        public function VideoExample() {
            super();
            init();
            private function init():void {
            loadImage();
            loadText();
                    loadDisplay();
                    startConnection();

    This forum is for Flash Media Server Developers so most likely you migth get much traction here. I would recommend you to post your query on Flash Builder forum: http://forums.adobe.com/community/flash_builder/using_flash_builder
    Also you can try posting here:
    Flash Platform Services For Promotion - http://forums.adobe.com/community/promotion
    Flash : http://forums.adobe.com/community/flash/flash_general

  • How to create Protein or Chemical structures in .pdb or .mol format for use with iBooks Author. Please help.

    Dear Community,
           There are a large variety of software packages used by Chemists and Biologists to view and manipulate Protein and Chemical structures in 3D. They typically have formats such as .pdb, or .mol. I have looked around and none of the software packages that I currently use allow me to export to the COLLADA (.dae) format.
            Does anyone have any idea where to begin to allow me to do this. I would like to try and put in some of the 3D objects into the iBook Author program.
    Thank you. Chase

    I believe that Apple should have provided an easily way to get Pymol images into iBooks Author as VRML has been the de facto standard.  After a number of days, I have a method which works, but this much effort should not be necessary.  Anyway here it is.
    1)  Set the viewport in Pymol to 512,384 to do this in the command window type
    viewport 512,384
    Note, I'm not totally sure you need to do this.
    2) Draw you image in Pymol and output the image in VRML format, to do that
    File -> Save Image As -> VRML 2 ...
    I'll assume that you have given the file the name "pymol_output", you actual get pymol_output.wrl
    3) In a terminal window go to the folder where the above file is located and issue the following command.  This removes some stuff that messes up the lightening
    sed '9,15d' pymol_output.wrl > bender_in.wrl
    4) Next you need blender.  You can download it from
    http://www.blender.org/download/get-blender/
    5)  Open Blender.  In the upper right corner in the Scene section
    right click on Lamp and delete it
    right click on Cube and delete it
    right click on Camera and delete it
    Save this file so you don't have to do this every time.  I called mine empty_blender_file.blend
    6) Either open empty_blender_file.blend or continue from #5 and read in the file from #3
    File -> import->X3D Extensible 3D (.x3d/.wrl)
    this reads in the file
    7) Write out the file in collada .dae format
    File->export->collada (.dae)
    Done.  This file will read into iBooks Author and have somewhat uniform lighting.  By the way, .dae files can be opened an checked in Preview.  Its easier than going back and forth into the iPad, since you can rotate the image in Preview.
    Hope this helps, let me know if it works for you and if you have any suggestions.
    Finally someone needs to write a one step VRML and X3D to collada converter that will work with PyMol and Chimera etc.
    Have fun!

  • What kind of KVM switch can I use to monitor sun rack with 490s, 245s, and

    Hi,
    What kind of KVM switch can I use to monitor sun rack with 490s, 245s, and T2000s ?
    Ushas Symon

    It sounds like the customer and server room operator are using a Microsoft/X86 mindset. There are several selling points on using RSCs & SCs. First off are the big 3 that are easy for any good server room operator to understand: cost, space & power. If you don't have to buy a 1U Tripp-lite pull out rack KVM console ($1700) and a video card for each of your SUN servers ($400, yes SUN vid cards are $$$), you start off by saving several thousand dollars.
    Next you need to let them know that you require remote access to the systems from your desk and a standard KVM doesn't allow this (with Unix, if you have to get up from your desk then its a hardware problem). They can choose to purchase a network enabled KVM, but that adds $700 to your $1700 KVM. By using the SC you will be able to administer the system remotely.
    Third, remember that SUNs do not show all the critical boot information on a frame-buffer console output. If you are in diagnostic mode during boot, the monitor doesn't show results until it completes. If some process is stuck (missing NFS or fibre-channel hard mounts, memory tests, etc) then you need to be able to see it to fix the problem. Plus, console frame-buffers only give you 25 lines of output that you can't scroll back.
    The only small hitch is security. The new SCs (on T5220s) have SSH built in, but the older V240s and V490s use telnet which some security people balk at. The solution that we used is to put the older system SCs on a private LAN. Access to that private LAN from our intranet is via a SSH enabled dual-homed (non-routing) workstation with local user accounts. We SSH to that workstation & then telnet to the SC on the relevant server. That solution allows me to access our servers that are 40 miles away, saving response time to solve customer problems. A crude diagram is below:
    your workstation------intranet------[dual homed, non-routing workstation]------[inexpensive switch]------[server SC]
    Good luck.

  • What kind of range extender can I use with airport express

    WHat kind of range extender can I use with an airport express?

    WHat kind of range extender can I use with an airport express?
    Use any router that you want if you will be connecting the extender/router back to the AirPort Express using a permanent, wired Ethernet cable connection.
    If you are planning to use a wireless connection to extend the range of the network.....then another AirPort Express, AirPort Extreme or Time Capsule will be required.

  • What kind of information of SIM attached with the device are we able to use on developing application?

    What kind of information of SIM attached with the device are we able to use on developing application?
    Can we get MSISDN from SIM?
    Authentication number???

    Hi
    XI has two engines that are ABAP engine called ABAP stack and JAVA engine calles JAVA stack.
    Some components are executed in ABAP stack and some components are executed in JAVA stack.
    ABAP stack -
    > Only Integration Engine(IE) and Business Process Engine(BPE) are executed in the ABAP stack
    JAVA stack -
    > Remaining all(IR, ID, Adapter Engine, RTWB) are executed in the JAVA stack.
    More informations about SAP NetWeaver Application Server:
    http://help.sap.com/saphelp_nw04s/helpdata/en/84/54953fc405330ee10000000a114084/frameset.htm
    More informations about XI components:
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    Many thanks
    Kiran

  • What kind of classes can be instantiated and how it can be done?

    Dear All,
    What kind of classes can be instantiated and how it can be done?
    Can you please explain me in brief and provide sample code for it?
    Thanks,
    Anup Garg

    Hi Anup,
    You can create instances of a Final class...its just that you cannot override its behaviour...
    btw...If you are coding the whole class, you can define a class as Final as below
    CLASS CLASS_NAME DEFINITION FINAL
    ENDCLASS
    Else, if you use the class builder (SE24), you just need to check the Final checkbox available in the Properties section of the class.
    ~ Piyush Patil

Maybe you are looking for

  • Can't download or update apps from App Store

    I'm using a MBP Retina Display with Mountain Lion. Whenever I attempt to update apps or download new ones, the sign in window pops down. I type in my log in information and the window goes back up, just to come back down again. It doesn't stop no mat

  • Item category change issue

    Hi, We have implemented scenario A settings for return orders to exchange and edit in both ECC and CRM systems. We are having a scenario where item category for an item in return order will be changed to the other  in ECC system. In our case we have

  • How do I know which G4 I have?

    Hi, Trying to look at prices for adding RAM to my powermac G4 and I have no clue as to what I've got. My work got it for me, and it came with no paperwork or booklets. What I can tell is that it's an 800Mhz processor. Mirrored circular front. Some ot

  • Facebook feed for xpressmusic 5800 contacts bar

    Hi all, I have some contacts set up on the home screen in the contacts bar. I am trying to use the 'feeds' option for these contacts. I have spent some time today looking at how I could possibly use this feature to add facebook feeds to these contact

  • Connecting Two Wired Networks with WRT54G

    I have a server (IP 40.1.238.27) that I need to connect to clients (IP 40.52.2.59,.60).  I have a Linksys WRT54G wireless router.  The chap I was chatting with at support says it is possible but could not tell me how to do it.  He mentioned Advanced