Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005

    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 ?


  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina

    check that link

    also this google 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