How to use JSP in apache web server

hi all,
can anybody tell me how to use JSPs in Apache Web Server.
Thanks
sir

You would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
HTH

Similar Messages

  • How to use fp-2010 as web server

    how to use fp-2010 as web server
    mazhar 

    Hi Mazhar,
     It is fairly straighforward to set up front panels for your RealTime executable. This knowledgebase has the information on how to do this.
    Hope this helps!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • How to use addwatermarkfromfile on a web server

    how to use addwatermarkfromfile on a web server. Where do you put the js on a windows 2008 server, so that the URL can pick it up when a user opens a PDF.

    You don't.  JS files can exist in three places.
    1.  In the PDF file
    2.  In the User Profile
    3.  In the Application folders
    * Note while you can execute some browser based JS to the embedded viewer in a web browser all of the API calls are non-editing.

  • Jsp for apache web server

    hi all,
    i am new 2 the field of JSP & web servers.
    i have installed apache web server on a unix box. i am invoking the jsp files from a win - 2000 machine.
    i want to know if the apache web server can interprett the java code (JSP)that is embedded in html. if not what other web server should i use.
    The jsp code is not being interpretted. the output for the foll code is:
    HELLO WORLD
    HELLO WORLD
    <HTML>
    <TITLE>
    HELLO
    </TITLE>
    <BODY>
    HELLO WORLD
    <br>
    <%= new java.util.Date() %>
    HELLO WORLD
    <% System.out.println("HELLO ALL") %>
    </BODY>
    </HTML>
    Do i have to use some other server like Blazix or will apache web server do the job for me???
    thanx in advance

    Double-posted:
    http://forum.java.sun.com/thread.jsp?forum=45&thread=388900&tstart=0&trange=30

  • How to Set CLASSPATH in Apache Web Server Using IAS

    Hi,
    I have problem setting the classpath for the servlet I am using for file uploading...My work environment is Web Server is Apache with Oracle8i IAS on Sun Solaris..
    I have tried various method like setting wrapper.classpath=/oracle/ias/Apache/Jserv/servlets and my class resides under /oracle/ias/Apache/Jserv/servlets/com/oreilly/servlets/MultipartRequest.class
    in the Jserv.properties, still it get the error message class ...not found in type declaration when I compile the code...my reference to the servlet in my JSP code is com.oreilly.servlet.MultipartRequest ..
    Can someone help me out please, if you have have any idea of how to set the class path with the working environment I have specified ealier....
    null

    have you posted this on the ias 9i forum where the ias 9i apache experts are at ??

  • Using OC4J with Apache Web Server

    Hi,
    I followed the instruction to put the following lines in apache/config/httpd.conf:
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /servlet/ http://sundev.ultradns.net:8888/servlet/
    ProxyPassReverse /servlet/ http://sundev.ultradns.net:8888/servlet/
    </IfModule>
    I can access my servlet as:
    http://sundev.ultradns.net:8888/servlet/MyServlet
    But when I tried to access through apache server as:
    http://sundev.ultradns.net:80/servlet/MyServlet
    I got an error:
    The requested URL /servlet/MyServlet was not found on this server.
    Thanks,

    Are you using OHS aka Apache from an Oracle9iAS install. In Oracle9iAS, there is another servlet engine Jserv configured for URI /servlet and this is causing the problem.
    If you are not using JServ then you can disable Jserv by commenting out the directive for mod_jserv in your httpd.conf file and this should work fine.
    regards
    Debu Panda
    Oracle

  • Running a JSP on a web server

    Hello,
    I am new in programming. I would like to know how to run a JSP file on a web server. I have created a couple of JSP pages in NetBeeans. Now when I upload that build/web folder to a web server I get just the source code of the file when opening in browser.
    Is there something that needs to be installed on the server? Btw, when testing on localhost with tomcat server it works fine.
    Thanks for any help.
    Carterado

    carterado wrote:
    Hello,
    I am new in programming. I would like to know how to run a JSP file on a web server. I have created a couple of JSP pages in NetBeeans. Now when I upload that build/web folder to a web server I get just the source code of the file when opening in browser.
    Is there something that needs to be installed on the server? Btw, when testing on localhost with tomcat server it works fine.Right, because Tomcat is a servlet/JSP engine that happens to have an HTTP server built in.
    You can't deploy servlets or JSPs on Apache web server or IIS. You need a servlet/JSP engine.
    %

  • J2EE & Apache web server

    Dear friends,
    We are going to use open source Apache web server(with Tomcat), but can we use all J2EE components especially EJB in the Apache web server?
    Thanks.

    Dear friends,
    We are going to use open source Apache web server(with
    Tomcat), but can we use all J2EE components especially
    EJB in the Apache web server?
    Thanks.You can use Tomcat for the Web container. You can then select an application server to host the EJB container. See http://www.jboss.org/overview for details.
    Christian

  • How to use Apache Web Server?

    Hi all,
    How to use Apache Web Server?
    Thanks
    contact me: [email protected]

    i do not know for certain about the jsps you're talking about, but i would guess they should run just fine under jrun, and you wouldn't have to make jrun and jserv coexist.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by One:
    Hi ilya:
    Thank you for your quick reply.
    I will try that way but I wonder if the thing like "how about the *.jsp developed by the JDeveloper and BC4J run under JRun; could and is it necessary to make the Apache+JServ and Apache+JRun co-exist ... "<HR></BLOCKQUOTE>
    null

  • Should I install Apache Web server to use Jakarta Tomcat Servlet engine?

    Hello,
    I have some problems and now have a question:
    Should I install Apache Web server to use Jakarta Tomcat Servlet engine?
    JTK home page is available via http://localhost:8080
    Tomcat ver 3.1.3
    Thanks.

    No, you don't need to run Apache webserver (httpd) to run Tomcat. Tomcat by default runs on port 8080, but you can set it to any port, including 80, if you have permission to do so (on *nix systems, you need root permissions to run services on any port below 1024).
    Tomcat is a webserver as well, just one that includes a servlet container and JSP processor. So it will serve your html files, images, etc (aka static content), just as well as Apache httpd, in addition to being able to run servlets and JSPs.
    Apache httpd has more options for serving static content than Tomcat, so many people prefer to use it as their main webserver and only use Tomcat as a sort of "plugin" to handle servlets and JSPs. This can be achieved through a connector. Instructions on how to set this up are on the Jakarta website.
    So you could use Apache and Tomcat combined, next to each other, or totally separated. In many cases, just Tomcat will do.

  • How do I get Apache web server working ...

    How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
    When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
    On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
    When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
    When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
    It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
    It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
    On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
    On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
    That about exhausts my understanding of how to get a handle on my problem.
    Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

    Okai, so we are getting somewhere, but not quit there yet :-)
    I opened the Kenneth.conf file using the command: vi Kenneth.conf
    This is what it said:
    <Directory "/Users/Kenneth/Sites/">
    Options Indexes Multiviews
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    </Directory>
    "Kenneth.conf" [readonly] 6L, 139C
    I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

  • How to Configure Apache Web Server  with Tomcat web container in Linux

    Hi all,
    I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
    I need map my tomcat to Apache Web Server (httpd) in another system
    (web server).
    I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
    I have only jk2.properties file in my conf.,
    Please tell me how to go about it
    my mail id [email protected]
    Thank You
    Subramanyam.V
    Hyderabad
    India

    The simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
    You can use the mature SJS Web Server 6.1 SP5 at
    http://www.sun.com/webserver
    Or you can try a preview of the upcoming version at
    http://www.sun.com/download/products.xml?id=446518d5
    You will get better performance and security, with easy of use, at about the same price ;)

  • How to install Apache Web server on my SAP Content Server

    Dear Experts,
    I am in the process of installaing Content Server in my landscape, i am working on Suse Linux 10 SP2 and planning to install ContentServer 6.30.
    I have read the standard SAP installation document for the same and it says that we need to install Apache Web server version 1.3.XX, so i have downloaded the file apache_1.3.27-x86_64-whatever-linux22.tar.
    Now i want to know the following before i take any actions on my further installation of the Content Server
    What is the difference between Apache and httpd servers (services) are they different or same
    Is the file apache_1.3.27-x86_64-whatever-linux22.tar correct to install Web Server on my Linux system
    Do i have to download any other httpd files
    How to install and start the Web server on my Linux
    Waiting for some information
    Thanks and regards
    BasoKing

    You can install a higher apache also (2.2.x), I'd not use the old versions. I'd also not use a "somwhere" compiled apache, you don't now if that version is clean.
    I'd rather compile an own one, it's not that difficult:
    Note 664384 - Generation info for Apache Web server for SAP Content Server
    The result will be a default webserver (httpd) without any unnecessary modules compiled in.
    Markus

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • How to integrate Apache Web Server and Apache Tomcat 4.0 ?

    <pre>
    Hi All,
    Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
    Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
    Please point me to exact location,url to download the recent Apache Web Server and,
    Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
    A detailed explanation of how to integrate both is very helpful.
    Thanks in advance.
    <pre>

    The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
    Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
    You find the section "LoadModule" and you add the next lines:
    LoadModule webapp_module modules/mod_webapp.so
    AddModule mod_webapp.c
    And the end of the file you must add these lines:
    WebAppConnection conexion warp localhost:8008
    WebAppDeploy examples conexion /examples
    The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
    At last you can add one more lines to check the module's configuration:
    WebAppInfo /webapp-info
    If you visit http://<yoor_host>/webapp-info you can see the configuration.

Maybe you are looking for

  • How do i transfer old account to new desk top

    how do i transfer old account to new desk top

  • Superdrive is S-U-P-E-R-S-L-O-W...Need some feedback!

    Hey Guys - My MBP is about a month old, and what I was hoping was symbollic of poor discs or heightened anticipation is slowly creeping towards disappointment. Specifically, I am having a hard time understanding why this superdrive is so slow in READ

  • Custom swatches. Where do I put them?

    I recently downloaded some custom paper swatches from Neenah Paper to use with a letterhead design I'm creating. Where is the best place to save custom paper swatches on my Mac? Is there a common folder I can put them in that will allow me to share t

  • Creative ZEN Mozaic case

    Hello, My ZEN Mozaic front&rear cases were broken by an impact. Where can I buy a new original cases? I don't found it anywhere. Thank you!

  • Error in OFR : "No database connection string set for connection group"

    Hi all.. In OFR, Batches Fail To Export When Line Pairing is Enabled and Batch Remains in State 750 With Error "No database connection string set for connection group". I have followed all steps associated to line pairing with database still my batch