How can i connect from jsp to servlet page
Answers were Sorted based on User's Feedback
Answer / venkatesh
By calling formaction
<form action="Name Declared in web.xml" method="post">
| Is This Answer Correct ? | 37 Yes | 11 No |
Answer / prasanth setty
Using <jsp:include> or <jsp:forward> we can dispath the
request form a jsp to servlet.
<jsp:include file="Actionservlet"/>
| Is This Answer Correct ? | 11 Yes | 4 No |
Answer / gururajan j
<form action='<c:url value="servlet.do"/>' method='post'>>
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ealngo
<form action ='<c:url path value="servlet.do"/>,method='post'>>
| Is This Answer Correct ? | 3 Yes | 3 No |
What is jsp and its uses?
Define Static Block.
How to set a cookie in JSP?
How many types of jsp tags are there?
When i am useing useBean tag of JSP in weblogic server It show compiletion error..Like bad class file: C:\bea\user_projects\domains\Mahesh\applications\UseBean\WEB-INF\classes\user\UserData.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. user.UserData user1 = null; //[ /SaveName.jsp; Line: 4]
what is difference between redirect and forward method?
12 Answers Polaris, TCS, Wipro,
What is tag file in jsp?
how can i get a scjp certification??
Explain pge Directives.
How do you connect to the database from jsp?
How can we handle the exceptions in jsp?
Which one is better jsp or servlet?