AnsweredAssumed Answered

webscript HttpServletRequest WebScriptServletRequest

Question asked by robain on Dec 23, 2008
Latest reply on Dec 24, 2008 by robain
going through some samples for java backed webscript. found something like

// NOTE: This web script must be executed in a HTTP Servlet environment
        if (!(req instanceof WebScriptServletRequest))

what does it mean to be executed in a HTTP Servlet environment? is this something thats configurable? what are the other options?
any info is appreciated.

Am running on 2.1.2 e,
somehow (res instanceof WebScriptServletResponse) returns true
but (req instanceof WebScriptServletRequest) returns false.
any ideas ?

Thanks

Outcomes