2 u012656992 u012656992 于 2015.07.05 15:19 提问

在一个JSP页面显示显示两张表的数据,求大神求好心淫 帮帮我~~~~~~
jsp

这是我的代码~~~







"/>

<div class="row-fluid" style="width:980px;height:80px; margin-left:100px;padding-top:-20px;" >
        <div class="span4">
        <div class="control-group">
            <label class="control-label">CODE:</label>
    <div class="controls">
        <input id="######" class="m-wrap span12" type="text" value="" name="######">
    </div>
        </div>
</div>
<div class="span4">
    <div class="control-group">
            <label class="control-label">NAME:</label>
        <div class="controls">
            <input id="######" class="m-wrap span12" type="text" value="" name="#####">
        </div>
    </div>
</div>
<div class="span4">
    <div class="control-group">
            <label class="control-label">DESS:</label>
        <div class="controls">
            <input id="######" class="m-wrap span12" type="text" value="" name="#######">
        </div>
    </div>
</div>![图片说明](http://img.ask.csdn.net/upload/201507/05/1436080687_344745.png)

')" class="btn red">
" style="width:8px;">
3 ' class="btn mini green eTb_sub ajaxa"> ', this)">

/s:form

5个回答

u012656992
u012656992   2015.07.05 15:21

我想要的结果

u012656992
u012656992   2015.07.05 15:23







"/>

<div class="row-fluid" style="width:980px;height:80px; margin-left:100px;padding-top:-20px;" >
        <div class="span4">
        <div class="control-group">
            <label class="control-label">CODE:</label>
    <div class="controls">
        <input id="######" class="m-wrap span12" type="text" value="" name="######">
    </div>
        </div>
</div>
<div class="span4">
    <div class="control-group">
            <label class="control-label">NAME:</label>
        <div class="controls">
            <input id="######" class="m-wrap span12" type="text" value="" name="#####">
        </div>
    </div>
</div>
<div class="span4">
    <div class="control-group">
            <label class="control-label">DESS:</label>
        <div class="controls">
            <input id="######" class="m-wrap span12" type="text" value="" name="#######">
        </div>
    </div>
</div>

')" class="btn red">
" style="width:8px;">
3 ' class="btn mini green eTb_sub ajaxa"> ', this)">

/s:form

u012656992
u012656992   2015.07.05 15:24







"/>

<div class="row-fluid" style="width:980px;height:80px; margin-left:100px;padding-top:-20px;" >
        <div class="span4">
        <div class="control-group">
            <label class="control-label">CODE:</label>
    <div class="controls">
        <input id="######" class="m-wrap span12" type="text" value="" name="######">
    </div>
        </div>
</div>
<div class="span4">
    <div class="control-group">
            <label class="control-label">NAME:</label>
        <div class="controls">
            <input id="######" class="m-wrap span12" type="text" value="" name="#####">
        </div>
    </div>
</div>
<div class="span4">
    <div class="control-group">
            <label class="control-label">DESS:</label>
        <div class="controls">
            <input id="######" class="m-wrap span12" type="text" value="" name="#######">
        </div>
    </div>
</div>

')" class="btn red">
" style="width:8px;">
3 ' class="btn mini green eTb_sub ajaxa"> ', this)">

/s:form

zdc9023
zdc9023   2015.07.05 16:53

两个表之间应该有一些细微的联系吧,在查询时使用联接查询一下把张表里的数据查询出来,就好啦,个人想法。

u012455098
u012455098   2015.07.05 16:57

存两个session,在jsp页面各取各的,互不干扰啊

u012656992
u012656992 我想知道详细一点怎么弄?
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片