Hi All,
I wrote a simple code to check the page attributes of a jsp.The code looks like this..(I am showing just the info attribute here for clarity)
<%@ page info="A Simple
jsp testing the directives"
%>
<%
out.println("<h1>"+str+"</h1>");
%>
<%!
String str = "Testing the page Directives";
%>
<%
out.println(getServletInfo());
%>
****************************************
It gives me the output saying..
"Testing the page directives"
"A Simple jsp testing the directives ".
But when i try the xml equivalent syntax like this
<jsp
irective.page info="A Simple jsp testing the directives"></jsp
irective> ..instead of the second line it gives the output as
"Jasper JSP 1.1 Engine"
Now,is this because we have used the xml syntax,the info attribute cannot be converted into
getServletInfo() or is there any other reason?
And I am using Tomcat4.0.1 on win2k,why is it saying that it is using the JSP 1.1 Engine..?
Thanks in advance,
Manjunath
[ January 31, 2002: Message edited by: Manjunath Subramanian ]