Questions tagged as 'jsp'

0
answers

How to show options according to a user profile

Please could you help me, I need to show the options of a system created in jsp, I need to show the options according to the profile that the user has. my menu has several options and I want it to only show the ones that correspond to profile...
asked by 06.09.2018 / 22:31
0
answers

Reload a JSP via STRUT only in a section of the page

I need to include a jsp within a section of a web page so that when I click on a menu, only one section is reloaded and not the menu, the problem is that the solutions I found on the internet do not work for me What is the system that I am seein...
asked by 05.09.2018 / 16:03
0
answers

How can I pass a controller variable to a jsp?

I have the following method in which I recover values, and I do an operation with these values, what I want to do is send my variable total to jsp, 'because I want to validate with that value, and for example, if my variable total...
asked by 10.09.2018 / 22:15
0
answers

How to submit to a jsp from a modal window?

I have the following method in my controller that retrieves data from a query that I have in other methods @RequestMapping(value= "/obtenerDatos") public void obtener(HttpServletRequest, HttpServletResponse, Model model){ Object attribute...
asked by 12.09.2018 / 07:34
0
answers

Organize common web elements through includes in a JSP

I have a web system made in java, in which it is merged with strut, so that each page goes through strut and redirects without recharging its main menu, unlike the typical web pages that reload a new page every time. Now I need to transfer th...
asked by 03.09.2018 / 20:40
0
answers

how do I get the name of a file type part

I send a file from a jsp to a servlet where I receive it in a getPart but I can not even get the name of it. So I am taking the file, but it results in null, and I already made a verification and if I am receiving the file. Part archivo = req...
asked by 28.08.2018 / 16:51
1
answer

What is the best way to save the result of an inner join and call the results by a method

I have two inventory and product tables, in product I have some data and in other inventory, they are linked by the product number. In my code I have two objects that have the columns of each table as attributes. Until there nothing new. Gene...
asked by 25.08.2018 / 04:48
0
answers

how can I do that depending on the selected in a droplist save me in a different table of the database

this is the part of the jsp in which I do the validations <%@page import="Consultas.DAO_FINALCOMPLE"%> <%@page import="clases.FIANL_COMPLE"%> <!-- begin snippet: js hide: false console: true babel: false -->...
asked by 09.08.2018 / 23:34
0
answers

Correct way to use a Resultmap in myBatis xml

this using Java to build a website and I have the following Order Mapper <resultMap type="Entidades.Pedido" id="rmPedido"> <id column="tb_pedido_id" property="Id"/> <result column="tb_pedido_cli" property="Cliente...
asked by 11.08.2018 / 04:30
1
answer

How to update in JSP and Mysql Using sql sentence IN

I have a question regarding the update of records with jsp and mysql, using queries with IN sentence, the problem that I present is that if I select only 1 record, the system updates me correctly, but if I select several records, then the query...
asked by 08.08.2018 / 16:53