Yes, you could use an applet within your JSP page, but do you really want the applet to reload every time? One thing you can try is : http://j-wings.sourceforge.net/I have not actually used this before, so I have no clue how well it works. If you can otherwise get close enough to the look you require with an HTML table, you might be able to use an IFRAME to contain a page consisting of only the table. That should allow you to get the scroll bars you want. But if you REALLY have to use a JTable, then an applet is the only way to go. Either way (IFRAME or applet) you're going to have to watch out for browser compatability problems, so make sure you consider what browser(s) your intended audience may be using.
还望大哥帮忙!最好能将客户端和服务器都能说明一下
首先可以在html里装载,那么就是applet,可是applet的安全限制不允许对客户文件进行读写访问。
除非你利用数字签名超越Java Applet的安全限制
你说我在jsp里调用javabean(javabean可以叫做控件吗?)
applet通信,数据xml
用xsl解析,数据进数据库!
录入数据
将在控件中录入的数据保存到文件中啊!
用认证过的Applet可以,你也可以用表单提交的方式提交到服务器端处理(就不需要认证了)。
One thing you can try is :
http://j-wings.sourceforge.net/I have not actually used this before, so I have no clue how well it works.
If you can otherwise get close enough to the look you require with an HTML table, you might be able to use an IFRAME to contain a page consisting of only the table. That should allow you to get the scroll bars you want. But if you REALLY have to use a JTable, then an applet is the only way to go.
Either way (IFRAME or applet) you're going to have to watch out for browser compatability problems, so make sure you consider what browser(s) your intended audience may be using.
我不是很明白你的意思,我想如果是那些东西,你可以用javaScript实现。至于服务器端,JSP喽!