Questions tagged [servlet-container]

For questions regarding servlet-container

78 questions
0
votes
0 answers

sip stack implementatin outside the servlet container

I want to know if it's possible to implement the SIP stack outside the servlet container and interact between them with an interface. I want to have SIP transactions and dialogs for the first part and can host the servlet inside the servlet…
0
votes
2 answers

What's the minimal configuration needed to init an Autowired member in a web-app?

What's the minimal configuration needed to have the following class member to be initialized using the @Autowired annotations: public class A { @Autowired private B b; // ... } When invoking A a = new A(), I'd like b to be initialized from a…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
0
votes
1 answer

Why does tomcat includes *.jspf fragments as static text while jetty processes them dynamically?

I was developing my toy project using jetty maven plugin and executing goal jetty:run. Now i decided to check how it works on tomcat. I have two jspf fragments: header.jspf and footer.jspf inside of WEB-INF/jspf/ containing common code for all of my…
Kirill
  • 6,762
  • 4
  • 51
  • 81
0
votes
1 answer

how to run selenium tests from a dynamic web project which has deployed to tomcat server

I am trying develop a web application by using jsp,servlet and tomcat server, and from that web application i have to run a selenium test script. but when i am running tat application then it is throwing an error that is Selenium webdriver class…
0
votes
1 answer

Why do we need WAR? if we can create JAR and deploy it on servlet container

Why do we need WAR? if we can create JAR and deploy it on servlet container.
0
votes
2 answers

spring web application with two ServletContext

Can we have a spring container with two ServletContext? I am just asking this cause we have Application scope in spring which scopes the bean per ServletContext. So can we have two instances of such bean?
eatSleepCode
  • 4,427
  • 7
  • 44
  • 93
0
votes
1 answer

Increasing the call rate automaticallyin SIPp and dump it in CSV file

I use this command in sipp for generating load on my SIP servlet container ./sipp -sf uac.xml 127.0.0.1:5080 -trace_rtt Two things I need. The first one is increasing the load automatically, for example: add 100 call/second. The second one is the…
0
votes
1 answer

Quartz Scheduler - to run in Tomcat or application jar?

We have a web application that receives incoming data via RESTful web services running on Jersey/Tomcat/Apache/PostgreSQL. Separately from this web-service application, we have a number of repeating and scheduled tasks that need to be carried out.…
ricb
  • 1,197
  • 2
  • 12
  • 23
0
votes
1 answer

Jersey servlet returns zip file that contains more bytes than response sent

I'm trying to implement a simple servlet that returns a zip file that is bundled inside the application (simple resource) So I've implemented the following method in the server side: @GET @Path("{path}/{zipfile}") @Produces("application/zip") public…
MaximD
  • 186
  • 2
  • 6
0
votes
1 answer

Implementing HTTPServlet interface in WebObjects application

We have a requirement to implement the HttpServlet interface in webobjects application. We all know that "WebObjects applications can be deployed as servlets inside a servlet container".But, our requirement is to deploy the servlet application in…
0
votes
1 answer

No authenticator available for programmatic login

I keep getting this error whenever I try to login with two different users in two different sessions. 13:27:28,444 ERROR [com.commit.steam.rest.RestLoginService] (http-localhost-127.0.0.1-8080-2) Error on login: javax.servlet.ServletException: No…
0
votes
2 answers

I wanted to create a new session, once current servlet session got expired.

i have to avoid the following condition. I'm running the servlet . This session will be expired in Browser after my Time-Out (WEB.XML) period. After getting this time-out, i need to reload this link in Browser to activate this servlet. I don't…
0
votes
1 answer

What are some Servlet Container for Netty

I wanted to build myself a Web based chat application (something like hipchat or facebook chat)I think netty is the way for this since it is event driven, However. Netty does not have any servlet container. So How do I build my own servlet container…
user962206
  • 15,637
  • 61
  • 177
  • 270
0
votes
1 answer

Why Tomcat support Hibernate?

Why Tomcat support Hibernate? Hibernate is implementation of JPA, but Tomcat doesn't support Java EE. So why we can use Hibernate in Tomcat?
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
-1
votes
1 answer

Scope of session object

1) As mentioned here, HttpSession objects must be scoped at the application (or servlet context) level, where context is, ServletContext context = request.getServletContext(); 2) HttpSession object is created per browser session, in tomcat…
overexchange
  • 15,768
  • 30
  • 152
  • 347