Ajay KumarKashyap

Greenhorn
+ Follow
since Dec 26, 2012
Merit badge: grant badges
For More
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ajay KumarKashyap

Hi Amit,


thanks for Your suggestion.


the directory Structure for this application is like.

root Folder
|_____________ JavaSorce(Folder)
|______________Screens(Folder)
|_____________ Examination(Folder)
|______ all jsp Files
|_______________Menu(Folder)
|________ jsp files


actually the application has build nearby 8-10 years back. theres is no structure according to latest Directory Structure
it is used in Folder like Strucrture.

Thanks & Regards.
Ajay
11 years ago
JSP
Hi All,

I am working on an application which uses relative path to include JSP file

the file which i want to include is in other package.
when i am running the current JSP page it is throwing

java.lang.NullPointerException
at oracle.jsp.provider.JspFilesystemResource.translateToAbsolutePath(JspFilesystemResource.java, Compiled Code)


but when i am moving that included file into same package it is running proeprly.
The relative path for other package i am using is :

<%@ include file ="../Examine/exam.jsp"%>

and for same package i am using

<%@ include file ="exam.jsp"%>


Server on which I am working is Apache HTTP 1.2
and Jdk 1.2.2
IDE: Eclipse


Could any one help me out for this.

Thanks in advance.
11 years ago
JSP