JSP on OSX

Discussion in 'Mac Programming' started by yg17, Aug 1, 2006.

  1. macrumors G5

    yg17

    Joined:
    Aug 1, 2004
    Location:
    St. Louis, MO
    #1
    I know HTML, and I know Java. I've just never actually combined the 2 for JSP. I need to do a little JSP stuff for work and need to practice. How do I go about using JSP on OSX? I already have Apache, PHP and MySQL.

    Thanks
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Install Tomcat?

    Apple have some nice docs...
     
  3. macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #3
    Two words: Apache Tomcat

    If you need to integrate into Apache HTTP Server, you will need a connector such as mod_jk
     
  4. macrumors regular

    Joined:
    Jan 28, 2006
    #4
    Or go download the Netbeans bundle (under J2EE downloads) from java.sun.com. That's what I use - it's at least a container and a webserver (not sure if it's a full J2EE-compliant application server i.e. EJBs might not work). Netbeans includes Tomcat and I've been writing and deploying JSPs and running them locally.
     
  5. macrumors 601

    Compile 'em all

    Joined:
    Apr 6, 2005
    #5
    It is highly recommended that you start by learning servlets first then moving on
    to JSP. And as other people mentioned, to use either servlets or JSP you will
    need a webcontainer (e.g Tomcat).
     
  6. macrumors regular

    Joined:
    Feb 14, 2006
    #6
    Use Tomcat, unless you want to make the leap to full-blow J2EE, then grab JBoss, which ironically uses Tomcat as its servlet container. Mod_jk works well with apache, and can make either JBoss or Tomcat work pretty seemlessly with static web content.
     

Share This Page