You are also not looking hard enough for shared java support. You can get it for free at several sites. And you can find many hosting companies offering support.
Daniel Jaffa Java Developer -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of G.Nagarajan Sent: Monday, May 13, 2002 4:16 AM To: [EMAIL PROTECTED] Subject: Re: comparing JSP/PHP hi, Here are some advantages of using jsp over PHP. I have not worked with PHP but it is like asp, so some features listed below might be available. 1. JSP pages are compiled into a java class (servlet) during the first invocation. The subsequent requests are then served by the compiled class. In the case of PHP, the code is interpreted and executed for each request. 2. JSP uses java code while PHP uses its own syntax. 3. We can easily use OOPs techniques in jsp. Complex code can be put into java classes and they can be invoked from the jsp page. We can invoke the java interpreter from PHP but that would not be an elegant solution. 4. JSP provides tag libraries which can be used to hide the java code even further. Basically, in my opinion, if the client's applications needs only some simple scripting then PHP will be a good option. If there are lots of complex logic, with database access etc then jsp with servlets would be a better option. Writing lots of loops, ifs and exceptions in a page mixed with html and javascript will a nightmare. Then you also will have to worry about the html design etc. regards, Nagarajan. > -----Original Message----- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lynn > Sent: Monday, May 13, 2002 6:28 AM > To: [EMAIL PROTECTED] > Subject: comparing JSP/PHP > > > OK, so I got a bit of an odd question here. I've been programming internet > applications for a few years now and I started with JSP because > of a previous > background with Java applications. However, I've found that in my > area, getting > shared hosting with Java support is the next closest thing to > impossible and is > usually very expensive. For this reason I've had to switch to > mostly using PHP. > > I would be very interested in knowing what the comparitive > strengths and weaknesses > are between the two languages if anyone out the is knowledgable > in both. Though > monetary limitations usually force me into PHP, I would like to > be able to make an > educated decision on wether it's worth pushing a client towards JSP. > > Thanks much, > > Daniel Lynn > Mystic Productions > > ================================================================== > ========= > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com