File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
It's not a secret anymore!