AoA,
I have tried to execute JSP with apache, by using tomcat and mod_jk2 connector.Now, i have placed the following code in my server’s html folder, the file name is "hello.jsp and the code is:
Now, when i try to read the output of this code, by using:Code:<HTML> <HEAD> <TITLE>Hello World</TITLE> </HEAD> <BODY> <H1>Hello World</H1> Today is: <%= new java.util.Date().toString() %> </BODY> </HTML>
i get the following display:Code:http://localhost/hello.jsp
I don’t understand what’s the problem.Can anyone guide me?Code:Hello World Today is: <%= new java.util.Date().toString() %>


Reply With Quote

Bookmarks