how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / aryan
String name="Arpit";
session.setAttribute("user",name);
String sessionuser=session.getAttribute("user");
out.println("WellGud"+sessionuser);
Is This Answer Correct ? | 36 Yes | 11 No |
Post New Answer View All Answers
Perform a browser redirection from a jsp page?
How can you include the results of another page?
What is jsp api?
What are different types of comments in jsp?
What is difference between java and jsp?
What is application in jsp?
What is full api?
What is jsp scriptlet tag used for?
Why do we use jstl tags?
Explain the jsp life cycle?
When i am useing useBean tag of JSP in weblogic server It show compiletion error..Like bad class file: C:\bea\user_projects\domains\Mahesh\applications\UseBean\WEB-INF\classes\user\UserData.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. user.UserData user1 = null; //[ /SaveName.jsp; Line: 4]
What jsp lifecycle methods can I override?
How to print java variable in jsp?
what are the tools used in your project , How to ask the answer this question
What is JTGrid?