Questions tagged as 'jsp'

1
answer

500 Action does not contain method named

I'm making a call to an action but I get the exception that the method does not exist in Action: 500 Action[/historicoAction] does not contain method named listar Would anyone know what's going on? Follows files: struts-config...
asked by 06.01.2015 / 16:59
1
answer

How to know which page is responding to the JSP request

I have several pages JSP , and I treat all of them in my% control%. I would like to know if you can identify the page that is being displayed so that I can do all the treatments, servlet and requests , specific to this page. C...
asked by 24.11.2014 / 00:05
1
answer

How to not only filter a folder in JAVA - Filter

I'm using a class inherited from Filter in Java to do login control. I made the mapping in Web.xml as follows: <filter> <filter-name>ValidacaoLoginFilter</filter-name> <filter-class>br.com.dgtbr...
asked by 10.04.2014 / 18:50
1
answer

How can Maven webapp archetype work without web.xml?

I tried to create a Maven archetype webapp application in Eclipse JEE Photon: File > New > Maven Project > Next > maven-archetype-webapp 1.0 It generates the following file structure: . |-- src | '-- main | '-- ja...
asked by 02.08.2018 / 01:02
2
answers

Servlet with JSP does not insert into the database

I'm doing my Interdisciplinary College Project and it would be an e-commerce. Well, I was following the part of inserting in the bank for a course book I made for Caelum, but I do not know if something is missing in the book, but at the time of...
asked by 08.11.2018 / 04:54
2
answers

How to write a JSP page using characters from other languages?

I'm writing a JSP page that uses Japanese characters and I'm using the get method, but when I switch to the post method it does not work. I already tried using charset = Shift_JIS, but nothing !! JSP page: <%@page contentType="text/html"...
asked by 18.09.2015 / 15:22
1
answer

Jquery / Ajax Duplicating

Good afternoon, I've already researched this problem here in the forum and tried some solutions but I do not know what I'm doing wrong. I have this function that calls my Modal. function verificarSenha() { var fo...
asked by 13.01.2017 / 18:12
2
answers

A link to go back one level in the folder hierarchy and go to the level below in another folder

Hello. The problem is this: inside the WebContent folder I have the hotel folder and inside this hotel folder, I have the cadastro_hotel.jsp file. In the root of WebContent, I have the folder menu and inside this folder, I have the file me...
asked by 17.11.2016 / 03:44
2
answers

Select in Hibernate does not return extended class

I have a class, Vendor, that is extended from class Pessoa . In method listarFornecedores of class FOrnecedorDao : public List<Fornecedor> listarFornecedores() { session = HibernateUtil.getSessionFactory().openS...
asked by 23.01.2017 / 13:39
4
answers

Doubt in query database, error in query

I'm doing a work on Java Web ticket sales system and I'm having a question in my code to bring this example data: No select query 3 fields from my table: source, destination and date the problem that is not bringing any data, was tested directl...
asked by 20.08.2015 / 21:13