English 中文(简体)
开始从一个服务器上提取一个小页。
原标题:Start an applet from a servlet

我一直在寻找如何从一个服务器开始一个小包。 到目前为止,网络上的所有东西都处于相反的状态,连接了从一个信息库连接的服务器。 我写的是一台 g/j2ee电器,需要将数据张贴到一个服务器上,然后该服务器开始一个 app子,并将序列化物体通过该 app。 然后,该手册将发送数据,以备该服务器。 任何想法? 提前感谢。

最佳回答

你们不会而且能够用“服务”开始一个小包。 http://download.oracle.com/javase/6/docs/api/java/applet/Applet.html#init%2829”rel=“nofollow noreferer”>init( 将“服务器”指向任何数据,即“仪表需要”,并且“服务器”将预期数据退回。 可在《吉大港山区行动计划》的客户的帮助下进行 Apple-Servlet通信。 基本的Java SE 2008/6向以下机构提供:java.net.URL><<><>>> rel=“nofollow noretinger”><>>>>>:

InputStream response = new URL(getCodeBase(), "servletURL").openStream();
// ...

这里,servletURL应当与以下编码相匹配:url-pattern, 你在web.xml,例如/servletURL/servletURL/*

See also:

问题回答

浏览器首先阅读了光盘,注明了该手册,下载了该手册,并操作该手册。

你的服务器仅需要以正常方式使用超文本描述该手册,然后也可使用该守则,或者从固定地点下载(如果你看到我所说的话)。 基本上只是记住,服务器可以向客户提供数据。 想到客户需要什么数据才能启动信息库,并为数据服务。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...