再解释一下就是
能不能用request.getXXXX取得?
能不能用request.getXXXX取得?
解决方案 »
- websphere6.1 com.ibm.ws.jsp.JspCoreException JSPG0055E
- jquery中json问题...急...........
- 用form.get****()取出的中文出现乱码,求高手解决
- 关于spring的jdbctemplate插入问题 高手急救SOS!!!!!
- Maven构建Spring+CXF
- 求助有关与JBoss的问题
- 请教:java中一个24小时运行的类维持一个链表,多个类(线程)使用该链表的问题
- Transformer类中transform(source, result)传输XML,为什么在jsp中正常,但是在servlet中却遇到了中文显示不出来的问题?
- request的文题
- 解决Activiti角色权限分配问题
- 高分求助:Servlet action is not available 问题解决立即结帖,在线等
- 程序员联盟 群号:3546259 欢迎it界从事计算机程序的加盟
HttpServlet、Filter等
throws java.io.IOException, ServletException { JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;---------------------------------
上面是我从 一个 jsp 转换得到的 servlet 里面的代码,应该有你要的东西。