aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP static include issue" Watch "JSP static include issue" New topic
Author

JSP static include issue

Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

Hi,

I have a JSP named ui_init.jsp which uses the string constants defined in another class named AppConstants.java
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 AppConstants.java and using it in ui_init.jsp as AppConstants.REPORT_URL

I am compiling the AppConstants.java 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
 
jQuery in Action, 2nd edition
 
subject: JSP static include issue