Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!

sailaja usha

Greenhorn
+ Follow
since Jun 23, 2012
sailaja likes ...
Eclipse IDE Tomcat Server Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sailaja usha

hi

In web.xml file,
<session-config>
<session-timeout>1</session-timeout>
</session-config>

try to reset the session-timeout value
7 years ago
JSP
Try to read AJAX, Asynchronous JavaScript and XML which helps you to accomplish your task
7 years ago
hi

the header and footer pages are just only the html pages right...!

try to include them as .html files.
7 years ago
JSP
can you make your question more clear......
7 years ago
is it required to enclose the string contents in single quotes..?
Mr.Nishi

try to remove the spaces in the user type.

i think in " seller" there is a space.

trim the string.
8 years ago
JSP
This shows you are not receiving the value of type other than admin.

could you please post the database values of the table user....
8 years ago
JSP
try testing on your if conditions.....

try placing the if condition for "admin" in else if() like

if("seller".equals(type))
......
else if("admin".equals(type))
.....
else if()
....

such that we can find out where the issue is.
8 years ago
JSP
sorry for the above message, i didn't see your code.

try to match the strings without using "equals" function.
8 years ago
JSP
Mr.Nishi ,

Post your code(part where you got strucked) such that the others can identify the error or reason.

Sailaja
8 years ago
JSP
Welcome Mr.Deepak to our Javaranch
8 years ago