Questions tagged as 'jsp'

1
answer

What is the best way to hide visible JS functions when parsing HTML? [duplicate]

I have some JavaScript functions in my pages that were previously inserted directly into jsp, within the <script> tags. Later I changed them to a .js file where I only import the functions. I would like to know if there is a bette...
asked by 18.03.2016 / 20:40
2
answers

JSP how to include a select inside a checkbox

I'm developing a web application with java spring mvc , and I need to list items in a dynamic checkboxList and include a select option on each item. Something that in html would be similar to the code below: <ul> <li>...
asked by 10.04.2016 / 17:10
1
answer

Problem with taglig in Java

I'm building a page JSP , however, I'm having a problem referencing my taglib of jstl . I'm referencing it this way: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> But in Eclipse I'm getting t...
asked by 28.11.2015 / 15:55
1
answer

How to set a timeout for a given action in Java?

I would like to set a timeout for a given action on JSP pages, which should work with the following conditions below: When I click on a button eg "Traveling" , the page should somehow save start time and end time and say how long it takes...
asked by 23.06.2015 / 22:30
3
answers

Return a "SELECT * FROM" in the JavaWeb browser

Hello everyone, I'm studying JavaWeb and I came across a boring bug !! I already researched a lot on the subject but I could not solve this error. I have this method that is pulling all data from the "contacts" table of the database and retur...
asked by 07.12.2018 / 03:35
1
answer

Ajax Request Returning in White

Alright? My question is this: I am making an ajax request for my servlet and its return is being blank. JS: $('#pesquisar').click(function() { $.ajax({ url: '../UsuarioController', type: 'POST', data: {nome_pe...
asked by 15.11.2018 / 20:35
2
answers

Problem in the Controller JSP class

Hello, I need help, I have the problem on my system when I send an edit command. When I click the button to edit the table row I want, the screen turns white and does not show the options to edit. In the URL it shows that the fields are passing...
asked by 30.07.2018 / 18:40
1
answer

Verify if user Older using Jquery (datepicker) & JSP

Need to implement a javascript function where it calculates the user's age, it informs an alert if it is smaller than 18. The Jquery library along with JSP, where datepicker is automatically loaded given an annotation of the Framework. ►Code...
asked by 13.06.2018 / 15:14
2
answers

How to enable and disable an input of type text after a selected value in the combobox

My jQuery < script > $(document).ready(function() { var tipo = $("#idTipoParticipante option:selected").text(); if (tipo == 'Personagem') { $("#enable").click(function() { // habilitando...
asked by 08.06.2016 / 11:01
1
answer

Doubts about building and relationships between classes and mapping in JPA

InthefollowingclassdiagramIamtryingtomakethefollowingrelationshipsbetweenclasswhereademandwillhavearesponsibleanalystandarequestingclient.Iwouldliketoknowifmymappingissureifthelistgetsintheclassdemandsinsteadthefollowingmodelsfollow:packagebr.c...
asked by 10.02.2018 / 07:35