I have deployed our War under Tomcat 6.0 into Linux server. In that Linux machine, we don’t have permissions to open a browser.
Is it possible to execute a JSP from command line?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use among others wget (<– click the link to see the manual):
Unrelated to the concrete problem, I however wonder how that’s useful. If you’re for example abusing a JSP to do some webapp initialization, then you should instead have done it in a
ServletContextListener(<– click the link to see the Javadoc).See also: