你的程序只是一个页面,还应该有别的页面和此相关。
你可以使用ultra dev4或者ultraedit

解决方案 »

  1.   

    要在session.putValue("thename", name); 前加上判断
    比如:name = name==null?"":name;不然会空指针错我推荐使用editplus,还有汉化的呢?
    我可以给你(no free),20分一个mailto:[email protected]
    :)
      

  2.   

    i help you.
    name = request.getParameter("thename");
    "thename" is the element name of form. but your "input" name is "food". so when above code is implemented, it'll return "null". so you won't see anything.
    modify your code. 
    <INPUT TYPE=TEXT NAME="food"> ---> <input type="text" name="thename">
    you'll get success..
    good luck!