Thanks for that but I have found out the problem. My Visual Age had a corrupted install where the pageContext.include(String URL) method was corrupt!#* I have re installed and I am now OK. By the way you can use JSP1.0 but you have to edit the file :- <installPath>\ide\project_resources\IBM WebSphere Test Environment\hosts\default_host\default_app\servlets\default_app.webapp in this file edit the line found in the JSP servlet as so: swapped com.ibm.ivj.jsp.debugger.pagecompiler.IBMPageCompileServlet for com.ibm.ivj.jsp.runtime.JspDebugServlet this changes the JSPEngine to a JSP1.0 engine. pretty intuative really :-) Karl Roberts -----Original Message----- From: Nathan Revo [mailto:[EMAIL PROTECTED]] Sent: 02 August 2000 20:26 To: [EMAIL PROTECTED] Subject: Re: <jsp:include page="<%= expression %>" /> in WebSphere/VisualA ge Try using <%@ include file="" %> instead. I'm using Websphere 1.1 on the AS/400 and this particular version only supports JSP 0.92. Here's an IBM link for websphere. Hope it helps. http://as400.rochester.ibm.com/products/websphere/docs/as400v202/wasfrm4.htm l -----Original Message----- From: Karl Roberts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 12:41 PM To: [EMAIL PROTECTED] Subject: <jsp:include page="<%= expression %>" /> in WebSphere/VisualAge Hi All, I have run into a big problem whilst using VisualAge for java and the WebSphere test environment the problem is that the <jsp:include page="" .../> tag does not work. I Badly need to use the functionality of passing a dynamic expression into this tag (as per the subject of this mail). If anyone has found this problem before and knows how to fix it (eg download a fixed JSPServlet) or knows a work around I'd be very grateful. Is it that WebSphere doesn't really support JSP1.0 ? I have already swapped the JSP Engine from the 0.92 version to the 1.0 version eg swapped com.ibm.ivj.jsp.debugger.pagecompiler.IBMPageCompileServlet for com.ibm.ivj.jsp.runtime.JspDebugServlet below is my example JSP page showing what works and what doesn't. Thanks in advance Karl Roberts ~~~~example JSP follows with comments pointing out what worked/failed ~~~~ <%@ page import="my.package.MyBean" %> <jsp:useBean id="screenDef" scope="request" class="my.package.MyBean" type="my.package.MyBean"> </jsp:useBean> <--- this works! --> <HTML> <HEAD><TITLE>This is a JSP test</TITLE></HEAD> <BODY> <H1> THIS is A TEST </H1> <% out.println(screenDef.getPage2Include()); %> <HR> <--- this works! --> <%@ include file="topBanner1.jsp" %> <--- this works! --> <jsp:include page="topBanner1.jsp" flush="true"/> <--- this FAILS --> <jsp:include page="<%= screenDef.getPage2Include() %>" flush="true"/> <--- this FAILS --> </BODY> </HTML> =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
