How to run JSP in iAS 10g?

Hi.
I installed an oracle 10g DB in my windows XP, and also installed iAS 10g. It looks like working well. But when I run a jsp file in my browser, JSP file does not work.
Can anybody tell me how to deploy the jsp in iAS 10g?
Thanks

There are a few ways to deploy a jsp file or an application to IAS 10g. Before we run into that, can you do a basic check if jsp files does work? Please go to
http://<yourHost>:<yourPort>/j2ee/examples/jsp
and click a few examples. If it works, then you may try putting a simple jsp file, say, a.jsp in a
<J2EE_HOME>/default-web-app directory
where <J2EE_HOME> is the directory that contains oc4j.jar. Then check
http://<yourHost>:<yourPort>/j2ee/a.jsp

Similar Messages

  • 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......

  • 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 run jsp in weblogic server

    hi,
    how to run jsp application in weblogic server,plz send the procedure how to deploy..
    Thanks

    How to run JSP and EJB program using weblogic server

  • How to run JSP/Servlet in AIX?

    how to run JSP/Servlet in AIX?
    I am no ideas about it,
    can anyone tell me?
    what webserver i should use?
    have to install JDK?

    The only successful way that I have been able to run servlets in an AIX environment is with the IBM Http Server (specific version of Apache)/WebSphere combination, with WebSphere as the servlet engine. I have tried (unsuccessfully) to use JRun and Apache in AIX environment, but could never get JRun to function properly.

  • Hi, can any one know how to run .jsp application in weblogic 8.1

    hi,
    i am using weblogic 8.1 ,
    in weblogic 6.1 and 7.0 there is directory called default web apps under bea\user projects\application.we placed all .jsp file under here.
    now bea deleted this folder.
    now how to set of environment for run .jsp application using weblogic8.1
    can one may help thanks,
    jp reddy

    hi,
    i solve this one after check bea documnetaion.
    with regards
    jp

  • How to run JSP Report

    Hello,
    I am new at Reports 9i. I created report dummy.jsp which selects some data from a table.
    Could you please explain me how to run this JSP Report from internet explorer?
    Sincerely.
    givi

    Hello Givi,
    For running the JSP report from a browser, you need a J2EE container like OC4J. The JSP report can be run in two ways:
    1. rwservlet
    http://<we_server_host>:<port_no>/reports/rwservlet?<reports_parameters>
    2. the JSP deployed on the J2EE container
    http://<we_server_host>:<port_no>/<context_root>/your_report.jsp?<reports_parameters>
    Method 1 will actually display the paper layout of your report, while method 2 will display the web layout on the browser.
    If you want to start with basic information, pl refer to the section 8.1.2 of Publishing Reports document available at
    http://otn.oracle.com/docs/products/reports/content.html
    Navneet.

  • How to Run Developer Suit Form 10g

    my question is
    how to run form in developer suit i was using developer 6I now i want to run my module to developer suit 10g first i install developer suit 10g then database 10g and make a simple module of emp table
    now when i run its give me error The HTTP Listner is not runing
    i start OC4J Instance then again i run the form its run and install
    Jinitator 1.3.1.22
    then its give me again error
    ORA-12560 Tns protocol adopter failure
    i check my firewall setting its check all program and service excluding Remote disktop
    I check my TNSNAMES.ORA file its look like
    # tnsnames.ora Network Configuration File: d:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    uid=shah;pwd=a;
    i save my module in D:\module1.fmb so there is no space in folder
    but still i am facing the same error
    i not one thing that i connect with just my user id and password and left blank in database
    Just like
    USERID = SCOTT
    PASS = TIGER
    DATABASE =
    Any one know how to solve this problem
    Thanks
    Shahzaib ismail
    Developer Suit 10g, Database 10g, OS Window XP

    well when i connect with my database i right
    username = Scott
    password = tiger
    and i left blank in database row
    because when i insert orcl in database row its give me error
    TNS No listener
    i search listener.ora file and i found in
    d:\devsuit_home1\network\admil
    *# listener.ora Network Configuration File: d:\DevSuiteHome_1\NETWORK\ADMIN\listener.ora*
    *# Generated by Oracle configuration tools.*
    SID_LIST_SERVER =
    *(SID_LIST =*
    *(SID_DESC =*
    *(GLOBAL_DBNAME = Oracle8)*
    *(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)*
    *(SID_NAME = ORCL)*
    *(SID_DESC =*
    *(GLOBAL_DBNAME = orcl)*
    *(PROGRAM = orcl)*
    *(SID_NAME = orcl)*
    *(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)*
    *(SID_DESC =*
    *(GLOBAL_DBNAME = orcl)*
    *(PROGRAM = orcl)*
    *(SID_NAME = orcl)*
    *(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)*
    SERVER =
    *(DESCRIPTION =*
    *(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER)(PORT = 1521)(SEND_BUF_SIZE = 1521)(RECV_BUF_SIZE = 1521))*
    LOGGING_SERVER = OFF
    SAVE_CONFIG_ON_STOP_SERVER = TRUE
    what can i do now ?

  • How to run jsp file in Apache Tomcat 5.0?

    hi,
    i'm using jdk1.5,jsp1.2 & Apache Tomcat 5.0 as a web server.in my application i have 2 jsp files,1 html file & 1 javabean class.where i must place the html,jsp files and the .java file & .class file for a bean class.how to run this application.
    bean class:
    public class Userdata {
    private String username;
    private String email;
    private int age;
    public void setUsername( String value )
    username = value;
    public void setEmail( String value )
    email = value;
    public void setAge( int value )
    age = value;
    public String getUsername() { return username; }
    public String getEmail() { return email; }
    public int getAge() { return age; }
    getname.html file:
    <HTML>
    <BODY>
    <FORM METHOD=POST ACTION="Savename.jsp">
    What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
    What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
    What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
    <P><INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>
    savename.jsp file:
    <jsp:useBean id="user" class="Userdata" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <HTML>
    <BODY>
    Continue
    </BODY>
    </HTML>
    nextpage.jsp file:
    <jsp:useBean id="user" class="Userdata" scope="session"/>
    <HTML>
    <BODY>
    You entered<BR>
    Name: <%= user.getUsername() %><BR>
    Email: <%= user.getEmail() %><BR>
    Age: <%= user.getAge() %><BR>
    </BODY>
    </HTML>
    refer these source code and plz,give the result at the earliest.
    whether i want to write a web.xml file for this jsp file.
    if yes,means plz present the web.xml file for this application.
    plz,if anybody knows give me detailed description for this application.

    create a dir under webapps dir
    place your .html and .jsp files here
    also create WEB-INF dir here
    Under WEB-INF create classes and lib dir
    under classes dir put your .class file
    You also need to put web.xml under your WEB-INF dir.
    You ca keep your java file any where u want on your computer.

  • 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 run jsp program

    is i can able to run my jsp program by using appache server..

    To get JSP working in Apache HTTP Server you have to install Apache Tomcat.
    You can either choose to run JSP's solely on Apache Tomcat, or to use mod_jk2 to link Apache HTTP Server with Apache Tomcat so that the Apache HTTP Server can forward the JSP requests to the Apache Tomcat engine, because the Apache HTTP Server really doesn't know how to compile/run JSP's.

  • How to run JSP/Servlet applications on Apache?

    As we all know that tomcat is an JSP/Servlet engine. Apache is a web server not a JSP/Servlet enabled web server. Then in order to run JSP/Servlet applications on Apache web server on unix, what should I do?
    Thanks.
    James Liu

    Can you give me some detailed information about how to combine Apache and Tomcat? Note, the application is going to run on Sun Solaris Operating System.
    By the way, where do you put your final version of application? on windows or on Unix? on tomcat or on apache?
    I am building the application using tomcat on windows, but now I almost finished the application, so I decide to move it to Unix which uses apache as the web server. But I got problems, the Servlet engine (JServ) can not understand "RequestDispatcher" (an object used to redirect jsp pages).
    Help please.
    James

  • How to run jsp and servlet using JBOSS server

    Dear Friend,
    I have JBoss application server and Eclipse id
    now i want to run JSP and Servlet but i am not getting the place where to place my servlet class file to run it .
    before that i run jsp and servlet using tomcat5.0 but in that i place my servlet class in WEB-INF/classes folder and do corresponding entry in web.xml file and run it through browser.
    now i want to use JBOSS how it is possible
    PLZ Help me

    Is the servlet class defined in a package.? If servlet class package is servlets., copy the servlet to
    WEB-INF/classes/servlets directory.

  • How to run Policy manager in 10g on UNIX

    Hi,
    I have installed Oracle 10g and I want to install Label Security.
    Can anybody let me know how to open Policy Manager in 10g.
    I am working on HP-UX platform....
    JAI HIND
    Darshan

    1) Label Security is a separately licensed option - costs extra $;
    2) There is a whole manual describing how to use it;
    3) oemapp is available from the 'Client' installation CD in 10g;
    4) From the manual
    "Note that the graphical user interface for the Oracle Policy Manager (OPM) should be used for viewing data only when Oracle Label Security is configured to use the Oracle Internet Directory. OPM can be used to view and modify data only when Oracle Label Security is configured to use the Oracle9i database as its primary repository. OPM can be used to manage VPD regardless of the Oracle Label Security configuration."

Maybe you are looking for

  • Mail Unresponsive on System Resume from Sleep, Have to Force Quit

    When I resume my MacBook Air from sleep everything except mail resumes nicely.  Mail seems to freeze up (unresponsive) and I end up having to force quit  and re-launch it to get it working again.  I've rebuilt all the mailboxes but no joy.  I am usin

  • How do i run two threads with different sleep times?

    How do i run two threads with different sleep times? Ive got thread A and thread B, they both update a jpanel. They both start when i press the start button. However thread A updates every 250ms and thread B updates every 1000ms. i cant just run them

  • Page fragment suddenly won't open (11g)

    I am unable to open a .jsff file and have no idea how to fix the problem. The project has a reference to an ADF Library Jar that seems to be the problem. I have rerun the deployment on to generate the reference jar: adflibCsa_common1.jar. But that do

  • Connecting multiple sheets and tables to names

    I was looking at the sheet in the education section when you attempt to make a new spreadsheet and I got really impressed by the grades one that allows you to look at the summary of a student by typing the student name in the cell, I would like to do

  • SAP Delieverd Content in Solution Manager

    Hi All,    Like in BW, do we have any SAP delivered Business content like thing in Solution manager?