Hi;

have you an example ? I have tried to write this following implementation : 

Inside of the F2.jsp :
...
File jspFile = new File(WebProperties.getRepJsp()+"F1.jsp");
String content=ImportFichier.getContent(jspFile);
request.setAttribute....

I get the content of "F1.jsp" as a STRING. when I restart my application all
tags of the F1.jsp does not run by Jonas interpreter ?


mraible wrote:
> 
> You can't load a JSP from outside the webapps directory - unless you
> use a symlink or use <c:import> to load it from another running web
> server.
> 
> Matt
> 
> On 12/26/07, soussou97 <[EMAIL PROTECTED]> wrote:
>>
>> Hi;
>>
>> How to retreive the content of a external JSP located in : C:/jsp/F1.jsp
>> in
>> another JSP located in the Webapp directory:
>> ../WEB-INF/webapps/jsp/F2.jsp ?
>>
>> Regards;
>> --
>> View this message in context:
>> http://www.nabble.com/Import-of-a-JSP-tp14503861s2369p14503861.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Import-of-a-JSP-tp14503861s2369p14511029.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to