on 10-21-2009 1:18 PM
public class DownloadServlet extends HttpServlet {
private static final long serialVersionUID = 2441873036910730507L;
@EJB
RDokumentService dokumentSvc;
<servlet>
<servlet-name>Download Servlet</servlet-name>
<servlet-class>com.hp.sk.szc.servlet.DownloadServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Download Servlet</servlet-name>
<url-pattern>/preview/*</url-pattern>
</servlet-mapping>
Warning occurred on server 103571050 during deploy JavaEE/ear : Web Model Builder: ejb-ref element with name "com.hp.sk.szc.servlet.DownloadServlet/dokumentSvc" overrides annotation on com.hp.sk.szc.servlet.DownloadServlet.dokumentSvc., file: web-1.0.war#WEB-INF/web.xml, column 0, line 0, severity: warning'.
injection and servlet doesnt work at all, facesservlet is working okay even with injections, any idea guys?
and to add some detail no problem at all in Glassfish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.