At 04:33 PM 4/22/2005 -0500, you wrote:
On Friday, Apr 22, 2005, at 16:11 US/Central, L. V. Lammert wrote:1) I have only seen .asp pages contain ASP. JS (which normally runs on a browser), can only be used for certain applications within IIS, but I'm pretty sure the only way to tell IIS what code you have is by the file extension (.js). Can someone confirm this?
As far as I can tell, there is no such thing as ASP code. By default the ASP engine runs VBScript. However, you can tell the ASP engine to interpret JScript (MS' version of JavaScript) by using <% @language=JScript %>. Have a look here:
http://www.w3schools.com/asp/asp_syntax.asp
This seems to refer to ASP in a browser (which cannot be seen).
FME, ASP is a lot like "C" code - including scripting languages like VB & JS as executable code on the sever really does the program a disservice! Haven't dealt with it a lot (I MUCH prefer simple server environments like Apache & PHP), but when I have looked at ASP code there was NO VB stuff at all (thankfully).
Personally, I think that's one reason MS tried to do things better with C# & ASP.Net (which realy *isn't* ASP at all!).
2) JSP *IS* Java code, compiled by the Tomcat engine into a byte-code state (binary). This greatly increases performance (but not as much as native executable code).
Right. So instead of ASP/VBScript perhaps a better analogy would be ASP/.NET, since C# and the other .NET languages get compiled into .NET byte-code similar to the way Java works.
That's the way MS designed the envinment, but, of course, they have no desire to keep things simple!
Lee
_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [email protected]
http://lists.firepipe.net/listinfo/cwe-lug
