Converting PHP to JSP
For work I need to convert a code that I wrote in PHP to JSP in order for it to run on our windows server.
Trouble is, I know very little java. The script is a very simple, short email script located here: http://pastebin.com/m7b4b4e96
Any help would be greatly appreciated.
[293 byte] By [
Timexa] at [2007-11-27 10:56:25]

# 1
Don't convert. Rewrite it.
If you don't know JSP, ask your boss for books and courses.
# 2
Well I would still appreciate help with this specific script as learning a new language is very time consuming, but is there an entry level JSP book you might recommend?
Perhaps this one?
http://www.amazon.com/Murachs-Java-Servlets-Andrea-Steelman/dp/1890774189/ref=pd_sim_b_5_img/002-0859111-9005647
Message was edited by:
Timex
Timexa at 2007-7-29 12:02:50 >

# 3
Well i feel the one provided by Kathie Sierra & Bates(Head First) wud be a better one.
anyways checkout below links which might be helpful too.
http://www.javapassion.com/j2ee/JSPBasics.pdf
http://courses.coreservlets.com/Course-Materials/csajsp2.html
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
http://www.roseindia.net/jsp/jsp.htm
Hope tht might help :)
REGARDS,
RaHuL
# 4
> Perhaps this one?
>
> http://www.amazon.com/Murachs-Java-Servlets-Andrea-Ste
> elman/dp/1890774189/ref=pd_sim_b_5_img/002-0859111-900
> 5647
I have read many many JSP and Servlet books in the past and the book you mentioned (Murachs-Java-Servlets book by Andrea Steelman) is the best by far above any other books.