If you accepted the defaults during JRun install you should have the following
file:

C:\Program Files\Allaire\JRun\servers\default\local.properties

Inside that file there is a section labeled as follows:

###########################################
# Web Application Settings
###########################################

Just copy all the entries for the 'default-app' and modify by changing the word
'default' to whatever you're calling your application.

Make a folder in the C:\Program Files\Allaire\JRun\servers\default\ directory.
Call it something like MYAPP-app.
Copy the contents from default-app folder into it. Modify the web.xml and
webapp.properties files in the WEB-INF folder.

If there is not a folder called JSP then create it and store your jsp's in
there.

It works for me.

Good luck.





Jean Bresse <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 11/28/2000 08:53:49 AM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>

Sent by:  "A mailing list for discussion about Sun Microsystem's Java Servlet
      API Technology." <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Subject:  FW: [SERVLET-INTEREST] JRun, IIS, and JSP, configuration


Hello all:
I'm really stuck with this one... any help is appreciated! (I've looked at
the documentation and tried several ways).  I have now create a web
application parralell to default and demo.

Jean

-----Original Message-----
From: Jean Bresse
Sent: Tuesday, November 28, 2000 10:21 AM
To: 'A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology.'
Subject: RE: [SERVLET-INTEREST] JRun, IIS, and JSP, configuration


Hello Kate:

Thank you for offering a helping hand!  I'll be actively trying to set
things up here but in the meantime here is more information...  So far I
have been using the Default Server instead of creating a separate Web
Application.  I have been invoking servlets by providing the following URL:

http://192.168.1.62/servlet/classwave.hornet.servlet.InitialContact

In my code, say a form contains the link, I simply provide the fully
qualified class name (eg: classwave.hornet.servlet.mainPage).  For static
files (eg an jpg file), I store the file in a subdirectory (say images) of
inetpub\wwwroot and refer to the file in the code with the following:
"/images/myfile.jpg".

The error I get i either the "The page cannot be displayed" or a 404 error.

Any input is welcomed!

Jean

-----Original Message-----
From: Kate Hocking [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 7:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [SERVLET-INTEREST] JRun, IIS, and JSP, configuration


Hi,

what sort of error messages are you getting?
I set this config up a few weeks ago.

IIS 4.0/JRun3.0

cheers
k8


-----Original Message-----
From: Jean Bresse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 28 November 2000 3:07
To: [EMAIL PROTECTED]
Subject: JRun, IIS, and JSP, configuration


Hi all:

(Sorry to bother you with a config question!)

I'm able to run servlets using IIS and JRun.  Now I need to use JSP pages
and add them to the project.  I tried various combinations but couldn't get
the right set of directories settings and code.  All settings from the JRun
stayed unchanged.  If one of you already knows how to set things up, it
would be nice to get your input!

Thanks,

Jean

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
____________________________________________________________________________
________________________________________

IMPORTANT:  This email is intended only for the use of the individual or
entity named above and may contain information that is confidential and
privileged. The views expressed in this e-mail are those of the author and
not of the company unless otherwise clearly indicated.  When addressed to
our clients, any information or quotes contained in this e-mail are subject
to the terms and conditions relevant at that time to the matter being
addressed.  If you are not the intended recipient and have received this
e-mail in error, please notify us immediately by return email or telephone
+61 8 93235555 and delete the e-mail and any attachments without using or
disclosing the contents in any way.  If you are not the intended recipient
any dissemination, distribution or copying of this e-mail is strictly
prohibited. Before opening or using attachments, check them for viruses and
defects.  Our liability is limited to re-supplying any affected attachments.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to