Questions tagged as 'jsp'

1
answer

Servlet JSP does not work

I have the following error in eclipse when running a servlet:    HTTP Status 404 - / TestJSP / web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java...
asked by 28.11.2017 / 17:36
1
answer

JSP database connection

Hello everyone. My problem is this: I have a JSP project, which used the Oracle SQL database. However, it came in handy for me to use MySQL and I installed MySQL .jar and I changed the Connection class, all right, so much so that in the class I...
asked by 12.09.2017 / 20:41
1
answer

Center text and change color JSP CSS

I would like to put my items from my menu in the center and change them in color, in case I put a white color but I can not get it #menu{background-color:#6495ED;}.conteudo{display:inline;text-align:center;padding:10px;color:white;}<navid...
asked by 20.09.2017 / 02:02
1
answer

How to generate a pdf with Primefaces 5.3 using dataexport

This is my screen for generating pdf <p:panel style="margin-left:30%" id="pnlTituloGabarito"> <p:commandButton value="Export to PDF" ajax="false"> <p:dataExporter type="pdf" target="subTableRespostas" fileName="g...
asked by 08.06.2017 / 01:39
1
answer

JSP Eclipse Project - Linking CSS style page

How to properly link my stylesheets in my JSP Servlet project? Below is the structure of my project. I also do not know if the hierarchy is correct. Help me. I'vealreadytried../webapp/style/estilo.cssandnothing.Itriedmodifyingandputtingthestyle...
asked by 30.04.2017 / 15:20
1
answer

Load Json Search in JSP

Good Morning I'm trying to make this example in my project. It is a simple change of Select when you choose State Changes the Cities in another Select. link But I can not get the variable, estados_cidades.json . I tried to scrip...
asked by 19.05.2017 / 16:26
1
answer

Map Home Page SpringMVC

Hello I would like to map a homepage using springmvc 'I have this method: My    Controller public class Treinamento { @RequestMapping("/inicio") public String inicio(){ return "index"; } } In my    web.xm...
asked by 05.04.2017 / 19:02
1
answer

How to put a color on the tr of a dynamically selected Radio

Is it possible for the line color to change after the user selects a radio from the list, taking into account that I am submitting the page? the problem is that I am not able to do it as you can see below my Table pulls the database data dynamic...
asked by 16.02.2017 / 11:43
1
answer

Send information from one JSP to another via servlet

I have a page to list all projects. Each project shown will appear the edit button. I would like to submit the project information of the page list to the edit page via Servlet. When I send this form, in the Servlet the Project is null, I...
asked by 19.01.2017 / 18:02
1
answer

Maximum number of options within the c: choose tag of JSTL

Personally I was recently working with JSTL and I came across the following situation, I tried to add 3 tags when inside a choose tag and the last tag just does not work, the code looks like this: <c:choose> <c:when test="${pa...
asked by 31.12.2016 / 18:56