PDA

View Full Version : JSP on OSX




yg17
Aug 1, 2006, 03:20 PM
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



robbieduncan
Aug 1, 2006, 05:18 PM
Install Tomcat?

Apple have some nice docs (http://developer.apple.com/internet/java/tomcat1.html)...

jeremy.king
Aug 1, 2006, 05:19 PM
Two words: Apache Tomcat (http://tomcat.apache.org/download-55.cgi)

If you need to integrate into Apache HTTP Server, you will need a connector such as mod_jk (http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html)

atmenterprises
Sep 3, 2006, 05:25 PM
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.

Compile 'em all
Sep 5, 2006, 09:02 AM
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

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).

mbabauer
Sep 11, 2006, 09:54 PM
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

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.