velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tod Thomas <ttho...@chubb.com>
Subject Re: Velocity ImportTool Question
Date Thu, 05 Oct 2006 12:16:48 GMT
Nathan,

Thanks for the feedback.  I will report my results as soon as I can get 
back to try your suggestions.


- Tod

Nathan Bubna wrote:
> First, make sure that the import tool is in the context:
> 
> $import.class.name
> 
> if that renders as "$import.class.name", then the ImportTool is not
> available. Let us know if that's the case, and we'll help you get that
> running first.
> 
> If it is available, then there is a problem reading the url.  In that
> case, there should be a message about it in your log file.
> 
> On 9/28/06, Tod Thomas <tthomas@chubb.com> wrote:
>> I am trying to implement a web application under Tomcat that uses JSP's
>> originally created for another application.  The other application's
>> JSP's are in the /html directory under its document root.
>>
>> Can I use the ImportTools $import.read("OtherDocRoot/html/legacy.jsp")
>> to bring in the contents of legacy.jsp in my velocity template?  I've
>> tried it and it isn't working.
>>
>> Tomcat seems to be loading the VelocityViewServlet correctly but when
>> rendering the velocity based page I only see:
>>
>> $import.read("OtherDocRoot/html/legacy.jsp")
>>
>> instead of it bringing in the JSP and rendering its contents correctly.
>>
>> Any hints on the best way to debug this?
>>
>>
>> Thanks - Tod
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message