Questions tagged as 'jsp'

0
answers

I do not recognize the path, it does not find the resource, before it generated a deploy error. JAVA EE application

view / Home.java package view; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public clas...
asked by 19.05.2018 / 04:06
2
answers

local web server error with page jsp

I have set up a public web server in my house (I opened port 80 of my router and directed it to my computer) simply to test projects until then everything is normal, the problem is that I am using apache and it does not support JSP pages, what I...
asked by 27.05.2018 / 22:39
0
answers

How to search data - DAO Factory

I have a query, I am learning the methods mvc, dao and factory, for it I made a small list and form with connection to mysql database, where I want to list a table and also look for the records of that table that are in a certain range. I was...
asked by 15.05.2018 / 12:25
1
answer

Problem with entering data with hibernate in java

When I enter a data via jsp with hibernate and mysql, this error is thrown at me:    Exception Report Type       message Execution of the Servlet launched an exception       description The server encountered an internal error that caused...
asked by 13.05.2018 / 05:39
1
answer

Select from drop-down list and open an iframe on the same page?

I need to open a frame within the same jsp page when selecting one of my options. Principal.jsp <script language="JavaScript"> function busqueda() { location=document.buscar.lista.options[document.buscar.lista.selectedIndex].v...
asked by 14.05.2018 / 21:07
0
answers

Can I download a .docm file from a JSP server?

When I download from my jsp application, the .docm files and open them, I get the message: "Sorry, can not open doc1.docm because there is a problem with the content." If I rename that file by changing the extension to .docx it can be displayed....
asked by 09.05.2018 / 12:01
0
answers

Can you create docm files with javasacript from jsp?

I have a web page that shows the data of a server in tables format. The idea is to save these tables in a master document. Each table being a different document. So far everything works for me. What happens to me is that when you download the...
asked by 07.05.2018 / 09:56
0
answers

Servlet DO NOT REDIRECT

Good morning, what happens is that I have a servlet that does not redirect me to a .JSP called "search" but to another that I have created called "error.jsp". This only happens if I add the If (); What will I show next, if I remove it if it redi...
asked by 27.04.2018 / 09:43
0
answers

Problem with dispatcher and Css

I am trying to link a servlet with a jsp using: request.getRequestDispatcher("/jsp/Mostrar_apartamentos.jsp").forward(request, response); The problem is that when it runs it shows me the jsp without any CSS, I changed the css routes, becaus...
asked by 22.04.2018 / 17:27
2
answers

Doubt about servlets and jsp

The question is this, I have a jsp that consists of a simple form to edit the data of an object (clients), but for that to be possible, I must first check that the object to be edited exists on a base of data. So everything is perfect, just simp...
asked by 22.04.2018 / 22:50