<jsp:include> pages in static block of _jspService method
Christopher McCauley
Greenhorn
Joined: Jan 03, 2005
Posts: 27
posted
0
I have joined a new project, and I am trying to make room for additional code in a jsp...I understand that this desperately needs to be refactored, but....we'll leave it at that
There are about 28 include directives that stack up to a very large _jspService method and for two of the larger pages I am changing them to jsp:include, but it is not working.... Here is one of the includes:
And here is the _jspService code generated:
Ideas?
This message was edited 1 time. Last update was at by Bear Bibeault
JCM<br />good at cookin'
Bear Bibeault
Author and opinionated walrus
Marshal
If you're saying it's generated the same code for both a static and dynamic include then something else is probably broken and you're not seeing the most recently generated source, or it's not being generated.
This message was edited 2 times. Last update was at by David Newton
Christopher McCauley
Greenhorn
Joined: Jan 03, 2005
Posts: 27
posted
0
Ill try again. (I'll be sure to avoid any catch phrases... :wink
This message started the process:
from log:
I changed a include directive to a dynamic include and for all intents and purposes..it actually didnt work, doh!....what could be wrong is my assumption that the static dependencies seen in the static block of the _jspService method are not realted to the actual compilation of the jsp --> servlet...I am not sure of this...
I have opened the source file (jspName.java) generated in the work directory and there is no correlated .class file, thus leading me to believe( perhaps falsely) that I am 1) looking at the correct generated file ( confirmed by timestamp) and that 2) it is the file that is failing to be compiled.
any other info that might be helpful?
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
Delete the Java file and try again.
If that's not it, then the file is still too large.
subject: <jsp:include> pages in static block of _jspService method