Questions tagged as 'jsp'

3
answers

Get AJAX message

Good afternoon, I'm doing a User validation, but I can not receive the message I get. I have the following: $(document).ready(function () { $("#UEmail").change(function () { $.ajax({ type: "POST", url: "Validar...
asked by 16.01.2018 / 21:49
3
answers

Access Denied or network error when trying to show file

I am developing an application Java Web App mounted on Apache Tomcat 8.0.27 . Both in the Internet Explorer browser and Google Chrome , I get errors when I try to show some file that I have deposited locally on my machine. The possible...
asked by 21.10.2016 / 18:17
2
answers

Force two decimal places in input type="number"

I have been asked for something a bit weird, that the fields input numeric of a JSP page have 2 decimals by default. So far everything is normal: <input type="number" step="0.01" /> Now, the client wants the quantities to AL...
asked by 10.03.2016 / 12:54
1
answer

JSTL appears in HTML

How about! I am doing a small application of Spring (I am learning) and I have found that, when passing as a parameter a List object in sight (JSP), the cycle forEach does not work as it should. Actually if one searches in the HTML the ob...
asked by 02.05.2016 / 16:22
2
answers

Pass HTML table data to servlet

Greetings, I have the following table in which I am adding items. <table class="table table-hover"> <thead> <tr> <th>Codigo</th> <th>Descripcion</th>...
asked by 03.10.2016 / 00:28
3
answers

Download text file in browser

I want to download a .txt file through my browser, what I have done so far is that the file is saved in a specific path, but I would like to download it through the browser to make it more comfortable for the user , here's the code I have so far...
asked by 17.11.2016 / 20:51
2
answers

java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date

I have had a problem when returning a value of BD mysql null in '0000-00-00' format The error that occurs is:    exception       javax.servlet.ServletException: java.sql.SQLException: Value '0000-00-00'> can not be...
asked by 31.03.2017 / 23:05
1
answer

Problem login jsp & servlet with boolean attribute administrator in user class

I have problems to register, before I just registered as a user and it worked, now I register as an administrator and it does not enter, and if I register as a user it enters the path / admin, I leave code as it shows so that the error is seen....
asked by 18.06.2016 / 21:17
2
answers

What is the difference between Spring / JSF / JSP? [closed]

I am learning how to program and I would like to know what are the main differences or what do you recommend me to learn?     
asked by 29.05.2017 / 07:52
2
answers

What is the difference between return "view" and return "redirect: view" in a POST method for Spring MVC?

What happens is that I have a jsp view from which I fill a form, I send the data by means of the POST method to my controller and once the instructions are finished I return to the main view of my site. However, the methods contained in my dri...
asked by 24.02.2016 / 18:49