JSP problem
I installed IBM WebSphere Application Server V6.0 and I already installed JDK 6.0
when i wrote that a piece of code in the notepad and saved it with the extention .jsp then i open it with my browser the output was The time is now without displaying the time..WHY?What is the problem?
<HTML>
<BODY>
Hello! The time is now <%=new java.util.Date() %>
</BODY>
</HTML>
[470 byte] By [
eMerooa] at [2007-11-26 19:57:23]

> I installed IBM WebSphere Application Server V6.0 and
> I already installed JDK 6.0
> when i wrote that a piece of code in the notepad and
> saved it with the extention .jsp then i open it with
> my browser the output was The time is now without
> displaying the time..WHY?What is the problem?
>
> <HTML>
> <BODY>
> Hello! The time is now <%= new java.util.Date() %>
> </BODY>
> </HTML>
I'm sorry to say it but, you. Or, at least your understanding of what a JSP (and probably web service/application in general) is.
> Isn't the websphere web server enough for running
> .jsp files
> isn't it a web server?
yes, but you didn't deploy a JSP to a server, you just opened it up in a browser. that's not how they work. google for JSP and servlet tutorials, do some reading and try again