我的.java里面写了String subFunction = request.getParameter("subFunction");
但是esclipse里面提示request下面是划红线,也就是报错,页面里面很多request都是这样的提示
请教下这个要怎么解决。
提示错误:The installable unit org.eclipse.persistence.jpa.equinox.weaving.translated_host_properties is missing the filename property.
An exception stack trace is not available.
------解决方案--------------------
这个代码要在jsp或servlet里面写才行。要是在普通类里面写,需要定义request变量,比如作为参数传来等等,还要引用servlet相关的类。