I am using JRUN 2.3.3, which is certainly different in some respects from
earlier releases. However... JRun uses the prefix /servlet/ to identify a url
(eg 'hostname/servlet/servletname') that refers to a servlet rather than an
html page. It can also use a dedicated extension (Allaire suggest .shtml) which
I have not done. If using the prefix idea you need to set an alias to the
folder where the servlet actually is.
As I say there are some (though I don't feel qualify to explain) differences
between 2.3.3 and earlier versions. For what it's worth I will tell you what I
did. In 2.3.3 there is a reasonable java admin console which allows this to be
done. First select 'jse' and click the service config button. On the 'general'
tab specify your servlet directory in the 'default servlet dir' box (separate
items with a ','). The mappings tab indicates how the different types of
services that JRun provides are mapped to a directory structure or file
extension. These should be left as the default settings. Any servlets you want
to pre-load can be specified with input parameters on the 'aliases' tab. This
is really a misnomer, any java class can be loaded this way not just a servlet.
After this you just need to place the compiled servlet class in the directory
you specified (compile however is normal for your environment or use javac).
As regards the jdbc database connectivity, this is not different to standard
jdbc so check out the Sun trail on that subject.
All the best
Surendra Radaye wrote:
> Hi
> I am new to jave developmets,but have worked on ASP. I am using JRUN 1.3
> on Apache web server 1.3.6 for developing servlet application. How do i
> compile the source to develop servlet using jrun. Can anybody refer me a
> good website with good database related examples to start with.
> Thanks in advance.
>
> Regards
> Surendra
>
> ----------------------------------------------------------------
> Get your free email from AltaVista at http://altavista.iname.com
>
> ___________________________________________________________________________
> 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
--
Tim Stephenson
-----------------------------------------------------------
e: [EMAIL PROTECTED] or [EMAIL PROTECTED]
m: +44 7775 66 00 58
h: +44 207 254 5196
v: +44 1628 597279
a: Flat 5, 90 Southgate Road, London. UK. N1 3JD
-----------------------------------------------------------
___________________________________________________________________________
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