最好能给出源码
解决方案 »
- 如何使JComboBox在显示时就展开下拉列表?
- 请教一个java小问题,在线等,急!
- NetBeans5.0把图片和程序一起打包的问题?
- 请高手讲一讲equals实例的原理
- 用JAVA实现的马踏棋盘(骑士巡游)算法 (applet网页小程序)
- 高手指教!
- 相信很多人都用过jspSmartUpload ,不知道有没有人知道他的源代码...
- 蓄了许久的银子没了......555555....
- 这里有生意做呀,有兴趣的快进来!!!!
- Exception in thread "main" java.lang.NoClassDefFoundError:是怎么会事?
- 如何按字符串数组里的元素不同依次输出
- hibernatea中有关配置的问题
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>"> <title>登录界面</title> <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
--> </head> <body>
<h2 align="center">
登录界面
</h2>
<form name="form1" method="post" action="logincl.jsp" method="post">
<table width="24%" border="1" bgcolor="#6600FF" align="center">
<tr>
<td width="30%">
用户名:
</td>
<td width="70%">
<input type="text" name="username">
</td>
</tr>
<tr>
<td>
密 码:
</td>
<td>
<input type="text" name="password">
</td>
</tr>
<tr>
<td align="center">
<input type="submit" name="Submit" value="登录">
</td>
<td align="center">
<input type="reset" value="重填" />
</td>
<td>
</td>
</tr>
</table>
</form><hr color="red"> <p align="center">如果您不是该网站的会员,请<a href="regdit.jsp">注册</a></p>
</body>
</html>楼主试试吧,就是用<br>标签就可以了,你把这个JSP界面试试吧,正确的话给分啊,俺现在严重却分状态
HOME_ning(玩物丧失)
* @param args
*/
public static void main(String[] args) {
ClientTalk frame = new ClientTalk("TEST");
frame.setVisible(true);
} public ClientTalk(String title){
this.setSize(new Dimension(200,300));
this.setTitle(title);
this.getContentPane().add(new JPanel(){
@Override
public void paintComponent(Graphics g){
// TODO Auto-generated method stub
g.drawLine(40,40,80,40);
}
});
this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
}
}
你可画一条黑一条白来增强立体效果。