How to force a web page to compile any time in websphere
Joined: Dec 02, 2003
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
Joined: Oct 09, 2002
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.