🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #18543

Re: [Jsp+javabean]һ����ݿ��ȡ�ĸ�ʽ

#18543
From: ˯˯~~WindForce
Date: Sun, 08 Feb 2004 13:21
26 lines
1929 bytes
write a method in javabean
and chanslate the resultset
into html ouput string
just like this:
//javabean
class mybean{
..
 public String toHtmlOutput(){
  ...
 }
}
�� �� xinqing (��ˮ����) �Ĵ������ᵽ: ��
: ����˵һ������ϵͳ,��ҳ���ϵ����,һ����˵��javabean����ɸ�ʽ��
: ����(����һ����html��ʽ��String)��
: ����javabean����һ��resultset,jsp�Ͼ���������resultset��������ȽϺ�?
: �벻�����,���ø�����ȱ��,��֪��һ��ı�׼��ʲô?


--
�������е���Ӣ����������꣬
�������������ꡭ��
����������Ĺ������Ÿ߲��
�������ִ�����Ƕ��Ǻܺúܺ�
�ģ�������ƫ��ϲ������

�� ��Դ:��Ʈ��ˮ�Ƽ� freecity.cnzju.net��[FROM: Jackle]
Technical Details
Message-ID: <4AZWZZ$ACJ@freecity.cnzju.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,645703e5d0f92006
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-02-08 05:28:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: Jackle.bbs@freecity.cnzju.net (˯˯~~WindForce)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [Jsp+javabean]һ����ݿ��ȡ�ĸ�ʽ
Date: 08 Feb 2004 13:21:12 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <4AZWZZ$ACJ@freecity.cnzju.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1076246195.A
Lines: 26