jsp中src请求action的时候能不能像servlet中请求servlet那样加?参数传参 如果可以的话怎么获取呢? Attribute怎么设置和获取呢?是继承servlet类然后用request吗?
------解决思路----------------------
你在action中定义相应的属性和get方法直接取就行
------解决思路----------------------
只是前台请求方式不同,一个POST,一个GET。
后台是一样的
------解决思路----------------------
httpservletrequest req=servletactioncontext.get request() 这句话可以得到 request 你在 用 getparam方法获得值