Questions tagged as 'jsp'

1
answer

Error 404 directed to the Servlet. Problems with Dispatcher

I'm studying java for web (EE) and would like to know if you could help solve a java problem! I have in my web.xml a call to the file erro404.jsp that is in the root of the site to filter pages that do not exist! It turns out that if the n...
asked by 12.08.2015 / 21:01
1
answer

Export to database

I load 3 strings from a CMS. String Data da Noticia String Titulo da Noticia String Texto da Noticia Within a loop , I create the query to insert with these 3 strings. I'm just having some problems. 1st) The string Text of the News,...
asked by 08.07.2015 / 13:12
1
answer

Graphic without image jsp

Hello! I am trying to generate graph by jsp I tried following this tutorial But there is only one little square in the left corner of the page when I run File Torta.jsp <% try{ DefaultPieDataset data = new Default...
asked by 18.10.2016 / 20:11
0
answers

Uploading excel (.xlsx) with jsp

I'm developing an application to submit Excel files to an application. However if I try to submit a file .txt , it works correctly, if I send a file .xlsx the copied file to the server directory appears empty. I'm using lib: co...
asked by 20.06.2016 / 16:26
0
answers

How do I return an imported value from one JSP page to another? [closed]

I have two JSP pages: in one it checks a client link condition; if it has no link, it enters a function that calls another JSP to import the client data. It even imports the data, but when it returns to the JSP that called it it does not brin...
asked by 28.04.2014 / 22:47
2
answers

Can a servlet send to two different JSPs?

My page index.jsp uses the Servlet and then sends it to resposta.jsp . In resposta.jsp depending on the button, I use the Servlet to use another Java function. But I do not know how to make this use. In my servlet I use:...
asked by 14.11.2014 / 01:36
1
answer

JSP for .NET developers

I am a .NET developer who needs to understand a bug that occurs in a JSP application. (I do not need to compile or fix it, just understand how it is using the database and so on.) I already have Eclipse, loaded solution, I have the fonts and...
asked by 28.07.2016 / 23:04
2
answers

JSP Dynamic Change in JBoss AS 7.1

Hello. As far as I'm working with JSP I find it very bad to have to pause and start the application every time you need to see a change. Do you have any way to update page changes without doing all of this?     
asked by 24.07.2014 / 19:25
1
answer

EL JSP does not work

Servlet code: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { token = "teste"; request.setAttribute("token", token); System.out.println(token); RequestDispa...
asked by 15.12.2017 / 14:21
2
answers

How do I get a file extension?

I'm using JSP and HTML and I need to select a file and know its extension. The only way I can open a file is with input file but with it I can not get the extension. How can I get this result?     
asked by 23.04.2014 / 02:55