Questions tagged as 'servlet-3'

1
answer

Is it possible to know which JEE Container is being used during Dispatcher Servlet initialization?

After some difficulties with the use of Spring Security and JBoss using annotations based on API Servlet 3 (Servlet 3.1 specifically), I found that when using the Spring with JBoss , particularly JBoss EAP 6.1+,...
asked by 10.07.2015 / 18:24
1
answer

Dependency injection with bean in tomcat

I was trying a resource injection but I'm not following. I'm studying for the Web Components exam, so I was practicing some code. I'm following an example given by the Tomcat 7 documentation, link , but I have not yet achieved success in my...
asked by 27.10.2016 / 19:37
1
answer

Get method of http being automatically invoked

Good morning, I'm implementing the get servlet method here with a very simple logic. If the user passes a url in the default: "... / entities / id", the edit form should already be opened with the entity corresponding to the id typed after th...
asked by 05.07.2016 / 11:40
1
answer

how to retrieve a list of data and display in jsp

Good evening, I'm not able to display a list that is saved in the database on the jsp page. I would like to know how I do, tried some forms, call the menagerBean and the servlet jsp calling by servlet <%@ page language="java" contentTy...
asked by 20.04.2017 / 04:43
1
answer

Pass variable from the daughter page to the parent page in jsp

I am making a simple crud in java using jsp and servlets . And I came across the following situation: I have layout.jsp which makes the include of another dynamic page, which in this case will be excluir.jsp ....
asked by 22.02.2017 / 19:09
1
answer

Servlet is giving 404 error

I am trying to create a post application, I started to study Java Web and every time I run the servlet in Apache 8, a 404 error page appears. My servlet package app.web4.servlets; import java.io.IOException; import java.util.ArrayList;...
asked by 25.10.2017 / 14:05
1
answer

How can I block access to application pages with session filtering?

Session Filtering Code @WebFilter(urlPatterns = { "/*" }) public class FiltroSessaoUsuario implements Filter { public void init(FilterConfig fConfig) throws ServletException { } public void doFilter(ServletRequest request, ServletResponse r...
asked by 17.02.2018 / 15:22