jsp - Form Post Action Error in Eclipse -


i have 2 jsps .. first 1 register jsp i.e(register.jsp) resides in (main folder of webcontent) , other jsp i.e(register_worker.jsp in worker folder of webcontent) supposed act servlet or worker jsp. when click submit button shows error

http status 404 - /learn-ui/jsp/main/register_worker.jsp

  • type:status report
  • message:/learn-ui/jsp/main/register_worker.jsp
  • description:the requested resource not available.

the form action posted below.

<form id="form_register"        name="form_register"        method="post"        action="register_worker.jsp"> 

the path of register.jsp isn't same register_worker.jsp. you'll need change path. work fine:

<form id="form_register" name="form_register" method="post" action="../worker/register_worker.jsp"> 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -