Questions tagged as 'jsp'

1
answer

Saving the File Path in the Bank

I'm having a question I'd like to know with saving the path of images and files I'm uploading currently I save those files to a folder but I'd also like to have the path in the database how can I do this. Well, the controller I use to upload t...
asked by 07.06.2017 / 15:22
0
answers

Redirect page JSP

When registering the "object" in a JSP, it calls a command that in the end calls another one that does the redirection to "list Objects". RequestDispatcher dispatcher = request.getRequestDispatcher("/controller.do?command=ListarOperacoes")...
asked by 24.06.2017 / 04:04
1
answer

How to change the image according to a variable coming from the bank?

I'm a beginner in this part of front-end and made a function that returns an integer from my MySQL database. I created 5 images, each corresponding to a number returned from the database and attached them in my imgs folder of the projec...
asked by 04.06.2017 / 04:59
2
answers

Spring MVC and UTF-8

I'm making use of Spring MVC in a project, running on Glassfish server and having trouble displaying text on JSP pages that contain special characters like accents. I have already tried to put the charset in HTML pages via HTML, HTML5 and even v...
asked by 23.05.2017 / 19:46
0
answers

Get the value of a listed td (JSP)

Hey guys. I'm making a system for college, I would like to know if you guys from the forum could solve a problem I'm experiencing. My sell screen needs to pick up the unit price value that is in a table. The user can put the service he wan...
asked by 20.05.2017 / 16:00
1
answer

Display specific error! java.sql.SQLException '

Hello I'm like the following code: <c:set var="exception" value="${requestScope['java.sql.SQLException']}"/> <p class="alert alert-danger"><b>Ops!</b> Erro: <br><br> <!-- Stack trace --> &...
asked by 17.05.2017 / 14:48
1
answer

Web-service Architecture and Functionality

I have a question regarding Web-service. This is the following I have an application in Java EE JSP, where it should allow a conversation with another application on Android (Example: when registering a meeting ata in the database by the JSP...
asked by 12.05.2017 / 09:13
1
answer

Doubts - JSP - Servlets

Good morning everyone, I'm having trouble running CRUD in a test app .... I did it with the (almost) MVC standard, the problem is that by clicking on the "New Product" form and filling in the fields it does not insert, it only directs me to a...
asked by 12.05.2017 / 15:09
0
answers

Jsp instead of Servlet

I researched a lot but it was not very clear to me the following. Why can not I use JSP pages to connect to Database (Mysql for example) and return this data by an Ajax function eg to another JSP page that will display the data? Is this a matter...
asked by 02.05.2017 / 17:48
0
answers

Invalid value: For input string:

Error updating, the value of the field must be the FK code for the foreign key, in the INPUT of the form the value br.com.tkcsapcd.model.bean.ProjectInicio@7adacc20, value="$ { "Should something be modified?                                   ...
asked by 25.04.2017 / 23:12