humm well that would be tricky.. since jsp is more like asp and all the crappy com dcom stuff, thats why its really hard to convert asp 2 php because theres to many ways to write the stupid com crap which should not be this way but be one way... but if I was you id just learn jsp and look at the php code and just do a type of copy... write the code from scratch would be better...
any reason you want to use jsp???