<%@ page language="java" import="java.util.*"  contentType="text/html;charset=gbk"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    
    <title>LL1文法答题</title>
   
    
  </head>
  
  <body>
  <center>
  <h2>LL1文法</h2>
  
   <form action="LL1.do" method="post" 
>
  1. 
  <input type="text" name="question1" value="S"/> -> <input type="text" name="question2"/><br>
   2. 
   <input type="text" name="question3"/> -> <input type="text" name="question4"/><br>
    3. 
  <input type="text" name="question5"/> -> <input type="text" name="question6"/><br>
   4. 
   <input type="text" name="question7"/> -> <input type="text" name="question8"/><br>
    5. 
  <input type="text" name="question9"/> -> <input type="text" name="question10"/><br>
   6. 
   <input type="text" name="question11"/> -> <input type="text" name="question12"/><br>
  
    7. 
  <input type="text" name="question13"/> -> <input type="text" name="question14"/><br>
   8. 
   <input type="text" name="question15"/> -> <input type="text" name="question16"/><br>
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  <input  type="submit" name="submit1" value="提交"/>
  
  
  
  
  
   
   
   
   </form>
    </center>
  </body>
</html>用ssh写的,帮帮我····

解决方案 »

  1.   

    楼主一上来就是SSH啊,呵呵,有些东西我认为先基础在框架,打好了基础,框架使用起来就更好理解和正确使用了
    回归正题,我不是很明白楼主的意思,但是我可以说下流程
    页面表单提交(request)-->action(接收参数,调用业务,控制页面跳转)-->响应页面(response)
    你可以在action中把你那些想要输出的东西放到request作用域内,前提是非重定向到相应页面,然后在相应页面中获取request作用域内的东东就可以了,推荐用EL来显示