Questions tagged as 'jsp'

1
answer

Return variable from jsp to another jsp

Hi, I have a jsp with the following function and I would like to know how to call it in another jsp ... Thanks to everyone! <script type="text/javascript"> function getHeight(){ var alto = document.getElement...
asked by 09.03.2018 / 09:27
1
answer

How to extract rows or columns from a string in Java?

I explain: I get a response string from a console of a switch. This is fine and it works. A command is executed that returns a table like this: SwitchPrueba#show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Secur...
asked by 07.03.2018 / 22:15
1
answer

Can I work with Java EE without using JSP?

My doubt is that if I can work javaEE without using JSP, because what I have read JSP is like a template where you specify html tags along with java code, I understand that we can work without JSP, because we directly we can implement the servle...
asked by 27.02.2018 / 07:51
1
answer

Error showing an Array / objects in Spring MVC

I have to collect data from a form, It is composed of questions and each has sub questions. My idea is to create the subquery class and pass it to the question class and return an array with the questions in view, but it does not show me anyt...
asked by 11.03.2018 / 21:48
1
answer

Download csv file in JSP

In an onclick event, I am trying to download a csv file with FileWriter, but download to a specific path that I provide How should I get the downloaded file to be downloaded automatically and shown in the browser? The code is as follows:...
asked by 07.02.2018 / 15:57
1
answer

why does my JSP code generate blank lines?

This is a problem that I have very often I do not attach code because it happens to me in all the JSP     
asked by 21.12.2017 / 13:32
1
answer

problems configuring apache tomcat 8.5.24 for java

I'm trying to start apache tomcat 8.5.24 with the information that appears here: link I installed java jdk 9.0.1, I did the variable for java jdk and modified the variable path. I also modified the tomcat-users.xml file to grant the permission...
asked by 26.12.2017 / 20:47
1
answer

Automatic filling of textbox with data type String with JavaScript and JSP

I have a problem with a filling I do with JavaScript when it comes to the functionality of a form in which I manage the database, it has the buttons to insert, delete, modify and display. When I want to delete or modify I use a function that sel...
asked by 03.11.2017 / 17:34
2
answers

When request.getRequestDispatcher is redirected to a doGet or a doPost

Dear Luiggi, I have a huge doubt. I schedule with Servlets and I got the following surprise: I send data by submit to a servlet_1, then it is captured by a doPost (included!) from this servlet_1 -> doPost I do a request.getRequestDispat...
asked by 20.09.2017 / 18:42
1
answer

How to read processed view jsp in spring?

Is there a way to get a view as String already processed? I need to send emails and I want to avoid creating the html views in a String and better create a JSP view and be able to call it as a String . I've dealt with...
asked by 31.08.2017 / 01:36