Tagged Questions

0
votes
0answers
7 views

Value of javax.servlet.context.tempdir set by Tomcat 7 not respected by RichFaces 4.2.2Final

I'm providing a <Parameter name="javax.servlet.context.tempdir" value="${catalina.base}/my_temp" override="false"/> inside the <Context> node of Tomcat's context.xml file. I know it's ...
0
votes
0answers
44 views

Can we call http servlet from httpClient Componet

I want to call http servlet class from my httpClient, my httpClient code below public class ConnectionClientHttp { public static void main(String[] args) throws Exception { ...
0
votes
1answer
46 views

Java Servlet error 'Resource Not Available'

I'm trying to build a Java servlet, and I've done everything according to the instructions my prof gave our class, but I'm getting a weird error. Background: I'm working with Java EE Helios and ...
0
votes
1answer
10 views

Recover from TDB corruption using JENA and Tomcat

I'm developing a web application using Jena and Tomcat and I find that quite frequently, usually after an exception is thrown, something happens to the TDB and certain calls to retrieve data from the ...
0
votes
1answer
31 views

Regarding logs configuration for servlet

I am developing an application , I want to configure the log4j as I want separate logging to be done for my project also so that a separate log file is created .. below is the pic of my project ...
0
votes
1answer
20 views

Regarding configuration og log4j in servlet

I have developed an servlet application and want to configure log4j , I have done that by using log4j api below is my piece of code.. ### direct log messages to stdout ### ...
0
votes
1answer
38 views

adding the functionality of user counter in the servlet

I have developed a servlet below in which the logic is that If name is equal to saral saxena then it moves to next page otherwise not , I am posting below my code also , I want one change is that It ...
0
votes
2answers
21 views

Where to mention port while giving hit to server?

I have one small doubt and may be silly but I want to clear the doubt. Say I have server computer in which I have tomcat and apache server running. I can now access the admin page using ...
1
vote
1answer
29 views

Creating two instances of a particular servlet

I have query , that If I mentioning the web.xml for my servlet application such as shown below .. <servlet> <servlet-name>AuthenticationServlet</servlet-name> ...
0
votes
1answer
18 views

Jersey Servlet - Best way to set root uri content?

I am using JAX-RS to develop a RESTful api for an application. I'm deploying it in Tomcat. It's deployed at myhost:8080/api. Resources are at .../api/{resourceName}, etc. I'd like to have it so that ...
0
votes
1answer
14 views

Tomcat appends CRLF to the response string

In my servlet I send a string to browser as attachment. When I save the attachment to disk and open it, the string was appended with a CRLF (Catrige return, newline). Does Tomcat do this or browser ...
1
vote
0answers
33 views

Tomcat servlet mapping error after Broken pipe error

We have implemented Servlet 3.0 AsyncContext in Tomcat Version:7.0.23. It is runing in RHEL 6.1 using OpenJDK version 1.6.0_24,64-bit server The app is working fine for most part. When there is some ...
-4
votes
3answers
44 views

Calling init() inside doget() method of servlet

Please advise what would happen If I call an init() method inside the doget() method of a servlet. Will it throw an exception? What impact would it have on the servlet life cycle? Please advise.
0
votes
0answers
17 views

apache mod proxy for tomcat and last-modified header

I have a tomcat webapplication proxied by apache modproxy. Most of the site content is tomcat files, jsps, and servlets, as well as some webapp paths pulled by various servlets from the database ...
0
votes
2answers
28 views

Extending an abstract class in the WAR from a class in the lib folder

I want to enable the following scenario: my web application (WAR file) is deployed on Tomcat on its own my web application provides an API for extensions in the form of an IFace interface and ...

1 2 3 4 5 58
15 30 50 per page