Solved

html appears as text

Posted on 2011-02-12
3
191 Views
Last Modified: 2012-05-11
I have this in an html file:
<html>
<body>
<a href="ccs.jnlp">Start CCS</a>
</body>
</html>

When I dbl-clk on the file, it displays this text in the browser, not the link.
What is wrong?
0
Comment
Question by:allelopath
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 500 total points
ID: 34879585
Try like this:

<html>
<body>
<a href="/ccs.jnlp">Start CCS</a>
</body>
</html>

jppinto

0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34879628
'jnlp' is not a known HTML format.  Does it have a MIME type associated with it so the browser knows what to do?  I found a reference to it http://download.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/syntax.html but since I don't know Java, I don't know if this is supposed to run in the browser or on the server.

Ok, I found a demo page http://www.oracle.com/technetwork/java/javase/demos-nojavascript-137100.html and when I click on the links in Firefox, a popup asks if I want to open the 'jnlp' with Java Web Start because that's in the Windows File Associations.  You can take look at those demos on that page and see what headers they're sending.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34879630
I see the solution was simpler than I thought.  good.
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

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 …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

770 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