• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Jrun configuration For JSP

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
reply
    Bookmark Topic Watch Topic
  • New Topic