velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Algirdas M." <...@splius.lt>
Subject Re[2]: Velocity.init() problem
Date Mon, 05 Jan 2004 12:12:46 GMT
Hello Will,

Sunday, January 4, 2004, 10:56:34 PM, you wrote:

WGH> Have you done a logging or System.out.println on the value returned by
WGH> getServletContext().getRealPath("templates/")) to make sure it is the same
WGH> under both systems?

in local system it is F:\projects\vvv\web\templates
in server: /usr/share/tomcat4/webapps/vvv/templates

both directories exists and have same files..
maybe velocity requires bigger version of J2SE than 1.3?

WGH> I browsed Bugzilla briefly and there were a few bugs in getRealPath in early
WGH> versions of Tomcat 4.0.x.  None seemed to apply directly to your situation,
WGH> but I advise checking to see if the path is generated correctly.

WGH> WILL




-- 
Best regards,
 Algirdas                            mailto:snk@splius.lt


---------------------------------------------------------------------
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