>>>>> "raju" == raju punith <[EMAIL PROTECTED]> writes:
raju> thanks ..guru ..i will correct the spelling and try raju> again. raju> --- "Raghupathy, Gurumoorthy" raju> <[EMAIL PROTECTED]> wrote: >> i think there is a spelling mistake ... >> >> the string was applPath >> and in >> <@include file="<%=appPath%>...."%> >> >> try to correct your variable name .... >> >> guru I believe there was at least one other response to this that made it clear you can't do this sort of thing. You're trying to use an include "directive". This is executed at COMPILE time, or when the JSP page is translated into a servlet class. You're then trying to combine this with a RUNTIME value, the value of "appPath". This combination can never work, no matter how you spell it :) . The alternative to the include DIRECTIVE is the include ACTION (just "<jsp:include page="..."/>) which is not executed at compile time, but at run time, or "request time". Unfortunately, you still can't use this to do exactly what you're trying to do, as the "page" attribute in "jsp:include" cannot take a "rtexprvalue", only a static value. If you really need this "dynamic include" functionality, you might need to go directly into the servlet API to do this. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html