Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP static include issue

 
Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic