开发者

Jar files in ASP.NET website

I have the following:

  1. ASP.NET website using the 3.5 framework
  2. One folder that contains a jar and a cab file of a control that I need to use on some of my webpages. The control is used to render maps.

What is the best way to use this control on my website? I know t开发者_JAVA技巧here are the object and applet tags, but I'm very unfamiliar with both. This project was dumped on me, and quite frankly, it's not in my area of expertise, so any help would be greatly appreciated!


I've used a Java applet on an ASP.NET page with the applet tag, but I was downloading the code (is that the .jar file?) from another site so this may/may not help but here's how mine is broadly set up:

<applet start off with an applet tag with the following as attributes
archive="" - I think this is where you'd put the path to the .cab file
codebase="" - I think this is the path to the .jar file
code="" - I think this tells the JVM which class to extract from the archive/codebase and run
height="350" and width="500" - self-explanatory
viewastext="" - honestly, I have no idea what this does.
then close the tag >
I've then got a set of self-closing param tags, including ones for codebase, archive and code which repeat what's in the applet tag e.g.

<param name="codebase" value="" />  

and then a closing </applet> tag.

Hope this helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜