wood burning stoves 2.0*
The moose likes Websphere and the fly likes jsp:include not working for jspf file in /WEB-INF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "jsp:include not working for jspf file in /WEB-INF" Watch "jsp:include not working for jspf file in /WEB-INF" New topic
Author

jsp:include not working for jspf file in /WEB-INF

Gyan Shankar
Ranch Hand

Joined: Dec 12, 2005
Posts: 65
I am using IBM Websphere 5.1.0.3
I have a conditional jsp:include in a jsp file.

It gives me error "403 File not found: /WEB-INF/jspf/test1.jspf"
It works if the file is named .jsp or if the jspf file is not inside /WEB-INF.
It works fine in Tomcat 4.

Any suggestion how to fix this?


SCJP(1.4), SCWCD(1.4), SCBCD(1.3), SCDJWS
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Correct me if I'm wrong but it's highly likely that your version of WAS doesn't support JSP fragments yet.


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Gyan Shankar
Ranch Hand

Joined: Dec 12, 2005
Posts: 65
I am not really sure about that.
I have been provided this version and am trying to deploy our Tomcat application onto Websphere.
Do you think upgrading the Websphere version will help?
If so, what version should i be using?
 
jQuery in Action, 2nd edition
 
subject: jsp:include not working for jspf file in /WEB-INF