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

Similar Messages

  • 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

  • NTLM for Apache web server

    First, I didn't find a specific category in the forums for the Apache web server that comes with Oracle 8i and 9i, so if this isn't the right place, I'd like to know where it is.
    Anyway, has anyone had success using NTLM with recent versions of Oracle's Apache web server? I had it working with 8.1.7, but when I upgraded to 8.1.7.3, it broke again. It doesn't work with 9.2 either. Oracle support was quite unimpressed that I had even tried it at all, but I think it is something that should be part of an intranet web server in a corporate environment, since Windows is on most desktops.
    Thanks,
    Andy Johnson

    NT Lan Manager authentication for Apache? Are there even APIs published by Microsoft? On the other hand, I would not be surprised if a module exists. (then again Oracle would not support it for their variant of Apache=OHS)

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

  • 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

  • Apache web server 2.0 plugin issue with Iframes

    I was wondering if anyone had any issues related to iframes when going from the Apache plugin for version 1.3 to version 2.0. Currently I'm having a problem where I use the mod_wl20.so plugin on Apache web server 2.0X and I will get a download dialog box to download a html file. I do not have this issue when using the plugin for Apache web server 1.3X.
    Thanks
    Jon
    Message was edited by:
    [email protected]

    there is no SAP supported solution for Apache2.
    Note https://service.sap.com/sap/support/notes/442401 stated the development has ended.
    But you can build your own filter based on SSOEXT library, see https://service.sap.com/sap/support/notes/304450 for details.
    regards, Norbert

  • Apache Web Server for Content Server 6.4

    Hi!
    I have installed the SAP Content Server 6.4 with a SAP DB instance (MaxDB 7.6.0) on SuSE Linux Enterprise Server 9 (32bit-Version). I've also installed Apache Web Server 2.0.49 via yast.
    When i am trying to access the server through csadmin in the Knowledge Warehouse, i get the following error message:
    Error in HTTP-Access:  IF_HTTP_CLIENT->RECEIVE 1
    ICM_HTTP_CONNECTION_FAILED
    The Content Server's database is online and the Apache is running, but when i prompt the command
    apache2ctl fullstatus (or apache2ctl status, respectively)
    it says:
    Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
    If you think this is a server error, please contact the webmaster.
    Error 404
    localhost
    The linux-version is 2.6.5-7.244-smp
    SuSE-version is SLES 9 (i586), Patchlevel 3
    I am pretty new to Linux and Apache, so i really do appreciate any kind of help!
    Thanks a lot!
    best regards, TW

    Hi. Did you figure this out ? I have the same error and the only difference is I am using apache on Solaris.  I found the file /sapcs/apache/2.0.59/logs/error_log. From some trial and error, it looks like in the home dir of apache is in /sapcs/apache/2.0.59/htdocs but in csadmin the field 'http script' doesn't like relative addressing. ( I put in ../modules/mod_sapcs.so ) and it still didn't like it. I ended up creating a softlink in htdocs that point back to the modules directory. Now I get other issues ( can't create the content repository from csadmin - get http: 405 method not allowed ).

  • Configure/installing apache web server (1.3.26) plug in for weblogic server  6.1

    hi,
    can any body know the exact steps to configure the apache web server which can proxy requests to weblogic server 6.1?
    thanks in advance.

    hi,
    can any body know the exact steps to configure the apache web server which can proxy requests to weblogic server 6.1?
    thanks in advance.

  • Policy Agent 2.2 for Apache HTTP Server

    hi,
    I'm trying to configure Policy Agent 2.2 for apache http server.
    The agent seems to be installed properly, in fact when I access the protected resource, I get the Access Manager login page.
    Then I log into access manager, but I'm redirected to an error page.
    Looking in log files I can see:
    agent's "amAgent" log file:
    Debug 10763:f8fe0 AuthService: HTTP Status = 200 (OK)
    Debug 10763:f8fe0 AuthService: Http::Response::readAndParse(): No content length in response.
    Debug 10763:f8fe0 ServiceEngine: Service::do_agent_auth_login(): Setting password callback.
    Debug 10763:f8fe0 ServiceEngine: Service::do_agent_auth_login(): Setting name callback to 'apache2Agent'.
    Debug 10763:f8fe0 AuthService: BaseService::sendRequest Cookie and Headers =Host: crmzone.company.icteam.it     
                   Cookie: JSESSIONID=193E5E1590C924A42B95A00A51DC0479;amlbcookie=01
    Debug 10763:f8fe0 AuthService: BaseService::sendRequest Content-Length =Content-Length: 620
    Debug 10763:f8fe0 AuthService: BaseService::sendRequest Header Suffix =Accept: text/xml
                   Content-Type: text/xml; charset=UTF-8
    Debug 10763:f8fe0 AuthService: HTTP Status = 200 (OK)
    Debug 10763:f8fe0 AuthService: Http::Response::readAndParse(): No content length in response.
    Error 10763:f8fe0 AuthService: AuthService::processLoginStatus() Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp.
    Error 10763:f8fe0 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp and code:3
    Warning 10763:f8fe0 PolicyAgent: am_web_is_access_allowed()(http://10.0.0.31:80/SugarOS-Full-4.5.0f, GET) denying access: status = Access Manager authentication service failure
    Debug 10763:f8fe0 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://10.0.0.31:80/SugarOS-Full-4.5.0f.
    Info 10763:f8fe0 PolicyAgent: am_web_is_access_allowed()(http://10.0.0.31:80/SugarOS-Full-4.5.0f, GET) returning status: Access Manager authentication service failure.
    Info 10763:f8fe0 PolicyAgent: process_request(): Access check for URL http://10.0.0.31/SugarOS-Full-4.5.0f returned Access Manager authentication service failure.
    Debug 10763:f8fe0 PolicyAgent: process_request(): returning web result AM_WEB_RESULT_ERROR, data []
    Debug 10763:f8fe0 PolicyAgent: am_web_process_request(): Rendering web result AM_WEB_RESULT_ERROR
    Debug 10763:f8fe0 PolicyAgent: am_web_process_request(): render result function returned AM_SUCCESS.
    Access Manager's "amAuthentication.error" log file:
    "Login Failed|module_instance|Application" Application AUTHENTICATION-268 dc=opensso,dc=java,dc=net "Not Available" INFO apache2Agent 10.0.0.31 "cn=dsameuser,ou=DSAME Users,dc=opensso,dc=java,dc=net" CRMzone
    I tried to change the name of the agent either in its AMAgent.properties or in Access Manager "Agents" configuration page.
    I also used "crypt_util" to generate a new passoword, but nothing seems to happen.
    Where should I look to get more info about this problem? Specific log file?
    Is it due to wrong name/id/password of the agent? I really checked them many times...
    Thanks
    Fabio

    I think the error message "Application user ID is not valid" is pretty self evident.
    Log into the amconsole and go to the root realm/organization. Make sure the Agent profile exists and reset the password again to know value. If you created the agent profile in a sub realm/organization, you will need to make sure the subrealm/organization is set in the AMAgent.properties since the default value is / for the root realm/organization. Update the AMAgent.properties file will the Agent ID and the password generated by the crypt_it tool (com.sun.am.policy.am.username, com.sun.am.policy.am.password)
    If that doesn't work, check the amApplication debug log and then look at the ldap server access logs to see why the auth bind failed.

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

  • Some tutorial for Tomcat Web Server

    Hi,
    I would like to know where I can find a downloadble tutorial about
    Tomcat web server.
    I am a begginer in Java technologies and I have a question.
    ,Tomcat web Server works also like App Server? and Can Apache web
    server works together Tomcat app server? and if it possible, How?
    Give me an example, please.
    Thanks a lot,
    ras283

    You can go to apache.org for information.
    Tomcat can work with Apache, but it only serves JSPs and servlets (and static pages, if you don't want to bother with Apache).
    The J2EE Reference Implementation (j2sdkee1.3.1) includes Tomcat, and functions as an app server as well. See the J2EE tutorial http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html and Java Pet Store demo http://interstagedemo.fs.fujitsu.com:8000/petstore/index.jsp / http://java.sun.com/features/2001/12/petstore13.html

  • Apache web server/jakarta tomcat

    Hey guys!
    here's the fact, i installed jakarta-tomcat and apache web server, but i don't know how to integrate them, i mean, I just want to have one http server with the functionality to use servlets. Do I need only jakarta tomcat to have this?, please help me.
    and forgive my very poor english! :)

    Hallo.
    Create or edit the file %APACHE_HOME%/conf/worker.properties
    worker.list=ajp13
    worker.ajp13.port=8009
    worker.ajp13.host=localhost
    worker.ajp13.type=ajp13
    Edit the file %APACHE_HOME%/conf/httpd.conf
    LoadModule jk_module modules/mod_jk.dll
    AddModule mod_jk.c
    JkWorkersFile "%APACHE_HOME%/conf/worker.properties"
    JkLogFile "APACHE_HOME%/logs/mod_jk.log"
    JkLogLevel debug
    Alias /myWebApp "%TOMCAT_HOME%/webapps/myWebApp"
    JkMount /myWebApp/*.jsp testWorker
    Check the file mod_jk.dll in the folder %APACHE_HOME%/modules/. Howevere there are different libraries for different versions of Apache Web Aerver and Tomcat.
    Edit the file %TOMCAT_HOME%/conf/server.xml
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="20000"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    Good luck.

  • 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 save uploaded image file to Apache Web Server from Tomcat

    Hi guys,
    Perhaps this is not an appropriate topic to ask under this forum but I really don't know where should I post my question. Hope you understand.
    Ok, I need to know if my web application is running in Tomcat5 and user uploading some image file where I need to save these image files to the other server, which is running Apache Web Server. Should I ftp to there or other better method ?
    Anyone got a better idea on doing this kind of process pls advice. Many Thanks !
    regards,
    Mark

    if your Apache server is running in the same computer and if your servlet have write access to the folder in apache under which you want to save the file you can just write the file there but you will have to address concurrency issues.
    Otherwise you will have to do ftp but since apache does not have abuilt in frp server you will need a seperate FTP server for this

Maybe you are looking for

  • How to include Animated GIF-s?

    Can animated gifs be included in a LabVIEW VI front panel?If so, how? Thanks in advance for any hint Gorka * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is

  • SOA 10g JMS adapter does not pick up large messages in Oracle AQ

    I am using SOA 10g 10.1.3.4 MLR #9. When I enqueue a large JMS message ( of type SYS.AQ$_JMS_TEXT_MESSAGE ) into the AQ from SOA 11g it goes into the TEXT_LOB portion of the USER_DATA column in AQ. In addition to this GROUPID and GROUPSEQ do not seem

  • E7 Dead -- Is it the battery, the device? Voltage...

    Hi, I caught my E7 dead on saturday. Nothing special before, it should have been charged, maybe I left the GPS on so the battery could have been empty. "No worries", I thought, plugged it into my car charger, waited a couple of seconds (unfortunately

  • The firefox profile manager doesn't come up when I search for it in the start menu or run.

    I don't know if I messed it up which I probably did and I don't know what happened. I use two profiles. The default for the aurora/nightly and the one I made for the stable version. The default profile has the compatibility reporter and I wanted to i

  • Returning operation, table and column from a sql query

    Hi, I am working on Oracle 10g and i have to do achieve something like this. i have to create procedure or functions which will accept a SQL query and will return following : 1).  Operation like 'SELECT', 'INSERT', 'UPDATE', 'DELETE' etc. 2).  Column