• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsp compilation in WSAD

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a JSP which uses some static includes.
The static include is modified and the JSP page is saved.
The changes made to the static include are visible when testing on localhost.However when the application is deployed on to a different server
the changes are not reflected.

Do you guys know how to fix this problem?

Thanks in advance.
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is because the including JSP is not changed.

This is a FAQ around these parts; the answer is that this is generally not a good design because you must touch every JSP that includes it in order for the app server to know it needs to recompile them.

WSAD, as a developer tool, is a bit smarter than an app server at dependency tracking.

In WAS, the answer is to do a complete uninstall and reinstall -- making sure to regen the http server plugin and stop/start the app server after each step.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

There are 2 solutions:

1. touch all jsp files that use the include (or just all)

2. delete all the (temp) jsp comipled files which are the servlet version of the jsp, thus forcing the jsp to be recomipled.

J
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic