Page 1 of 1

Request.IsSecureConnection

Posted: Wed Apr 16, 2008 8:18 am
by doozerblake
What exactly does nVelocity have access to? Is there somewhere I can view that list?

I was hoping to do something like so:

Code: Select all

#if($Request.IsSecureConnection)
<p>hello world!</p>
#endif
If there's a better way to do something like this in a scriptlet, please let me know.

Re: Request.IsSecureConnection

Posted: Tue Apr 22, 2008 1:09 am
by m_plugables
This may help you
http://velocity.apache.org/

Re: Request.IsSecureConnection

Posted: Tue Apr 22, 2008 1:14 am
by m_plugables

Code: Select all

#if($Request.IsSecureConnection)
<p>hello world!</p>
#endif
If there's a better way to do something like this in a scriptlet, please let me know.
Is this code is causing some problem or you just want to know some other way to do this