run JSP file in Linux command prompt

hi,

I am having file in jsp. but, its take long time to run in browser. so i need to run jsp file in linux command prompt, Its possible to run JSP in linux command prompt?. If there is yes mean, plz tell how we can do that...

I am waiting for ur reply......

Thank in advance

[299 byte] By [seetharampla] at [2007-11-27 11:17:47]
# 1

you mean like in "php file.php" or a shell script? AFAIK this is not possible, because the JSP has a lifecycle and is bound to the environment that is set up by your JSP container.

you could however launch a cli browser such as lynx to point it to your jsp file:

lynx "http://my.server.com/my/file.jsp"

that would save the _rendering_ time of the generated html, not making the jsp perform better.

CapMa at 2007-7-29 14:26:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...