Questions tagged as 'servlets'

0
answers

How to define the order in which I want to see the out.print of a servlet?

A cordial greeting, I will put you in the context of my question: I have a web form in a jsp, in which I have 2 radiobuttons, when selecting the first one, 2 div appears, and with the second radio an input text appears. When I send them to the s...
asked by 03.12.2018 / 22:11
0
answers

webservice consumption works correctly in Tomcat but fails in WebLogic 12c

I have managed to consume a service using jax-ws , when I deployed to tomcat everything worked correctly, but when I deployed in weblogic everything works fine until I try to consume the service and throws the following error:    cou...
asked by 03.12.2018 / 16:50
1
answer

Doubts with Servlets and JSP

I am developing a web page where on the home page (in my case it is my "Home" servlet) I wish to present information from several tables as well as queries to them. What I have achieved is to obtain the information of my company / brands table a...
asked by 26.11.2018 / 21:00
0
answers

I can not export or convert Jasper report in PDF

Good morning friends, I can not export a jasperreport in PDF, what I want is to save it in the url that sent it, I use ireport 4.0.1 I am working with java 1.8 IDE netbeans 8.2, or they will have another example friends String dirDownload...
asked by 01.12.2018 / 15:56
0
answers

Parameterize temporary files in Servlet 3.0

I'm doing a servlet to which a document is uploaded. Using the Servlet 3.0 java API, I am indicating the property in web.xml : <multipart-config> <location>C:\temp</location> </multipart-config> But...
asked by 20.11.2018 / 15:34
0
answers

how to use JFileChooser in a servlet and call this servlet from a jsp so that it allows to select the location where you want to save the file

I have this main that works correctly: public static void main(String args[]) throws IOException, Exception { JFileChooser chooser = new JFileChooser(); chooser.setCurrentDirectory(new java.io.File(".")); chooser.setDia...
asked by 05.11.2018 / 22:04
0
answers

Javascript does not make changes to the HTML document

I would like to know the reason for the following problem: In a web application (JSP) I use javascript to make changes in the HTML and requests (AJAX) (GET method) to the server, the problem is that when I make the request to the Servlet, it...
asked by 02.11.2018 / 21:53
0
answers

Run Servlet Intellij

Hi, guys, I'm new to the Servlets and I'm trying to implement some simple ones, but I'm having a problem, I'm telling you. I am using the Intellij editor for the implementation of it. I have everything implemented: the class index.jsp and a c...
asked by 04.11.2018 / 11:30
0
answers

How to read csv file in servlet?

This is trying to read a csv file in a Servlet / java, the problem is when reading the file in particular and know your data. This is the form where I sent the file to the Servlet. <form id="form" method="post" class="upload-box" action...
asked by 30.10.2018 / 19:49
0
answers

Problem loading Applet in servlet

Well, I have a problem loading an applet into an html document, which I think is in the path in the html applet tag in the code parameter. I do not know if the route is, either, within the web project, example: "package.clase.class" or the abs...
asked by 01.11.2018 / 22:31