• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

cutover page

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
pinkstonm
Asked:
pinkstonm
  • 5
1 Solution
 
knightEknightCommented:
<HTML>
<BODY onLoad='location="file:///C|/TEMP/myfile.htm";'>
</body>
</html>
0
 
knightEknightCommented:
Or:

<HTML>
<HEAD>
<META http-equiv="Refresh" Content="0, URL=file:///C|temp/myfile.htm">
</head>
<BODY>
</body>
</html>
0
 
pinkstonmAuthor Commented:
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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
knightEknightCommented:
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
 
netbugCommented:
have you tried this
<applet codebase="your file extension" code="your .class file">
</applet>
0
 
knightEknightCommented:
???
0
 
knightEknightCommented:
what gives?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now