i got this error:
Method Not Allowed
The requested method POST is not allowed for the URL /NewReg.jsp.
--------------------------------------------------------------------------------
Apache/1.3.33 Server at localhost Port 80
1 got 2 pages (1 php page and 1 jsp page)
1st page, pg1.php
<html>
<head>
<title>123</title>
</head>
<body>
<form method="POST" action="NewReg.jsp">
<p>name:<input type="text" name="username"></p>
<p><input type="submit" value="Submit" name="b"></p>
</form>
</body>
</html>
above pg1.php will send "username" to the 2nd page, NewReg.jsp. below is NewReg.jsp coding:
<html>
<body>
<p><%=request.getParameter("username")%></p>
</body>
</html>
the jsp page should display the username that send by pg1.php
NOTE:
there is no error when both pages are php page
what i meant=> page pg1.php send 'username' to another page pg2.php that will display the username. this work fine.. i dont know why i facing prob when send parameter to jsp page.
can someone help me

thank you so much...