ignore what I just said I need to learn to read properly ;o) ----- Original Message ----- From: "David Cypers" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2001 12:19 PM Subject: RE: <%@ include File =" <%= includefile%> " %> is there a way doto this
> Is it allowed to use uppercase-F in \%@include File ?? > > -----Original Message----- > From: Mohammed [mailto:[EMAIL PROTECTED]] > Sent: donderdag 29 november 2001 12:49 > To: Struts Users Mailing List > Subject: <%@ include File =" <%= includefile%> " %> is there a way doto > this > > > Hello evreybody, > > in an action class SourceAction I am setting a variable in the session > > SourceBean sourcebean = new SourceBean(); > sourcebean.setSource( myform.getcommand()); > session.setAttribute("source", sourcebean); > > in the jsp file I want to do the following > > <% > SourceBean mysourcebean = (SourceBean)session.getAttribute("source"); > > if(mysourcebean!=null) { > String includefile= mysourcebean.getSource(); > %> > > <%@ include File =" <%= includefile%> %> // this is not working -----> > ERROR: file <%= includefile%> not found > > <%} > > else {%> > <%@ include File =" welcome.jsp> %> > > <%}%> > > > Thanks for any help > > > Mohammed > > > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>