I have a jsp form
<form action="../sup/Processor.jsp" method="POST" name="ProjectKey" id="Proje">
I want to send this from in to another jsp page. How can i do that
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What I understand from your question is you want to re-use the
<form>snippet in your other JSPs.Please correct me if this is not what you want, I would suggest providing more information in your question about what you exactly want to do and why. Thanks
So you can have your
formin a JSP, saymy_form.jspand then reuse themy_form.jspby using any of the following:Using the
includedirective i.e. static includeUsing the
jsp:includestandard action, this will include the form inmy_form.jspin any page at run-time.In addition here are some more links which can help you understand this better:
<jsp:include>I would suggest you go through some good tutorial regarding the concepts of web-application and using jsp and servlets. Our tags on stackoverflow have good information regarding what to read and how to dive deep in the topic.
Hope this helps.