Questions tagged [web-container]
62 questions
0
votes
1 answer
Read file from a directory outside of Web project
my web application project (JBoss AS) needs to read a file which resides outside of this project. For example, the file to be read is under /tmp/.
It looks like classes in the project can't access files under /tmp/. However, it can output to a file…

user697911
- 10,043
- 25
- 95
- 169
0
votes
1 answer
Develop a web application in java EE using only a servlet container?
I do some research about deploying web application in Javaee, and i found that an application server compatible Java EE is a web container plus EJB container. Also that Tomcat is just a web container not an application server.
In my case, i have to…

salma
- 171
- 1
- 1
- 10
0
votes
4 answers
Path to a file in a webapp under GlassFish
How do I specify the path to a file in a web application? I have a folder named 'templates' under WEB-INF, I've been told that under GlassFish v3 the path should look like this:
./WebContent/WEB-INF/templates
but this way I'm getting a file not…

Slavko
- 486
- 3
- 6
- 12
0
votes
1 answer
web worker comunication without onmessage
here is the problem I want to sumbit to you fellow gifted coders :
I have a custom web container written in C++ that can communicate with javascript.
From C++ to JS it can do synchronous JS function calls
From JS to C++ it can do asynchronous C++…

Patrice Pistone
- 73
- 1
- 1
- 4
0
votes
1 answer
How can web server/web container tell several requests are from the same client?
I am reading the < Head First Servlets and JSP >. It says:
The session persists across multiple requests from the same client.
So I am wondering how Web Server or Web Container tell several requests are from the same client?
I guess it should use…

smwikipedia
- 61,609
- 92
- 309
- 482
0
votes
1 answer
Multiple web container thread pools in WebSphere - is it possible?
I have two Servlets providing a different service each. I don't want requests for one of them to block if the other Servlet is turning very slow at handling incoming requests.
This is a problem today as both share the same thread pool.
Can I…

Gili Nachum
- 5,288
- 4
- 31
- 33
0
votes
3 answers
Inside the Web container how more than 1 object of the same class is getting created/managed which has same reference variable
Probably the stupidest question you have ever heard.
Inside the Web container how more than 1 object of the same class is getting created/managed which has same reference variable... Let me explain with an example.
Inside my controller class I have…

KingJulien
- 303
- 3
- 9
0
votes
2 answers
APACHE-TOMCAT can anybody elaborate which one is web-server and web-container?
HI
Most of the time I read Tomcat is Web-server.. Sometimes I read Tomcat is web-container..
Sometimes I read Apache is web-server.. I am bit puzzled..
Can anybody explain it properly?
Thanks..

giri
- 26,773
- 63
- 143
- 176
0
votes
1 answer
web application and process in web container in java
Does every web application in web container will run in an isolated memory space? Is it a stand alone PROCESS?
Does every servlet run in an isolated memory space or a process?
What's the diff between java process and os process, Does every java…

lovespring
- 19,051
- 42
- 103
- 153
0
votes
1 answer
How do you show up the maintenance message while you want to re-deploy a war file?
Hey guys I am trying to display a maintenance message on my web page while I wanna deploy an updated war, so the original war must go offline first and at the same time, client will get 404 not found error page...My question is, what is the most…

Steve Lam
- 499
- 1
- 10
- 27
0
votes
0 answers
Is it possible to make a client software by using C# as shell and rendering view by html + css?
I want to write a client software, that can be installed on user's desktop machine.
I want to write a shell in C# and involve GeckoFX as embedded WebBrowser to render view by using html + css.
The problem is, if i do like i said, i need a…

Howard
- 4,474
- 6
- 29
- 42
0
votes
1 answer
Different types of Apps Developed in Sybase Unwired Platform
I want know the different types of apps developed in Sybase Unwired platform.please send me any materials or web links related to SUP .
Thanks in Advance........

user1508544
- 3
- 1
- 4
-1
votes
1 answer
Spring Boot Where is the dispatcher servlet located?
I'm studying about spring boot and dispatcher servlet.
but I have no idea where is the exact location of dispatcher servlet.
I saw two pictures describe dispatcher servlet and web container, but they are different.
I've been looking for an answer…

befb
- 1
-1
votes
1 answer
JPA in EJB container vs. Web container
Is there any documentation / articles identifying best practices / rules for when should one use JPA in an ejb container vs. when is it appropriate to use JPA in a web container?
At a high level - couple of things that I can think about is if we…

adbdkb
- 1,897
- 6
- 37
- 66
-2
votes
1 answer
what does context mean with respect to a web-container / a web application?
what does context mean with respect to a web-container / a web application ?
what does Context cont = new InitialContext() initialize ?

program-o-steve
- 2,630
- 15
- 48
- 67