Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Ragini Shukla
hppppp
1 Answer(s)      6 years and a month ago
Posted in : Java Beginners



Advertisement
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 Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com