Find the answer to your Linux question:
Results 1 to 2 of 2
I currently have FC4 running with apache and iam desinging a webpage wherein some parts of the code are in PHP and and some files in JSP. Ho wdo i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Location
    chennai
    Posts
    6

    Running JSP with apache


    I currently have FC4 running with apache and iam desinging a webpage wherein some parts of the code are in PHP and and some files in JSP. Ho wdo i run them simulatenously.

    I have tried doing with TOMCAT but !im clearly not able to grasp how it all comes togetehre ! can someone explain how it happens ?

    thnx
    taggy

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    http://tomcat.apache.org/tomcat-3.2-...che-howto.html

    check that link

    also this google search

    http://www.google.com/search?hs=zbt&...at&btnG=Search

    basically the way it works is apache is the front end, all web requests hit apache, if its html or php apache tells itself to serve the page, if its jsp apache hands it off (using mod_jk connector) to tomcat on port 8080. the user isn't connecting to port 8080 but instead still connecting to apache on port 80 and apache is doing the leg work to get to tomcat.

    it works very nice. depending on your distro, if its debian based try
    #apt-cache search mod_jk2
    if redhat based try yum search mod_jk2

    otherwise check the docs above, its not to terribly difficult to install from source.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •