| Author |
Help in inculde a jsp
|
Soumya Rout
Ranch Hand
Joined: Aug 06, 2009
Posts: 49
|
|
Heloo,
In my app i want to include a jsp depending upon the user type. I have used following code . But its showing NullpointerException.
Please help me out..
Thanks in advance..
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
Java in a JSP is a poor practice. You should update your knowledge of JSP.
In any case, a null pointer exception means that there's a null reference. You need to find it.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Girish Wakure
Greenhorn
Joined: Apr 14, 2010
Posts: 28
|
|
|
can you give 'full error stack'?
|
 |
ravindra patil
Ranch Hand
Joined: Sep 01, 2006
Posts: 196
|
|
Hi,
i think
usrtyp is getting null value ...
|
 |
akhter wahab
Ranch Hand
Joined: Mar 02, 2009
Posts: 151
|
|
|
use <jsp:include> tag.... this might take absolute path of the page...........
|
Start Earning Online||Start Earning Using Java
|
 |
 |
|
|
subject: Help in inculde a jsp
|
|
|