Hi,
I have a few newbie questions.
1) How to tell which version of tomcat installed on a unix server? I would think there must be some kind of command like "tomcat -v"?
2) How do I tell whether a server has jstl installed?
3) I am testing a piece of jsp code from a book. But it does not work. Please see below:
passFormVar.jsp
===============
processFormVar.jsp
==================
However, all I get is a string ${param.name} instead of the value I entered in form on page passFormVar.jsp. Is it because the server does not have jstl installed?
Many thanks!
I have a few newbie questions.
1) How to tell which version of tomcat installed on a unix server? I would think there must be some kind of command like "tomcat -v"?
2) How do I tell whether a server has jstl installed?
3) I am testing a piece of jsp code from a book. But it does not work. Please see below:
passFormVar.jsp
===============
Code:
<html>
<head>
<title>
Pass a form var
</title>
</head>
<body>
Please enter:<br>
<form action="processFormVar.jsp" method="post">
<input type="text" name="name" size="30"><p>
<input type="submit" value="go">
</body>
</html>
processFormVar.jsp
==================
Code:
<html>
<head>
<title>
Display form var
</title>
</head>
<body>
what you entered:<br>
${param.name}
</body>
</html>
However, all I get is a string ${param.name} instead of the value I entered in form on page passFormVar.jsp. Is it because the server does not have jstl installed?
Many thanks!