Solved

cutover page

Posted on 2000-04-28
7
163 Views
Last Modified: 2010-04-09
I am using a java applet for navigation but it won't let me specify a file:\\ as a link so I need to create a html page that when accessed does nothing more but reroutes me to the file on a lan and opens it up.

What would the html code look like to do this?

Thanks
0
Comment
Question by:pinkstonm
  • 5
7 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 2759144
<HTML>
<BODY onLoad='location="file:///C|/TEMP/myfile.htm";'>
</body>
</html>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2759150
Or:

<HTML>
<HEAD>
<META http-equiv="Refresh" Content="0, URL=file:///C|temp/myfile.htm">
</head>
<BODY>
</body>
</html>
0
 

Author Comment

by:pinkstonm
ID: 2759185
but the way I access the LAN file now is \\Usplscs101\dept\TIPM\CA-1THE\EDS-MHS\Default.htm

So how would it work with that.

thanks
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 33

Expert Comment

by:knightEknight
ID: 2759362
Using JavaScript, you must double each backslash, so do this:


<BODY onLoad='location="file:///\\\\Usplscs101\\dept\\TIPM\\CA-1THE\\EDS-MHS\\Default.htm";'>


Using the META tag, I'm not sure.  Try it both ways:

<META http-equiv="Refresh" Content="0, URL=file:///\\\\Usplscs101\\dept\\TIPM\\CA-1THE\\EDS-MHS\\Default.htm">

<META http-equiv="Refresh" Content="0, URL=file:///\\Usplscs101\dept\TIPM\CA-1THE\EDS-MHS\Default.htm">
0
 
LVL 2

Accepted Solution

by:
netbug earned 100 total points
ID: 2761593
have you tried this
<applet codebase="your file extension" code="your .class file">
</applet>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2766012
???
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2766848
what gives?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question