cptkoi
07-31-2002, 03:08 PM
is it possible to run java script pages and asp pages on a win 2k server....
:confused:
:confused:
![]() | View Full Version : java script and asp on win2k cptkoi 07-31-2002, 03:08 PM is it possible to run java script pages and asp pages on a win 2k server.... :confused: JDMundo 07-31-2002, 03:14 PM Yes. cptkoi 07-31-2002, 03:18 PM oooh bonus - any idea how i set it up on the server ? JDMundo 07-31-2002, 03:25 PM There's no short answer to that, depends on how much you know about Windows, IIS etc -- where do I begin? Are you familiar with the Windows Web server IIS at all? In any case, this was posted in the wrong forum, should probably go into the lounge or something. cptkoi 07-31-2002, 03:30 PM iis fairly familiar can set up bog standard website with asp enabled.... sorry bout the forum bit GeorgeC 07-31-2002, 06:29 PM Well, when you say JavaScript pages, do you mean server side JavaScript? The majority of JavaScript usage is on the client side, in which case it doesn't matter the server you're running. ckpeter 07-31-2002, 07:26 PM By the way, don't know if you knew this already, but jsp stands for Java Server Pages, not Java Script page. It is written in Java, not javascript. Peter RackMy.com 07-31-2002, 08:11 PM There are two ways to do it server side. If the JScript is on just one page, you can put <SCRIPT LANGUAGE="JavaScript"> at the top of the page. If you want to who site to default to JScript, open up the site's properties in the IIS MMC, Choose the Home Directory tab, Select the Configuration button under Application Settings, Click on the Applications Options tab, change the Default ASP Language to JavaScript. Hope that helps! cptkoi 08-01-2002, 02:09 PM so where does tomcat fit into this scenario then ? ckpeter 08-01-2002, 02:25 PM Tomcat is the engine that executes JSP and Java serlvet. Peter cptkoi 08-01-2002, 02:31 PM so do i need that then if i can enable java script on the server? ckpeter 08-01-2002, 02:33 PM What javascript? I am not sure I understand the context of your question. What server OS are you running? What kind of javascript are you talking about? Peter cptkoi 08-01-2002, 02:43 PM i been told i gotta setup a site to run jsp pages and java servelets (tomcat) as well as asp and perl - swallows hard - i know the basics n looked in a few books but im snookered ckpeter 08-01-2002, 02:47 PM JSP is Java Server Pages, not Java Script Pages (I mentioned it before, look up the thread.) What OS are you running? Peter cptkoi 08-01-2002, 02:50 PM win2k server ckpeter 08-01-2002, 02:52 PM In that case, you would use IIS for ASP pages, tomcat for JSP, and something else (Active Perl?) for perl. Read the doc on how to connect IIS to tomcat. Peter |