Quote: i have 2 html pages.retrieve data from both and display on other servlet page.And i having a button redirecting to first html and re-entering the data again .second given data will be show below first given data , automatically in servlet page
String name=(String)session.getAttribute("n"); String email=(String)session.getAttribute("e"); String mobno=(String)session.getAttribute("m"); // out.println("<body><h1>"+count+" :Entry</h1>"); out.println("<h3>Name:"+name+"</h3>"); out.println("<h3>Email:"+email+"</h3>"); out.println("<h3>Mobno:"+mobno+"</h3>"); // count++; out.println("<a href=First.html>Go Home</a>")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)