Questions tagged as 'servlet'

2
answers

Changing index.jsp dynamically without reloading the page

In my index.jsp I have a table that in one of its cells and an iframe that displays one of my jsp, and depending on the type of action taken by the user it changes which and the page displayed inside the iframe, I would like know if you can do t...
asked by 19.11.2014 / 14:45
1
answer

How to pass information from a JSP page to a Servlet

I need to pass information from a String variable that is on a JSP page to a Servlet. For example: String path="C: \ test.jpg"; How do I get this information in the Servlet?     
asked by 22.09.2016 / 19:28
1
answer

Problem with session in the servet

I have the saida.jsp . It is my page that depending on the option chosen by the user, it is mounted one way. I have two options for user verbs and adverbs . If the user clicks the verbs option it will be redirected to the saida.jsp page...
asked by 20.01.2015 / 20:00
1
answer

Pass parameter between two JSPs

I have the final page.jsp and saida.jsp. In the final page.jsp I send the parameter like this: <form action="saida.jsp"> <input type="hidden" name="informal" value="${documento.stringInformais}"> <button type="su...
asked by 27.08.2014 / 01:30
1
answer

Get method of http being automatically invoked

Good morning, I'm implementing the get servlet method here with a very simple logic. If the user passes a url in the default: "... / entities / id", the edit form should already be opened with the entity corresponding to the id typed after th...
asked by 05.07.2016 / 11:40
1
answer

What is the correct way to consume BLOBs via JAVASCRIPTS, HTML5, etc?

I'm using Google App Engine's BLOBSTORE. I already have some images saved on the server now I would like to consume them via browser (HTML5, JAVASCRIPT etc ...) It turns out that I have only the link that apparently is not of the image itself, a...
asked by 01.07.2016 / 04:19
1
answer

No mapping found for HTTP request with URI [/ Milicia] in DispatcherServlet with name 'dispatcher'

You can not find the uris that I type, it always gives the same error, I have already re-created it and still the error persists. Follow the relevant classes and files. relevant part of pom.xml <build> <finalName>Mili...
asked by 19.10.2016 / 20:33
1
answer

Tomcat does not update files [closed]

The problem is this, every time I change a file ( index for example), restart tomcat(v7) and press F5 in the browser, it stays the same, does not update anything, ie ends up getting in version previous .... Does anyone know what...
asked by 24.12.2015 / 06:34
1
answer

How to validate a form correctly?

I'm studying Java EE, but I'm having a hard time doing validations on data entry forms. My servlet CadastrarInstrutor collects the form fields and checks their contents. Below is the code for my JSP page (I put only the content of the...
asked by 25.10.2015 / 16:58
1
answer

Show PDF on page via Servlet

Hello, I'm developing a web application using Servlets and JSPs. I do not have much experience yet. My page contains a button that downloads a BD file and a <object> html to display a PDF that is in the BD. The button works no...
asked by 12.08.2015 / 13:34