Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2002): Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) in /home/itprojectsco/public_html/includes/database.php on line 13
Ready Project |BCA Project | MCA Project | BBA Project | MBA Project |INDIA'S BIGGEST COLLEGE PROJECT STORE
HTML FILE:
<!DOCTYPE html>
<html>
<body>
<form method=get action="Slip25.jsp">
Enter User Name : <input type=text name=uname>

Enter Nick Name : <input type=text name=nname>

<input type=submit value="visit">
<</form>
</body>
</html>

JSP FILE :
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<body>
<%!
intcnt=0;
String uname,nname;
%>
<%
uname=request.getParameter("uname");
nname=request.getParameter("nname");
cnt++;
if(cnt%2==0)
out.println("Hello "+nname+"......... Visit Count "+cnt);
else out.println("Hello "+uname+"......... Visit Count "+cnt);
%>

<a href="Slip25.html">VISIT
</body>
</html>

Search

Project Categories


    Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/itprojectsco/public_html/includes/sidebar.php on line 30

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/itprojectsco/public_html/includes/sidebar.php on line 32

Recent Posts


Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/itprojectsco/public_html/includes/widget.php on line 5

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/itprojectsco/public_html/includes/widget.php on line 7

Sign In