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
Joined: Sep 26, 2001
Posts: 4
posted
0
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
Joined: Sep 09, 2001
Posts: 130
posted
0
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..