Ragini Shukla
hppppp
1 Answer(s)      4 years and 7 months ago
Posted in : Java Beginners

View Answers

October 20, 2008 at 1:30 PM


Hi Ragini,



<%@ page language="java" %>
<%
String username=(String) session.getAttribute("username");
if(username==null) username="";
%>
<html>
<head>
<title>display saved Name</title>
</head>
<body>
<p>Welcome: <%=username%><p>

</body>


-------------------------------------------------------------------
Visit for more information.

http://www.roseindia.net/jsp/jspsessions.shtml


Thanks.









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.