Questions tagged as 'jsp'

0
answers

Foreign Key Ireports: java.lang.ClassNotFoundException: br.com.tkcsapcd.model.bean.ProjectHome

I have an error compiling the report in Irepor, the first time I compiled it, however, when I closed Ireports 3.7.3, and opened again I tried to compile the error below: Compiling to file ... C: \ Users \ Josue \ Desktop \ Report_Ireport \ te...
asked by 09.05.2017 / 08:58
1
answer

Consume .jar in java web project

I created a .jar (script.jar) file that contains the "print ()" method only returns a string and I would like that when I click a button in my Java Web application (JavaEE) this "print executed. Script.jar file method package jardeteste.met...
asked by 12.04.2017 / 18:06
0
answers

Problems with Post Call

Next I'm taking the following error when calling a POST method 405 (Method Not Allowed) follows the method I'm trying to call @RequestMapping(value = "/upload", method = { RequestMethod.POST }) public @ResponseBody Object upload(@Requ...
asked by 26.05.2017 / 15:39
1
answer

How to summarize a long text using Thymeleaf?

I have an object with two attributes, one is the id and the other is an attribute of the strring type called text of the type "TEXT" (postgres bank) that is used to store the text of a client post. When the application loads these I would lik...
asked by 28.03.2017 / 13:28
0
answers

MS SQL Query for JSP

I'm creating a website based on the JSP language but I do not know how to return a query that I performed on MSSQL Server , it looks like this: DECLARE @Nomes VARCHAR(8000) SELECT @Nomes = COALESCE(@Nomes + ', ', '') + nome FROM usuarios W...
asked by 08.03.2017 / 14:48
0
answers

Convert a List of Objects to UTF-8 in java

I'm doing a system using java jsp, using webservice RESTful, where I only consume data from a webservice via a link . Then on the main page, I create a list of objects coming from webservice , I use Google's gson to generate my list of obj...
asked by 05.03.2017 / 03:16
1
answer

Error trying to call Controller through View - SpringMVC

I'm developing a system using SpringMVC, when trying to make a call to the controller using the "s: mvcUrl" statement in the JSP the HTTP 404 error is displayed. I noticed that spring does not transform the "s: mvcUrl" statement into html....
asked by 28.12.2016 / 13:21
1
answer

Validate date smaller than current date [closed]

My question is as follows. I have a JSP form for registering students with multiple attributes, one of them is the date of birth. Until then I was registering the date only by validating the format (dd / MM / yyyy) and with annotations. But now,...
asked by 17.11.2016 / 14:56
1
answer

Jsp with scriptlets, taglib or jstl

Hello, I just registered and this is my first question. Sorry for any rules I'm not following with this post. Well, a short time ago I started to learn jsp in college, I introduced a bit of scriptlet (I think that's ) and taglib () and there'...
asked by 05.10.2016 / 05:45
0
answers

The method exceeded the limit of 65,535 bytes

I have a JSP file, and any line of code that I enter, it displays the following error: "The code of method .. is exceeding the 65535 bytes limit". The problem is that I'm using OpenCMS, which is based on Java and XML. And in this file, it...
asked by 25.08.2016 / 15:37