Servlets Servlet is a Java application programming interface (API) running on the server machine which can intercept on the requests made by the client and can generate/send a response accordingly. A well known example is the HttpServlet which provides methods to hook on HTTP requests using the ...

learn more… | top users | synonyms (4)

2
votes
0answers
8 views

jsp errorPage not working properly with spring dispatcher

I am using spring in my jsp project, I have following mapping for all html requests, <servlet> <servlet-name>spring</servlet-name> ...
-1
votes
3answers
36 views

Servlet should accept POST and GET

I try to implement a servlet which should be called either through POST or GET. So I wrote something like this @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) ...
0
votes
4answers
34 views

Create session in java using jquery

I want create session using client side jQuery API in Java. is it possible to create session in jQuery in J2EE i.e JSP and Servlet?
3
votes
0answers
19 views

Why is it so hard to find JSF button security information (isUserInRole())?

I recently developed a tomcat web app in JSP that uses declarative security (server.xml/web.xml) tied to the company's Active Directory. I was asked to add JSF support to the fledgling project. It was ...
0
votes
2answers
13 views

sharing a session id/ login info between two web apps

I am running Tomcat 7 and not using any external libraries...no spring. no struts, etc. Sorry, I am kind of a newb at this. So if a person logs in web application 1, my thought process is to usually ...
2
votes
2answers
40 views

Read file by keeping line track in java

I have servlet to read log file my jsp call servlet at some interval.I want to add functionality in my servlet so that it read file from line next to last line from previous read. I have following ...
0
votes
2answers
27 views

apache commons FileUpload - cutting off large files before whole file uploaded

I am using apache commons FileUpload to allow image uploads. I can set the max files using setSizeMax and setFileSizeMax. But it seems that an entire large file is uploaded and then checked too see ...
0
votes
0answers
8 views

Deploy a .rar on cloudfoundry using eclipse plugin

I am currently using the cloudfoundry eclipse plugin to deploy my JSP/Servlet web application. My application is now using a Db (Sqlite). However I am having problem deploying the sqlitejdbc.rar to ...
-1
votes
2answers
46 views

Java: Regex matching in an unexpected situation

I'm working on a servlet that effectively routes to other servlets, performing some nifty helper functions along the way. My web.xml is configured to direct all traffic through this class, and the ...
0
votes
1answer
22 views

jstl output doesn't work

I'm working on making an application (developed for tomcat 5.5) to be compatible with tomcat 7 (7.0.27). I'm having problems with jstl, simply tags are not output when I specify: <web-app ...
0
votes
1answer
14 views

Paypal Business Standard: How to handle action after the payment?

I want to use Paypal Payment Standard(the one jumps to paypal to pay and jumps back after payment is done) to handle the payment on my site. I know I can add a callback url to the button, but I could ...
0
votes
2answers
23 views

tomcat - their classes from previous runs are still loaded in memory

when stop my project , tomcat say : The following web applications were stopped (reloaded, undeployed), but their classes from previous runs are still loaded in memory, thus causing a memory leak ...
0
votes
0answers
9 views

sending request to Dropbox

I am facing this error on executing my servlet in tomacat.... Code...for sending data... String result= URLEncoder.encode(oauth_token , "UTF-8")+"&"; PostMethod get = new ...
-1
votes
1answer
25 views

Using jquery post to start a new java thread via a Http Servlet

I have a webpage with a start/pause button (controlling and xml extractor) which, when clicked, executes the following jquery function: function start() { // Posts to the start servlet ...
0
votes
0answers
44 views

tomcat leak :static class variables

I read this article: http://wiki.apache.org/tomcat/MemoryLeakProtection#staticClassVariables The article says: When an app is stopped, Tomcat (even before 6.0.24) nullifies the value of all ...

1 2 3 4 5 468
15 30 50 per page