Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jrun configuration For JSP

 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i've installed Jrun.. i'm having jdk in c:\jdk1.2.1.. what next i've to do to run jsp through jrun and where should i save the jsp files.
thanks in advance
Pranit.
 
Kapil Sabharwal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pranit
You can start testing your first JSP code, by writing a simple "Hello World" application(hello.jsp below) and store it under the C:..../Allaire/Jrun/Servers/default/default-app/ folder.
<html>
<head>
<title>Greetings</title>
</head>
<body>
<% for(int i=0;i<5;i++) { %>
<h1>Hello World!</h1>
<% } %>
</body>
</html>
Now to access it use the URL http://localhost:8100/default/hello.jsp in a browser and u should be seeing HELLO WORLD written 5 times.
Kapil
PS: Make sure that the default server is "Started".
Originally posted by Pranit Saha:
Hi all,
i've installed Jrun.. i'm having jdk in c:\jdk1.2.1.. what next i've to do to run jsp through jrun and where should i save the jsp files.
thanks in advance
Pranit.

 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thing is my JRun is installed in c:\jrun. there is not any directory structure like that as u specified.. so do i need to configure the server specially to run jsp files..
Thanks for ur reply..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic