Java
T
point
Home
Core Java
Servlet
JSP
Struts2
Mail API
Hibernate
Spring
Android
Design Pattern
Projects
Interview Q
View All Questions
Ask New Question
if i can register data in database simply then why we use dao and bean class as you instructed in jsp notes in registraion topic
By:
shalin***
On:
Sat Apr 07 17:31:59 IST 2018
0
0
0
0
%@page import="bean.RegisterDao"%>
<jsp:useBean id="obj" class="bean.User"/>
<jsp:setProperty property="*" name="obj"/>
<%
int status=RegisterDao.register(obj);
if(status>0)
out.print("You are successfully registered");
%>
0
0
By:
[email protected]
On:
Thu Apr 12 17:25:35 IST 2018
0
0
0
0
Are You Satisfied :
0Yes
0No