Questions tagged as 'jsp'

0
answers

org.apache.jasper.JasperException: Unable to compile the class for JSP:

I am trying to create an API Rest to return a json from SQL Server to deploy in a JBoss 6.0.0 (it has to be this one) in NetBeans; I created it by generating some entities from the DB and sessions on them, applying two java classes to config...
asked by 07.11.2017 / 12:58
0
answers

I want to send two parameters to my query from another jsp

Search Type of Shipping <label>Tipo Envio</label><br> <input type="text" name="en"> <br> <label>Tipo Transporte</label><br> <input type="text" name="trans"> &...
asked by 07.11.2017 / 18:21
1
answer

Insert data from SQL server to struts2

Hello good night everyone, I explain my problem I'm making an insert to my table: but this is what is stored in the bd: The result I'm looking for is a lot of this: I provide my entity class: public class CoordenadasP { Str...
asked by 26.10.2017 / 04:01
1
answer

Unable to call jsp function from jsp using Spring MVC

I have tried various ways to run a javascript from a jsp in a project using Spring MVC, all have failed: Spring MVC - How to include JS or CSS files in a JSP page This is the structure of the project: The index.jsp (specificall...
asked by 22.10.2017 / 06:02
1
answer

request.getHeader ("user-agent") JSP

I'm using the request.getHeader("user-agent") function with Chrome And he returns me Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 How can I identify the exact...
asked by 16.10.2017 / 12:46
1
answer

JSP File Forms

I have in my form to receive a file and it does it well, but if I add inputs type text to the form, I no longer receive the file ... I think the problem comes from this line String contentType = request.getContentType(); Because it rec...
asked by 11.10.2017 / 12:04
0
answers

session in JSP with browser backspace

I have a problem in the security of the code, I have simplified it to make it clearer: <form name="formconf" action="hola.jsp" method="POST"> <input type="text" name="txtname" value=""> <input type="submit" value="Enviar"...
asked by 06.10.2017 / 12:11
1
answer

Templates in JSP

I am working on a project in which there is a lot of HTML code repeated, for which I have decided to use templates, I was researching and discovered that files with extension tag and jspf files can be used, the problem is that I am not very clea...
asked by 04.10.2017 / 17:16
2
answers

Select Html in JSP

I have on the page listing.jsp a list of users who take them out of a linkedlist <form name="formsendmessage" action="../mipagina.jsp" method="POST"> <select multiple> <% LinkedList list = (L...
asked by 13.10.2017 / 21:37
0
answers

Pass the VALUE of an INPUT to an OBJECT

I have a JSP in which I have to modify an INPUT in a certain way and its final value should be passed to an object, I have tried it in several ways but I do not recover the value. I leave here some examples of how I have tried to do, if someone...
asked by 03.10.2017 / 19:12