Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Websphere and the fly likes How to force a web page to compile any time in websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "How to force a web page to compile any time in websphere" Watch "How to force a web page to compile any time in websphere" New topic
Author

How to force a web page to compile any time in websphere

Martin Coetzee
Greenhorn

Joined: Dec 02, 2003
Posts: 21
Hi Guys... I've got a problem. I'm in the process of writing front-end logic for a system. The problem I have is that I've got a couple of JSP pages. The main jsp contains includes to the rest of the jsp pages. When I modify a included jsp page, I always have to 'touch' (re-save) the main jsp file, in order to see the changes a made to the included page.
Can somebody please help me, for I make alot of changes to the jsp page, and always need to touch the main file. It's getting frustrating. Now I'm wondering, is there a way to force compilation on each jsp page?
I'm using WSAD 5.1 on windows 2000 box.
Thanx
Martin Coetzee
Dave Teare
Ranch Hand

Joined: Oct 09, 2002
Posts: 80
Hi Martin,
I've had this same frustration - statically included JSP's are not part of the "isChanged" algorithm for a given JSP. What I do is delete the generated class files (AppServer/temp in WAS, don't know about WSAD) in order to force all JSP's to be recompiled. This sucks, but at least I don't have to go edit every JSP that includes header.jsp, copyright.jsp, etc.
Hope this helps.
--Dave.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: How to force a web page to compile any time in websphere
 
Similar Threads
How does JSP engine understand need to translate JSP into Servlet and recompile?
Another Problem.Changes in included/linked files are not updated?
Including a page
changes to included file not being picked up
How put/create variables in include page for use on all pages?