Is there an easy way to do this without using sockets? for example, <jsp: forward>
to do what?
ask a decent question you may get a decent answer, trivia is trivial.
I want to forward a request from index.php to something.php
In JSP you can do this by
<jsp:forward page="something.jsp"/>
I have seen some solutions using sockets, i just wanted to know if there is other way of doing this w/o sockets.
<?php header("location: something.jsp"); ?>
the problem is all the form data that has been posted to index.php will be lost.
Would it be possible to use sessions for this?
or something like:
<?php header("location: something.jsp?data=$_POST['data']"); ?>