> I have tried searching the Sun website for "JSP" without success.
First: http://www.esperanto.org.nz - location of the FAQ :)
> I have heard that there is a server from Sun that I can install on NT so I
> do not need IIS. What server is this. I also noted that some people seem
> to be having problems getting JSP 0.92 to work with other software.
The Sun JWS I think does JSP, but not in its current release. Other
implemenations of JSP work with various servers etc - see the FAQ. Sun's
funkey (hey, _I_ like it!) reference implementation has a way-cut-down
server built in. Its fairly quick too.
> I am hoping there is a site with a recipe-like approach to identifying and
> installing the necessary software and running some initial examples.
OK:
Ingredients:
1 JDK (1.1.6 for me, I dunno about 2.0), configured to work on your
system
(ie, RTFM that comes with the JDK re: classpaths). Do not substitute
for the
inferior JRE, as it does not have the compiler, and this will effect
the
flavour. You NEED the compiler. :)
1 JSP Reference implementation - http://www.javasoft.com/products/jsp I
think.
1 NT workstation box, with command line prompts left in.
1 sample JSP page (included below)
Makes 1 server in about 10 mins
Method:
1) assume the JDK is installed. Unzip the reference implementation to
somewhere like c:\, so you get:
c:\jsp
\jsp
\lib
\servlets
runnit.bat
readme.jsp
2) look at the runnit.bat and readme.jsp files. In runnit.bat, alter the
SET
lines to point to the right places, eg:
set classpath=%CLASSPATH%;c:\jsp\lib\jsdk.jar
if you put it all in c:\jsp
3) run RUNNIT.bat:
runnit <port>
eg:
runnit 80
It should fire up the JVM, and say its running on port 80, amongst other
stuff
4) go into c:\jsp\jsp and edit/create index.html. Put SOMETHING in
there, doesn't matter what.
5) fire up your browser, open http://localhost . You should see your
index.html
6) Throw the below included test.jsp in c:\jsp\jsp, and open:
http://localhost/test.jsp
7) wait a few seconds for it to compile, marvel at the results.
---- test.jsp
<HTML>
<BODY>
<%
String temp = "hello, world";
%>
" <%=temp%> "
</BODY>
</HTML>
---- end test.jsp
if you see " hello, world ", it worked.
8) The reference implementation can be replaced with a server (IIS,
Apache, Go!, etc) and a different implementation, eg GNUJSP, JRun
(rocks, but its standard++),
etc etc etc.
HTH.
N
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".