Running clock on a jsp page

Hi ,
I hav to set a clock on a jsp page which is dynamic can sumbody help me to do that .......
plz its urgent

When you tested the HTML launch code, it was from the local filesystem or via http from the same URL path of the failing JSP? I mean, if the HTML is the same, it couldn't make any difference to the browser, because after all is only HTML that the browser receives from a JSP. So I think it possibly has troubles with the classpath you specified in the launching HTML.
My friendly advice is to avoid automated HTML generators, and be aware of every parameter specified.
Using JSPs, the smartest way to include a JFC applet is to use the <jsp:plugin> tag. Read carefully docs and try it!!!

Similar Messages

  • Passing values at run time through a JSP page to selection formula to crystal report

    <p>hi,</p><p>   i am using one jsp page.in that page there is a field to select a date </p><p>this value will go to the report and report contain one selection formula.</p><p>which value we are passing on that basis the report should display</p><p>with date which we are passing  from GUI.</p><p>help.............................................................</p><p>//R</p>

    I believe the value of this is based on the owner of the scheduled object.  So if the Admin is scheduling it on behalf of a user I think it should use the user the Admin scheduled on behalf of.  It should be simple to test, simply create a report with this value being displayed and nothing else and see what values you get.

  • Error when run a jsp page in tomcat

    I carefully follow all instruction to install and config j2sdk1.4.2 and Apache Tomcat/5.0.28. After completing, I can run all sample applications about JSP and Servlet in Tomcat manager. I also test my own servlet application and it also works.
    But I fail to run a very simple jsp page. Although I already set environment variables such as CATALINA_HOME, JAVA_HOME, CLASSPATH as directed but it seem to not be able to compile jsp page.
    ( I can compile other java classes in command line. )
    Below is the error i receive . This error takes me lots of time to consider.
    I look for your help ( please describe as clear as goog ). Thanks a lot.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    If you are sure you've installed the JDK (as opposed to just a JRE, which doesn't come with the compilation tools that are required to compile JSPs), then your JAVA_HOME is probably set incorrectly. Ensure JAVA_HOME is pointing to the JDK directory, and not to the JRE directory.

  • Applet to Applet communication between two seperate threads and jsp pages

    Hi,
    have two java applets running on two separate jsp pages. I am trying to have one applet talk to the other applet. I have tried putting the applets in a static hashtable, but I found out (through trial and error) that the memory is not shared between the applets. Needless to say the appletcontext object will not work as well. I have also tried to put the applet threads into a thread group, but it seems that the second applet can't find the first applet's threads. Is there a funky way that I need to create the threads for the threadgroup? Is there a way or type of object that I can use that will share the static memory between plugins? I am using 1.6 in IE. Or am I looking at this wrong and there is an easy way to do this and I am not seeing it.
    Thanks,
    Marc

    Hi Mylene,
    I hope I have understood your problem correctly. I can try to give you a tip. The times I've had to do a pop-up, for instance to show details or a part of the data in a table, I call a javascript function with the required parameters (an ID for details or an array of rows) when the button is pressed or a link is clicked. The function then builds a URL with all the paremeters and uses it to call the standard window.open function. After that the request is handled "as usual", ie as if you didn't actually do a pop-up but simply displayed a new page. The content of the pop-up is a jsp with all the required code to build the table and/or display the data. The contents of the table or data are retrieved with the help of the parameters sent.
    I'm not sure if the portal kit provides some kind of standard functionality for this, but in the cases I've worked with J2EE solutions this has been the most common way of solving the problem.
    I hope this helps.
    kind regards,
    Dionisios

  • JSP page and the pageContext.forward() method

    I am running JSP pages on a coldfusion site so that a CF page (i.e. login.cfm) hosts my login.jsp page. I want to reload the JSP page without having to reload the cfm page each time. pageContext.forward() does do this, however, it only forwards on to a new page. I want to be able to reload a page with the new URL parameters (e.g. when there is an error, login.jsp will reload and give the user an error). What is a method to reload the page with the proper URL variables?
    The following code does not work:
    pageContext.forward("login.jsp?operation=user_edit&jsessionid=" + f_URLEncode(session.getId()));
    Because it runs from the login.jsp page (the forward command only goes to a new page)

    Just to clarify...
    I log into your site. The first page shown is the CF page. The CF page automatically redirects me to the JSP page. Then what, exactly?
    Does the login page automatically determine my URL, attempt to validate it, and if it doesn't work, it reloads the page?
    The reason I ask is because there is a difference between the resulting HTML page and the JSP class file that generates that HTML page. Generally speaking, most web servers, particularly Tomcat, do not recompile the JSP class file, they just simply pass the parameters to the existing class file, and a new HTML page is generated.
    So technically speaking, every time you visit the login.jsp page, you will get a brand new HTML page. The contents of that page are the same because you presumably pass the same parameters to the class which hasn't changed. But in other words, no, you can't forward to an "old" page that was previously generated by the class - each time the web server calls that class, it creates a "new" page.
    Or are you saying that every time you attempt to forward to the login.jsp page, the system erronously calls the CF page instead?

  • Handling SOAP Message in JSP page

    Hi ALL,
    im using SOAP message to build MM7 message,
    i have a soap connection that create a connection to a servlet tp process request,
    the response is a soap message with attachment.....
    the SOAP is 1.1.
    SOAPConnectionFactory connf = SOAPConnectionFactory.newInstance();
    SOAPConnection conn = connf.createConnection();
    SOAPMessage sMessage= conn.call (soapMessage, "http://190.0.0.16:8988/mmsc/httpReceiver");
    sMessage.writeTo(output);
    when running the request for a java class it works fine, but when running same class from JSP page, i have error in SOAP response.....
    im using jdev1013, the application is working fine with another IDE but with Jdev 1013 i have exception
    --------------------Exception---------------------------
    06/10/29 12:33:24 javax.xml.soap.SOAPException: Unable to get header stream in saveChanges
    06/10/29 12:33:24 at oracle.j2ee.ws.saaj.soap.MessageImpl.saveChangesMimeEncoded(MessageImpl.java:576)
    06/10/29 12:33:24 at oracle.j2ee.ws.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:622)
    06/10/29 12:33:24 at oracle.j2ee.ws.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:686)
    06/10/29 12:33:24 at oracle.j2ee.ws.saaj.soap.MessageImpl.writeTo(MessageImpl.java:702)
    06/10/29 12:33:24 at com.eska.emmc.relay.vas.MM7Message.sendMessage(MM7Message.java:966)
    06/10/29 12:33:24 at com.eska.emmc.util.VASWrapper.retrieveNotifications(VASWrapper.java:383)
    06/10/29 12:33:24 at com.eska.emmc.subscriber.tags.ManageMessagesTag.doStartTag(ManageMessagesTag.java:67)
    06/10/29 12:33:24 at sub.mmessages._myMessages._jspService(_myMessages.java:70)
    06/10/29 12:33:24 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    06/10/29 12:33:24 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
    06/10/29 12:33:24 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    06/10/29 12:33:24 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
    06/10/29 12:33:24 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    06/10/29 12:33:24 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    06/10/29 12:33:24 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    06/10/29 12:33:24 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    06/10/29 12:33:24 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    06/10/29 12:33:24 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    06/10/29 12:33:24 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    06/10/29 12:33:24 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/10/29 12:33:24 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    06/10/29 12:33:24 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    06/10/29 12:33:24 at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    06/10/29 12:33:24 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    06/10/29 12:33:24 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    06/10/29 12:33:24 at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    samer khawaja

    Hello,
    The easiest way to call a Web Service is to use a Client Library instead of calling the SOAP call yourself.
    Can you for your project use a Web Service client stack (JAX-RPC, Axis, XFire, ...) this will create from the WSDL file a set of class and give you a very simple caller class that you can then integrate to your JSP.
    I am pointing you to the OracleAS Web Service Documentation section about Web Service proxy.
    And some simple how-tos that have specific tasks to create client:
    - Web Servics How Tos
    So you can see this specific ant target to create a WS proxy:
    <oracle:genProxy wsdl="[your URL to a WSDL]"
    output="${src.cli.dir}"
    packageName="bottomup.client.proxy"
    >
    <classpath>
    <pathelement path="${bld.cli.dir}"/>
    <pathelement location="${ORACLE_HOME}/webservices/lib/wsa.jar"/>
    </classpath>
    </oracle:genProxy>
    Regards
    Tugdual Grall

  • Error while running a jsp page : "jasper run time error"

    hii
    I'm facing trouble while running some jsp page . the error is as follows:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    Apache Tomcat/5.0.28
    The set up in my system (path set up is as follows):
    Catalina home: C:\ apache software foundation\Tomcat 5.0
    Classpath: %java_home%;C:\j2sdk1.4.2_03\bin;
    Javahome: C:\ j2sdk1.4.2_03\jre;
    path: C:\ j2sdk1.4.2_03\bin
    <there are other variables available in path, along with that I have added the j2sdk1.4.2_03\bin in path".
    So if u have any way out for it please let me know.

    I think you only need to add: c:\j2sdk1.4.2_01
    you have specified jre on the end of your path, it is not the jre that is required, but the jdk.
    If you are using startup.bat and shutdown.bat (or .sh on Linux) you can amend the files with a text editor (open the startup.bat in notepad), like so:
    @echo off
    set JAVA_HOME=c:\j2sdk1.4.2_01
    if "%OS%" == "Windows_NT" setlocal
    I this will start Tomcat with the correct settings, regardless of your environment settings.

  • How can I run a report in a jsp page?

    I've made reports using Reports 9i and i want execute these reports from a jsp page.
    When i run a report in a jsp page the following error :
    Any Advice?
    ========================
    Internal Servlet Error:
    javax.servlet.ServletException: oracle/reports/RWException
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    Root cause:
    java.lang.NoClassDefFoundError: oracle/reports/RWException
         at java.lang.Class.getMethods0(Native Method)
         at java.lang.Class.getDeclaredMethods(Class.java:1039)
         at java.beans.Introspector$1.run(Introspector.java:852)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:850)
         at java.beans.Introspector.getTargetEventInfo(Introspector.java:556)
         at java.beans.Introspector.getBeanInfo(Introspector.java:294)
         at java.beans.Introspector.(Introspector.java:271)
         at java.beans.Introspector.getBeanInfo(Introspector.java:81)
         at org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCache.java:104)
         at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:136)
         at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)
         at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)
         at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)
         at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
         at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
         at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
         at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

    Hi Raul
    A better option would be to switch to Reports 9i because it natively supports Reports JSP tags. Your JSP then becomes seamless. And much more...
    With 6i, you can look at using Reports Servlet.
    Regards
    Sripathy

  • How to call a jsp page from oaf and run in jDeveloper

    Hi all,
    I created sample jsp and then tried.
    String temp = "sample.jsp?";
    pageContext.setForwardURL(temp,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    It worked.
    But when i tried with one of the custom page that i downloaded from server it is giving error.
    But now i need to call that page.
    Its Code is given on below link:
    Re: how to call a jsp page from oaf
    Please help me to do this.
    Thanks in advance.
    Regards,
    Raj

    Raj,
    1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
    2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
    (i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
    3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
    4. There is no problem in the way you are calling jsp page from OAF page.
    regards,
    Anand

  • Please help.  Got TopLink working, but now I can't run a JSP page

    I am using JDeveloper 9.0.3.
    I got TopLink working successfully. Meaning I can access the DB using my mapped TopLink classes from my java code in JDeveloper.
    However, now I can't even run the default .jsp page.
    I am getting the error:
    Error instantiating application at file:/C:/LBIT/LBIT-oc4j-app.xml: Error parsing data-sources config at file:/C:/LBIT/LBIT-data-sources.xml: Fatal error at line 0 offset 0 in file:/C:/LBIT/LBIT-data-sources.xml: The encoding "windows-1252" is not supported.
    If I go change the "LBIT-data-sources.xml" file to "ISO-8859-1," as soon as I run the .jsp page (from JDeveloper) the "LBIT-data-sources.xml" file gets overwritten with a new one that contains the "windows-1252" encoding line again.
    What can I do to fix this???
    I know someone else has run into this problem!!!
    Please help. Thanks so much.
    Andy

    You could change the encoding by doing the following.
    Stop Embedded OC4J Server (Run | Terminate | Embedded OC4J Server)
    Tools | Preferences
    Select Environment
    Change the Encoding to ISO-xxxxx
    Click OK
    Run your JSP now.
    Atleast this should fix encoding generated into data-sources.xml
    raghu
    JDev Team

  • Problem in running a jsp page on tomcat 5.0

    hi....
    i made a java class abc.java and then compiled it to get a java class file named abc.class in a package named pkg.
    Then i copied this package in the classes folder of the WEB-INF folder in tomcat 5.0.
    After that i created a jsp page in which i imported this class file. Now when i run the jsp page on tomcat 5.0 i get an error saying this:
    javax.servlet.ServletException: pkg/abc (Unsupported major.minor version 49.0)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.UnsupportedClassVersionError: pkg/abc (Unsupported major.minor version 49.0)
         java.lang.ClassLoader.defineClass0(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1214)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Can anyone please tell me the solution to this problem?
    thanks

    This post:
    http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200408.mbox/%[email protected]ys.com%3E
    Leads me to believe that you're compiling and targeting a java version that your tomcat installation doesn't support. What version of the JDK are you using?
    Good Luck
    Lee

  • Error while running jsp page

    Hi,
    While running JSP page in weblogic I am getting following error.
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at weblogic.xml.jaxp.WebLogicSAXParser.setProperty(WebLogicSAXParser.java:117)
         at weblogic.xml.jaxp.RegistrySAXParser.setProperty(RegistrySAXParser.java:117)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceContext.java:269)
         at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:4907)
         at jsp_servlet._pages.__viewreports._jspService(__viewreports.java:166)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    I am using jdk1.5. And I am using this jsp page for cognos connection.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Method oadbtransaction not found while running jsp page

    Hi all,
    We are trying to use the below method in jsp, but when are trying its giving error as the method OADBTransaction is not found in corresponding directory, can you please let us know from where we need to download this method from server so that we can run the jsp page from local directory.
    Thanks in advance.
    AppsContext context = ((OADBTransactionImpl)getOADBTransaction()).getAppsContext();
    Regards
    Deb

    Deb,
    To get the object of AppsContext we use following code in jsp
    import      = "oracle.apps.fnd.common.WebAppsContext"
      WebAppsContext wctx = null;
      int userId = 0;
      try {
                  if (Utils.isAppsContextAvailable()) {
                      wctx = Utils.getAppsContext();
                      userId  = wctx.getUserId();
      catch (Exception e) {}Regards,
    Gyan

  • Error in running jsp page

    Hi,
    I managed to connect to the DB using sql developer.
    But when i try to run the jsp page that i create.
    it gives me the following error:
    While trying to retrieve the URL: http://192.168.1.64:8988/StaffDirectorySystem-ViewController-context-root/addUser.jsp
    The following error was encountered:
    Connection Failed
    The system returned:
    (113) No route to hostThe remote host or network may be down. Please try the request again.
    Your cache administrator is root.
    Can anyone please advise me on what is wrong?
    Thanks and regards,
    Esther

    HI frank,
    I can accessed the DB within jdeveloper.
    But i do not understand when i get the error message still.
    The error message i got is:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://192.168.1.64:8988/StaffDirectorySystem-ViewController-context-root/deleteStaff.jsp
    The following error was encountered:
    Connection Failed
    The system returned:
    (113) No route to hostThe remote host or network may be down. Please try the request again.
    Your cache administrator is root.
    I am using hibernate:
    <property name="connection.url">jdbc:oracle:thin:@localhost:1521:orcl</property>

  • How to run JSP pages in weblogic 8.1 sp2

    hi frnzs,
    plese give me some idea about how to run JSP pages in weblogic server.

    enen i dont know hw to fly palne otherwise i can definitely give u sm guides abt that......

Maybe you are looking for

  • Is there a flash player that support my mobile Nokia 110.?

    browser,flash player in the site of youjizz.com that support my mobile Nokia 110

  • Receiver Determination Condition and XPATH

    Hi Everyone, I have a receiver determination with conditions and can not figure out why one thing is working, and the other isn't. As suggested in the following forum post, XPATH and RECEIVER DETERMINATION, I had to do the following to my XPATH expre

  • How to preserve recently changed passwords during a RPD promotion/overwrite

    Hi All, 1. We are using BIEE built-in authentication (passwords are stored in RPD file); 2. Users are allowed to change their passwords at any time; 3. Other than PD, we also have a DEV and a QA environements where we fix bugs and do minor enhancemen

  • WKG17005

    I tried to add a ultrasearch portlet into my portal after the installation of Oracle9iAS. But I got the following error: oracle.ultrasearch.query.SearchException: WKG17005: connection failure: data source does not exist I search this error message in

  • Calculating sales volume from items to opportunity header.

    Hi, For a customer we are dealing with the following challenge: We are using opportunity management with items, but no products. The total value of the items of an opportunity (NET_VALUE_MAN) is displayed on the header level of the opportunity (NETVA