Questions tagged as 'jsp'

3
answers

do not load styles css to jsp

Greetings, I do not understand what problem there is in the route to access the css file and give styles to my jsp. will they know if I'm jumping something? It does not make sense to keep working on the project if I do not solve this first...
asked by 31.07.2018 / 19:33
0
answers

How to capture a row of an html table with checkbox in jsp

Dear, I would like to know how I can take a record of an html table through a checkbox using pure jsp. The idea is to mark a record with a checkbox and press a button, you can take the selected record and send it to a servlet. here is the htm...
asked by 26.07.2018 / 02:21
1
answer

Get value of an attribute of an object and put it in a variable in jsp

I need to get the value of an attribute of an object (user.estado) and put it inside a variable (state) of JSP and then make if statements depending on that variable. Here the code. <tbody> <tr>...
asked by 20.07.2018 / 18:36
0
answers

Why do not you show me a Select when I add styles and js?

I have a small exercise that I was doing to make nested selects (Department-Province-District) connected to a bd in oracle. all right up there but when I entered styles and js to my index when compiling it only showed me the data of my first Sel...
asked by 19.07.2018 / 20:57
0
answers

show records related to id

I need to bring from the database only the records that are connected to a certain id and display them in a table. In jsp, js. I enclose my function that lists all the records that I have in the table (database), and when I click on the dynam...
asked by 16.07.2018 / 21:17
1
answer

How to redirect to another jsp page without reloading?

I have 3 files jsp Registrar_Desayuno.jsp , add_desayuno.jsp and save_desayuno.jsp , the first jsp ( Registrar_Desayuno.jsp ) is the registration form, the second validates if the code is correct, if it is correct it sen...
asked by 12.07.2018 / 23:45
0
answers

Problem when displaying data from a database in an HTML tag select

This is my HTML code: <select> <% ConectaDB con=new ConectaDB(); try{ con.conectar(); String sql="select unique(n_dep) from ocex_uea order by n_dep asc"; con.st=con.conexion.createStatement(); con.rt=con.st.executeQu...
asked by 12.07.2018 / 20:29
0
answers

listen to everything that enters port 80 and based on the url redirect to different jsp

I need from an app (all this in java) always listen to what comes through port 80 and capture its url, once I have the url I must redirect to a jsp. from an application in aws when an error occurs or the client enters a site that I do not wan...
asked by 11.07.2018 / 15:37
0
answers

Error with FacesContext.getCurrentInstance (). getExternalContext (). getSessionMap ()

Hello friends of the community. I am very new and I have a doubt. Inside a Servlet I have a message that I have to receive in a Java Class Controller to display it visually. From the servlet I send it with the following code: FacesContex...
asked by 06.07.2018 / 23:41
1
answer

Form info to Servlet and JSP - java

I've been stuck for a few days and I can not move forward. I collect data from a form in SERVLET . I create a ArrayList where I will save the objects that will be created with the fields received through the form I pass the...
asked by 29.06.2018 / 19:32