How to deploy JSPs in Tomcat 5.5

hello all
i am Mayuresh Trivedi. i don't know how to Deploy Jsps in Tomcat 5.5. i m using MYSql as Backend. i m trying to use "import" command in Jsp so it shows me error like under :
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
Generated servlet error:
Syntax error on token "import", delete this token
Generated servlet error:
Syntax error on token "import", delete this token
     org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
     org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.
so , can any body help me please ?

hi
first create a arbitrary folder in \webapp folder in tomcat home foder.
for instance \webapp\myJSP
second you must create a folder with this name : \WEB-INF under myJSP folder
then make a web.xml in that
so write in web.xml this :
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<description>
myJSP
</description>
<display-name>JSP 2.0 Examples</display-name>

Similar Messages

  • How To Deploy Jsp project in Weblogic 8.1

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.(1) Create a standard WAR file that contains your JSPs.
    (2) Deploy to WebLogic by any number of means (e.g., Ant tasks, putting WAR file in application directory for your WL domain, etc.)
    %

  • How to run jsp in tomcat server

    hi this is satish1529,
    i am new to jsp technology,i have written small jsp file and html file,i don't know where to place jsp and html files in tomcat server and where i have to do setting in the server and how to run jsp file. pls give me step by step describing how to run jsp in tomcat server.
    i am showing u files
    this is jsp file
    <html>
    <body>
    <center> data recieved from client <center>
    <%
    String s= request.getParameter("t1");
    String a= request.getParameter("t2");
    %>
    username :<%=s%><br>
    address :<%=a%>
    </body>
    </html>
    this is html file
    <html>
    <body>
    <form action="http://localhost:8080/form.jsp">
    enter name <input type="text" name="t1"> <br>
    enter address <textarea name="t2"> </textarea> <br>
    <input type="submit" vaule="login">
    </form>
    </body>
    </html>

    Thanx a lot for ur promt reply.
    we r succful in running simple jsp in tomcat6.0.
    bt one more problem occured as following when we r trying to run jsp file in tomcat.
    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: /main1.jsp(1,1) The value for the useBean class attribute webCounter is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1200)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1155)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3374)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.

  • How to Run JSP in Tomcat Server 3.3.2

    Hi all,
    i have just installed tomcat server 3.3.2 in my system which as windows xp home edition as a operating system and no problem i can able to start the tomcat server.But the problem is that i dont no how to run jsp in tomcat i listed some of my problems below..
    How to put my jsp file in the virtual directory(default and also i want to create ) then tell me how use IE to run the JSP file.
    Thanks in advance..
    With Regards
    Vijay

    Hi all,
    i have just installed tomcat server 4.1 in my
    system which as windows NT 4.0 home edition as a
    operating system and no problem i can able to start
    the tomcat server.But the problem is that i dont no
    how to run jsp in tomcat i listed some of my problems
    below..
    How to put my jsp file in the virtual
    directory(default and also i want to create ) then
    tell me how use IE to run the JSP file.
    Thanks in advance..
    With Regards
    Baliram

  • How to deploy JSP's on tomcat 4.1

    i have XP machine.
    war command is not working on my machine,any thing i have to do to make it work?.
    jdk is working fine,and ANT is also working.
    but whan i run the command "ant install" i am getting error at build.xml 364 which is
    war="file://${build.home}"/>
    which is again a problem with war.
    is there any way to deploy JSP( just jsp for now) in tomcat
    thanks
    Narendra.

    thanks for the reply.
    i found out how to make .war files and i can able to deploy and run JSP files.
    with the help of this command
    jar cvf myApp.war Date.jsp
    do i have to specify the files name at the end of command ?. is there a way to make .WAR file with all subfolders and files?

  • How to deployed jsp report to Oracle EBS R12

    Hi,
    The jsp report deploy using Oracle Report. How to deploy the jsp report to Oracle EBS R12 and calling jsp report through Self-Service Menu.
    Thank you.
    Wilson

    Hi,
    What tool you have used to develop those pages?
    Please see the docs referenced in this thread.
    I want to start OAF R12 please give me PDF
    I want to start OAF R12 please give me PDF
    Thanks,
    Hussein

  • How to deploy jsp in Weblogic 7.0

    Hi,
    I would appreciate, if anyone can help me out.
    I'm new to weblogic.
    I have installed Weblogic in my system.[vers.7.0]
    i want to deploy my jsp file and run the jsp file.
    can anyone tell me where to deploy the jsp file and how to run it.
    do i need to create a war file to deploy jsp?
    can anyone tell the procedure in doing so...........................
    regds
    venkatraman.P

    use your console to create a web-app from the directory with the web-inf and your jsp. Hit deploy and it should work.
    War files are not necesary, for fast jsp development its even better to not use wars.

  • How to deploy JSP as EJB in Remote Mode

    Hello:
    I used JDeveloper and BC4J to create a JSP web site.
    When I was running the JSP creation wizard, there is a option let me to selete run the JSP at "Remote Mode" or "Local Mode".
    When I selected to run at "Local Mode", after I deloyed the JSP to 9iAS, it works fine.
    But when I selected to run at "Remote Mode" and deployed the application module as EJB session bean, there is a RunTimeException occurs, the error likes "The applicaiton module can not be instanced".
    I saw the JSP config file, it just a little different.
    In Local Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleLocal
    password = xxxxxx
    In Remote Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleEJB
    password = xxxxxx
    I read the web page about deploy JSP to 9iAS: http://technet.oracle.com/docs/products/jdev/technotes/JSP/Deployment.html
    but the page seems just show that deploy JSP in the local mode.
    Can you give me the complete procedure to deploy JSP application as EJB in Remote Mode?
    Thank you!

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • How to deploy JSP-appl. to JServ, JRun, Tomcat, ...

    Or put another way: How do I create a Web Archive File containing
    my JSP-appl. that can be deployed to any JSP1.1 compliant server?
    My experience is that it is impossible, but if someone can defy that, I'll be glad.
    It seems that the methods used in the oracle.jbo... packages for retrieving resources like .properties-files and xml-files that belongs to one specific application, demands that the files be found through the classpath for the JVM.
    Hence they must be in the classpath for the JSP-server when it starts,
    and cannot be placed in <appl.home>/WEB-INF/classes or in a jar-file under <appl.home>/WEB-INF/lib (where they should be placed, according to JSP spec.)
    Is this in fact so, and if it is, does anybody know if Oracle have plans of making the necessary changes in BC4J to correct it?
    (Sorry if this issue has been debated earlier...)
    Regards,
    Erik
    null

    I think JServ does support JSP 1.1. but Tomcat should work fine.

  • How to deploy WAR in Tomcat

    I deploy WAR package into Tomcat,but no work!!
    27 三月 2009 08:42:57,993 [http-80-Processor25] ERROR Revision: 13 .pingDB(DatabaseService.java:69) - pinging db: TAW_PRIVATE_DATASOURCE
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 13 .getDBConnection(DatabaseService.java:499) - got exception when try to get db connection: java.lang.UnsupportedOperationException: Not supported by BasicDataSource
    27 三月 2009 08:42:58,009 [http-80-Processor25] DEBUG Revision: 13 .getDBConnection(DatabaseService.java:508) - close connection
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 13 .pingDB(DatabaseService.java:83) - got sql error in pingDb, retVal = false
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 9 .retriveNewLiveDB(DatabaseConnections.java:65) - All the databases are down!
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR RegionalizationLibrary.populateBean(RegionalizationLibrary.java:210) -
    java.lang.NullPointerException
         at com.taw.database.TableDataSet.<init>(TableDataSet.java:32)
         at com.taw.database.TableDataSet.<init>(TableDataSet.java:27)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.loadTemplateName(RegionalizationLibrary.java:247)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.loadTemplate(RegionalizationLibrary.java:238)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.populateBean(RegionalizationLibrary.java:206)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.<init>(RegionalizationLibrary.java:64)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:87)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    27 三月 2009 08:42:58,009 [http-80-Processor25] DEBUG RegionalizationLibrary.getLanguagesFormatter(RegionalizationLibrary.java:492) - ****Creating new LanguagesFormatter
    27 三月 2009 08:42:58,040 [http-80-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[TAW].[jsp].invoke(StandardWrapperValve.java:253) - Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at com.taw.clients.am.regionalization.RegionalizationFormatter.<init>(RegionalizationFormatter.java:12)
         at com.taw.clients.am.regionalization.LanguagesFormatter.<init>(LanguagesFormatter.java:13)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.getLanguagesFormatter(RegionalizationLibrary.java:493)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    My "context.xml":
    <Context reloadable="true" crossContext="true">
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <Resource name="jdbc/cca" auth="Container"
    type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:1521:ORCL"
    username="CC81" password="cc81" maxActive="200" maxIdle="10"
    maxWait="-1"/>
    </Context>
    My "web.xml":
    <context-param>
    <param-name>databasePlatform</param-name>
    <param-value>ORACLE</param-value>
    </context-param>
    <context-param>
    <param-name>databaseSchema</param-name>
    <param-value>ADMINCC81</param-value>
    </context-param>
    <context-param>
    <param-name>databaseDatasource</param-name>
    <param-value>java:/comp/env/jdbc/cca</param-value>
    </context-param>
    <context-param>
    <param-name>databaseUser</param-name>
    <param-value>CC81</param-value>
    </context-param>
    <context-param>
    <param-name>databasePassword</param-name>
    <param-value>cc81</param-value>
    </context-param>
    <resource-ref>
    <description>Oracle Datasource</description>
    <res-ref-name>jdbc/cca</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>

    The 3 application servers that are supported are BEA Weblogic, Oracle Application Server and IBM Websphere.
    Tomcat was used of the V7 remote DB application.

  • Deploy JSP with Tomcat

    I've been going through this painful process
    to deploy a simple JSP application on a
    Red Hat Linux 6.1 system with the latest
    Tomcat release. I got the Tomcat server
    running and all their sample JSP apps work.
    This system also contains the database,
    so I'm running it as local.
    I created a simple JSP application using
    just one table from the database. It
    works just fine from the JDeveloper
    environment. When I try to access the
    main.jsp file via the URL http://odb/ojsp/main.jsp, I get this:
    Error: 500
    Location: /ojsp/main.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSP/usr/local/jakarta-tomcat/work/localhost_8080/_0002fojsp_0002fmain_0002ejspmain_jsp_0.java:17: Package javax.naming not found in import.
    import javax.naming.*;
    ^
    1 error
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
    at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
    at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
    at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
    at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
    at java.lang.Thread.run(Thread.java:475)
    I would assume it's a classpath issue, but
    which one do I need to add?
    null

    I got the exactly same message by using JDeveloper3.1.1.2, NT, and Tomcat 3.1. I have posted the issue several time and not got any response yet.
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by abbaroo:
    Well, I figured out that I need the JNDI
    package to go along with JDK 1.2.2.
    So I downloaded and installed that, and
    now I get this message:
    Error: 500
    Location: /ojsp/ConstantJSP_html/main.jsp
    Internal Servlet Error:
    java.lang.IllegalStateException: Response has already been committed
    at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157)
    at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299)
    at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
    at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
    at java.lang.Thread.run(Thread.java:475)
    <HR></BLOCKQUOTE>
    null

  • Can anyone help ? -Deploy JSP to Tomcat

    I am trying to deploy my JSP app to Tomcat 3.1, but goet error message like this:
    Error: 500
    Location: /amtts/main.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\Apache Group\Tomcat\work\localhost_8080%2Famtts\_0002fmain_0002ejspmain_jsp_0.java:14: Package oracle.jbo not found in import.
    import oracle.jbo.*;
    ^
    C:\Apache Group\Tomcat\work\localhost_8080%2Famtts\_0002fmain_0002ejspmain_jsp_0.java:16: Package oracle.jdeveloper.html not found in import.
    import oracle.jdeveloper.html.*;
    ^
    C:\Apache Group\Tomcat\work\localhost_8080%2Famtts\_0002fmain_0002ejspmain_jsp_0.java:17: Package oracle.jbo.html.databeans not found in import.
    import oracle.jbo.html.databeans.*;
    ^
    3 errors
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
    at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
    at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
    at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
    at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
    at java.lang.Thread.run(Thread.java:484)
    Thanks.
    null

    Create a web application, put you JSP in the web application, put the web application in the server. And Robert is you Father's Brother.

  • How to run JSP in Tomcat

    Hi i am new to java web application, i am running JSP(edited in notepad) in tomcat
    <html>
    <head>
    <title>first jsp page</title>
    </head>
    <body>
    <%! String st = "shyam your JSP Code" %>
    Welcome ::<%= st %>
    </body>
    </html>
    i saved this jsp as first.jsp and D:\shyam\Apache Software Foundation\Tomcat 5.0\webapps\ROOT putting jsp in this folder.
    then started tomcat webserver
    then opeand browser giving URL: http://localhost:8080/first.jsp
    the error coming like--> HTTP status 500
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    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
    Error coming like this, plz tell how to rectify this, I want to set any thing in web.xml, tell where i did mistake.

    hi,
    your problem is you didn't set java home in your path..
    before running your application create a ".bat" file like,
    set JAVA_HOME="path where you installed jdk eg: c:\jdk1.5";

  • How to deploy JSP application using inbuilt OC4J of Oracle BPEL??

    I have to combine JSP pages with BPEL and for that i have to deploy applications with the inbuilt OC4J i dont know from where to deploy the whole application and how to write build.xml for deploying using obant

    You can deploy your application to the Oracle Bpel Server by specifying a new Application Server connection that points to yout LocalBpelServer.
    You don't need to write a build.xml file, you can just use the Deployment Descriptor functionality of JDeveloper which is much more easier than using the obant.
    The process of automatically deploying your UI-application to the Oracle Bpel Server, without any manual steps or restaring the server, is fully documented on the following blog: http://iadvise.blogspot.com/

  • How to run jsp using  tomcat server?

    hai friends,
    i'm using jsp for my application and for that i'm using tomcat server.
    i was runing my jsp files like this
    http://localhost:8080/examples/jsp/myapp/index.jsp but instead of this
    i need to run my jsp files like this
    http://localhost:8080/myapp/index.jsp
    what r the changes that i should do in tomcat installation to run myapplication in such a way.
    thanks in advance

    you need to redefine the server root...
    for that do the following...
    copy all the directory tree rooted at
    JAKARTA-HOME/webapps/ROOT/examples/jsp/myapp/ to
    JAKARTA-HOME/webapps/ROOT/myapp/
    -OR-
    in the server.xml, search for "Tomcat Root Context" and un-comment the code defining Root Context...
    change the docBase value from "ROOT" to "ROOT/examples/jsp"
    that shud help...
    -Pranav
    hai friends,
    i'm using jsp for my application and for that i'm
    using tomcat server.
    i was runing my jsp files like this
    http://localhost:8080/examples/jsp/myapp/index.jsp but
    instead of this
    i need to run my jsp files like this
    http://localhost:8080/myapp/index.jsp
    what r the changes that i should do in tomcat
    installation to run myapplication in such a way.
    thanks in advance

Maybe you are looking for

  • KOC4 Vs KE5Z

    Dear experts     I am trying to see the link between KOC4 and KE5Z report. Is there any link between these two reports ?

  • Macbook Pro not printing to Windows network printer

    Hello, Recently purchased Macbook Pro Mac OS 10.7.2 Lion and I am unable to print to a windows network printer. When I click the print button nothing happens. I have tried to print from Safari, Word, Excel etc and nothing happens. The printer is adde

  • SCSM Authoring for Service Request forms

    We are planning to start SCSM authoring work . As of now we are planning to focus on Service Request forms . The intent is to get them on the  portal as Request Offering .There would be mainly 10-15 SR forms ,and now each of these forms would have so

  • Filling the screen

    How do I fill the screen on Safari pages?  Help menu tells me to click on arrows at top right corner of page but I do not have any arrows. I am running Snow Leopard on my MacBook Pro.  Thanks for any help!

  • Appleworks applications

    I have had some good leads from another discussion group and can now get text to appear in an arc, but am going crazy trying to figure out how I can get the text to appear in a curve as if it is inside the circle not on the outside. I don't know what