I want to learn a cutting edge language that will be used for many years to come. The language I pick will be the one I write all my scripts in (like guestbooks etc...).
Can I connect to MySQL servers using JSP? I'm pretty sure you can.
Any help appreciated.
JSP can connect to databases using the JDBC (Basically ODBC for Java).
If you have the time then I would suggest both as PHP doesn't take long to pick up at all. JSP is going to be the enterprise language of choice I feel from now on so it is definately worth looking at, but it will sometimes be overkill for some projects that can be developed quicker in PHP.
If you've got a good authoring environment, JSPs can be written as quickly as PHP scripts. JSP-enabled servers tend to be more expensive than PHP-enabled servers, however. They're more complicated to set up and maintain.
JSP definitely takes longer to learn, though. First you need to learn standalone Java, then you can launch yourself into the world of JSP.
There is a free host that I got recommendation from BC that offer JSP: http://www.mycgiserver.com
I am gonna use it as a place to learn! :)
Hey thanks guys I've decided to keep going with PHP and MySQL and put JSP and Java on hold.