File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Jrun configuration For JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jrun configuration For JSP" Watch "Jrun configuration For JSP" New topic
Author

Jrun configuration For JSP

Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
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
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
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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jrun configuration For JSP
 
Similar Threads
Is JRun 3.1 a free software, like Tomacat?
first whack at JSP not working
ServletMapping (not solved yet)
JSP in JRun
jrun for jsp