Questions tagged as 'servlets'

2
answers

Login ajax jsp servlet: Welcome page load in div reserved for error msj

I am developing a Login with jsp, servlet and ajax. When I put the key wrong it shows me the error message well, but when I enter the correct key it loads me welcome.jsp in the div reserved for the error message. JSP Code: <body>...
asked by 19.08.2017 / 16:56
1
answer

Export data with ExtJS in Excel file

I am trying to export one or many records from a panel to an Excel template. Today I can only export a selected record but I want to improve this part. I have tried several possibilities but either print only one record or print the entire panel...
asked by 21.03.2017 / 17:17
2
answers

Open PDF on the client host

I have a web application developed with jsp and servlets. On the jsp page I request a pdf document, which is looked for in the servlet, which is obviously on the server. The problem is that, to open, I use the class Desktop d , and when us...
asked by 22.04.2017 / 16:08
1
answer

Validate jQuery, send data with submitHandler with sweet alert

the sweet alert does not shoot at me. Maybe it's because of the event. If we comment on the sweet alert and decompose a normal alert if it tells me the message. In my index, I log in, send data to a servlet, recover the sevlet response...
asked by 20.09.2016 / 09:57
1
answer

Error Unsupported major.minor version 52.0 servlet and tomcat

Friends I get this error when uploading my project to the apache tomcat I use apache tomcat 7.0.67 IDE: Netbeans 8.2 with java plataform jdk 1.8 run java EE 6 Web  your help please.     
asked by 21.11.2018 / 22:53
1
answer

Convert JSON to Class

Friends like I could Convert a Json into Class: My Class is the created class to which I must adapt the Json that returns authorizationResponse.getResponse () miClase token = gson.fromJson(autorizationResponse.getResponse(),miClase.class);...
asked by 16.11.2018 / 15:27
1
answer

Help with Crud in Java

I'm doing a web application in java, and I get the following error: org.apache.jasper.JasperException: /Comics.jsp(75,16) PWC6236: According to TLD or attribute directive in tag file, attribute items does not accept any expressions I leave...
asked by 13.07.2018 / 02:39
0
answers

Can you pass a bean per post to the servlet?

I've searched for information about it but nobody says, you can or can not: (. I have a bean (with getter and setter methods) and I would like to send it by parameter to the servlet in a form in the following way: <form action="Servlet"...
asked by 01.10.2018 / 19:05
2
answers

Variable String does not support an image in base64

Good morning I have a library, which generates an image base64 from my JSP , that image sent servlet through a post , when I receive it I do not receive the full character information, maybe the string does not support the str...
asked by 03.05.2018 / 23:26
0
answers

Structure FTP connection using MVC model in Java

My intention is to use the MVC model that I use for the connection in my database and apply it to the connection to my FTP server, first I explain how I connect to my BD. This is the connection class belonging to the Model layer public clas...
asked by 21.08.2018 / 18:36