Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 18th, 2006, 09:08 PM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Viewing code rather than content in browser

Hey guys, I just started to learn asp and I made a simple asp page in dreamweaver. Problem is, when I test out the page in my browser, it shows the page source instead of the content of the page.

I don't know if this is relevant, but I'm using apache and not IIS on my computer. I also downloaded and installed vbscript (scripten.exe) and that didn't change anything. Can anyone point me in the right direction?

Thanks in advance! :D

 
Old March 19th, 2006, 10:26 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

I am a hand coder(use Homesite), were familiar with dreamweaver(DW) a few years ago but havnt opened it since.

;;;when I test out the page in my browser
What method are you using, the view within DW or hitting the page opening browser and typing in the address http://localhost/rootDirName/pageName.asp
What page suffix you are trying to view, .asp?

IMO DW is:
1..good for a person who does not know what code to write to get your desired outcome.
2..good for checking in and out of files for multiple coders working the same project
3..Bad cause it writes code that may be described as verbose in many instances (lots of unneccessary code)

Im not a fan of any WYSIWYG packages personaly.

;;;but I'm using apache and not IIS on my computer.
What OS are you using? Do you have IIS installed? if so is it running? You can not run Apache and IIS on port 80 at the same time. I write a bit of PHP on Windows (XP Pro) I choose to use Sokkit (sokkit.net I think - a great tool) If you are using windows and do not write PHP code as well as ASP I dont see the need for you to be using Apache - why are you running Apache?

There are lots of questions in my reply so Ill stop there. Address then all and we will go from there...

Wind is your friend
Matt
 
Old March 27th, 2006, 10:47 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Appologies in advance but I just stumbled across your question, and not knowing this community very well you may well be far in advance of my *very* recent start into websites/dreamweaver etc.. but.. are you sure your using the "code" view rather than the "design" view (top left corner)?
*recoils from abuse directed at the obvious newb* ;)





Similar Threads
Thread Thread Starter Forum Replies Last Post
viewing asp code in web browser srotondo Classic ASP Basics 5 December 6th, 2007 10:50 AM
Send and Receive XML content through browser kj875 ASP.NET 2.0 Basics 0 July 27th, 2007 12:10 AM
Save Browser Content DaveGerard VBScript 0 May 27th, 2004 11:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.