This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP static include issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP static include issue" Watch "JSP static include issue" New topic

JSP static include issue

Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448


I have a JSP named ui_init.jsp which uses the string constants defined in another class named
The ui_init.jsp is included in the home.jsp using the following tag <%@ include file="ui_init.jsp" %>

Now I am adding a new constant in the and using it in ui_init.jsp as AppConstants.REPORT_URL

I am compiling the to class file and copying it to the corresponding classes folder in the weblogic server
I am copying the JSP's as it is on the server.

Here is the exception I am getting on accessing the home.jsp:

Here is what all things I have tried to resolve this:

1) Deleted the translated Java file corresponding the home.jsp and ui_init.jsp from the temp folder
2) Made a change in the home.jsp (Simply added a blank line so that server sees it as changed)

Any pointers as to why I am facing this issue?

Java Experience
I agree. Here's the link:
subject: JSP static include issue
Similar Threads
Can i Configure the JSP java files & class files to another folder
JSP---> Struts
java 1.5 ( generics and autoboxing) not working in Tomcat 5.5.9.
JSP file Include path fails with tomcat 6.0
JSP---> Struts