|
|
|
Java Script Problem
|
Original Message
|
Name: zeotrex
Date: August 31, 2005 at 21:15:50 Pacific
Subject: Java Script ProblemOS: Win XPCPU/Ram: M1.6 512M |
Comment: Greetings all, I am new here. Wondering if i can get any help from this forum. I am new to Java script/HTML Recently our Internet application teacher gave us a problem. Hope I can get some idea here. We are only thought of how to use HTML and JAVAscript to create web page. However this time were were given a system. The technical people installed a software for us. We then run a .bat file to start a server. Then we access main page by entering http://classAssign/. The whole system is being installed under "C:\Program Files\ClassTesting1.0". I am able to change the interface by replacing some of the images under the system folder. However, the main problem is so far we are only thought of how to create web page using HTML where we create all the create all the HTML files and put under a same folder, accessing by clicking the mainpage through "index.html". In this system given, i can't find any .html looks like main/index page to access!!! and viewing the source each page open, they are all coded with Java script. Can someone give me some guideline, What is this server about? Why i can't find any index.html or xxxhome.html page in the installed folder? Without this main page meaning i won't be able to modify the page? All i access to the system is with the address http://classAssign/ and all i can on the installed folder are images skin, not working properly html skin, .js, .css and etc..... Thank for the advice in advance. Regards
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Michael J (by mjdamato)
Date: August 31, 2005 at 22:23:25 Pacific
Subject: Java Script Problem |
Reply: (edit)It could be that the server has been set up to support some typr of scripting language such as PHP, ASP, etc. A server can be set up to use just about any file type/name for it's default page (index.htm, default.htm, index.php, index.asp, start.asp, etc, etc). When you load up a page, you can find out the name of the page that was called by right-clicking on the page and selecting "properties"
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: zeotrex
Date: September 1, 2005 at 00:05:45 Pacific
Subject: Java Script Problem |
Reply: (edit)Sorry, edit some mistakes in thread. --------------- Greetings all, I am new here. Wondering if i can get any help from this forum. I am new to Java script/HTML Recently our Internet application teacher gave us a problem. Hope I can get some idea here. We are only taught of how to use HTML and JAVAscript to create web page. However this time we are given a system. The technical people installed a software for us. We then run a .bat file to start a server. Then we access main page by entering http://classAssign/. The whole system is being installed under "C:\Program Files\ClassTesting1.0". I am able to change the web page interface by replacing some of the images under the system folder. However, the main problem is, so far we are only taught of how to create web page using HTML where we create all the HTML files and put under a same folder, accessing by clicking the mainpage through "index.html". In this system given, i can't find any .html looks like main/index page to access!!! and viewing the source for each page opened, they are all coded with Java script. Can someone give me some guideline, What is this server about? Why i can't find any index.html or xxxhome.html page in the installed folder? Without this main page meaning i won't be able to modify the page? All i access to the system is with the address http://classAssign/ and all i can see on the installed folder are images skin, "not working properly .html skin", .js, .css and etc..... Thank for the advice in advance. -------------- Thank Q above. I know about the properties. But clicking the properties, it does not show any .html name too. All i see is like: "URL: http://classAssign/" That is why I am asking why i can see any .html file for the home page as well as i can't find any .html file showing the homepage under the installed folder! TQ
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Michael J (by mjdamato)
Date: September 1, 2005 at 12:02:17 Pacific
Subject: Java Script Problem |
Reply: (edit)Well, as I stated before, the server can be configured to process other types of files such as PHP or ASP. And, the server can be configured to use one of those other files as the default page when just the path is given (http://classAssign/). You will need to know what the default page is set to for the server. Are there any .php or .asp files in the folder for the site (could also be php4, aspx or other variations)? What kind of files are there? When you say that the source for the pages is JavaScript, do you mean the source of the pages that you get in the browser (i.e. after the web server has processed them) or the source of the pages in the website folder on the server (i.e. before they are processed by the web server). If you mean the latter (the pages that have not been processed by the webserver, then you are most likely looking at PHP pages. PHP code is nearly identical to JavaScript. Michael J
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: zeotrex
Date: September 1, 2005 at 20:33:51 Pacific
Subject: Java Script Problem |
Reply: (edit)Thank you for the advice. First all i see in the installed folder are files with .js, .html, .css. And this is why i think the system is written with Html and java script only. After the xxxx.bat server is executed, only we are able to access to page "http://classAssign/". When i click the source of the page after generated by the server, i think is written with html and javascript cuz all i see are Html tags and <script language="javascript">, calling "xx.js" and so.... We were only taught of creating .html file in html and java script. Therefore it does not make sense to us what is this server about, and how all the webpage being compiled into a system. Also it doesn't make sense to us why we access the page without loading .html file. i.e now we access a home page with just http://classAssign/ while last time we access our page by "../root/index.html" Thank you in advance
Report Offensive Follow Up For Removal
|
Use following form to reply to current message:
|
|

|