0
votes
0answers
7 views

Extending The Spring Framework (Java) Servlet

I'm working on a Java web app that uses the Spring Framework (MVC). All my code is in controller files that are instantiated by the servlet. I would like to extend the servlet so that I can run some ...
1
vote
1answer
15 views

need to get right approach to update data coming to a servlet

I am new to spring and need an approach for my application. I have an application which inserts a user latitude and longitude from android device. According to my new requirement, I need to tag each ...
0
votes
1answer
41 views

How to list data with JSP?

I have a problem with my lista-dados.jsp: My Servlet: package br.com.cad.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import ...
0
votes
1answer
42 views

JSP cannot be resolved to a type

<%@ page import ="java.util.*" %> <%@ page import ="book.*" %> ArrayList movies = (ArrayList) request.getAttribute("movieinfo"); if(movies!=null){ for(int ...
0
votes
0answers
36 views

Using ajax with my JavaScript to store a value while handling events?

I have a jsp, that contains a <button> with an onclick event and a list of <input type="checkbox"/>s that are being handled with my AjaxScript.js (also mentioned in the next paragraph). I ...
0
votes
0answers
10 views

HttpServletResponseWrapper - Struts XSS prevention

I am currently extending the HttpServletRequestWrapper to encode values from URLs and all forms, preventing an XSS attack. I am curious if anyone could explain where/why one would use the ...
0
votes
2answers
35 views

How to get the ? at the end of URL when there are no query parameters

I am trying to get the complete URL from HttpServletRequest object. I got various ways of doing it. One of the way is to combine the requestURL with queryString. My situation is that there is a ? at ...
1
vote
1answer
43 views

How to test if an error occurred on the Server, and output client side

Okay, so I've been working on this for a few days, and I've hit something of an issue. Basically, the idea is simple. The user clicks a link, and this sends a request to the server to generate a PDF ...
0
votes
1answer
12 views

WARNING: /%3C%=request.getContextPath()%%3E/trailpath/trailpath.nocache.js: java.lang.NumberFormatException: =r

i am giving code. Client package a.b.client; public class Trail implements EntryPoint{ Button b=new Button("Click"); FlowPanel fs=new FlowPanel(); int i=0; private final TrailInterfaceAsync obj = ...
-3
votes
0answers
17 views

how to save images in the folder of netbean tool? [on hold]

in the project of the Spring, the folder "images" can not storing the images. please if you have any idea about the netbeans tool to how to store the images in the folder.
0
votes
3answers
33 views

BlockingQueue Behaviour for Multiple Request

I am Sorry if my Question is Silly. I am using ArrayBlockingQueue. private ArrayBlockingQueue<RequestParameters> processorQueue; private int sizeOfQueue = 3000; Here, my Producer is seperate ...
1
vote
4answers
40 views

Configurable Values in a servlet

We have a small Provisioning server which only hosts servlets. Hosted on tomcat. There are few values hardcoded in the servlet which i want to make configurable or external, so that they can be ...
0
votes
2answers
28 views

Confusion between HttpServlet class and using it with Jersey

I am building servlets which implement a RESTful API. I understand the Jersey is a framework for deciphering and using given URL's. How do I use it in conjunction with the HttpServlet class. I don't ...
0
votes
1answer
21 views

Apache Tomcat using old resources - changes in Eclipse project not reflected in Web App

I am using the Eclipse Java EE IDE with Apache Tomcat version 6 to develop a web application. The structure of the application is very simple, there are just two classes, one is the servlet class and ...
0
votes
1answer
17 views

Error when trying to run a Dynamic Web Application with AppEngine

I am trying to implement a GMC HTTP Server, I am using the code provided google's sample code found here: http://developer.android.com/google/gcm/server.html#server-setup When i try to run my project ...

1 2 3 4 5 532
15 30 50 per page