Bill said:
...
> Although the ExtendedProperties class is used internally,
> VelocityServlet loads the properties itself by calling:
>        p.load( new FileInputStream(propsFile) );
>
> where "p" is a Properties object and then passes that object to
> Velocity.init(p).  The propertise are then set into an
> ExtendedProperties object.  So it would be possible for to iterate
> through the properties and trim whitespace.

iterate through and trim? ugh.

ideally this sort of thing really doesn't belong in a servlet's code.  it
would be awfully hackish.  if the proper behavior is to trim all the
properties, then the VelocityViewServlet isn't the place to do the trimming.

Nathan Bubna
[EMAIL PROTECTED]


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

Reply via email to