teh j wrote:
Hi guys
just wondering if it was possible to store Hashtable
objects in the implicit session object?
thanks
Jason
[...]
Hi :-) I remember I have seen several emails in Servlet-List about it,
it is possible, and I remember perhaps it is better to make all the key-value
Wolle wrote:
Hello all,
I have a question about the Servelet Methode init call.
Whenn I call a website e.g. http://bla/servlet/bla.MyServlet.
It will first run the init Methode of this Servlet and then the doPost
od doGet.
But how could I do this manual ?
I have servlets, that need a
Wyn Easton wrote:
Hello,
Could someone help me understand the following
situation?
I have two servlets (s1 and s2) and one jsp (j1).
If I do this in s1:
request.setAttribute("str1", "Hello");
then forward to s2:
...forward(request,response);
In s2 I do this:
Sunil Chandurkar wrote:
Hello All..
Though i'm working on servlets from couple of months
i'm getting confused between doGet and doPost whenever i'm trying to do
Applet-Servlet Communication.
My Problem is :
On particular event my Applet is sending one string to Servlet and inresponse
Colin Morris wrote:
Hi I'm very new to Tomcat and Apache...
For some reason I'm not able to use POST to
initiate servlets from a form? Any Ideas? My
servlet is in tomcat's /ROOT/webapps/classes directory.
is it possible that I've not set up the .conf files
properly? I'm able to run the
to java as well...)
I'll try it. Hopefully it's nothing to do with my
Tomcat settings? I'll try overriding as u suggested.
On 27 Mar 2001, at 15:53, Bo Xu wrote:
Hi :-) I guess it is because:
did you "override" both doGet/doPost method in your Servlt class?
if you e
Wyn Easton wrote:
Hello,
I have been reading everything I could find about
ServletContext and have not been able to find an
example of how to share a servlet in one web
application with servlets in other web applications.
I can get a RequestDispather for a servlet in another
web
Samuel Arnod-Prin wrote:
Hello,
I've had to modify tomcat because I didn't know if there was a solution,
I would like to be warned when a HttpSession expires and becomes
invalidated.
Is there a way to do this ?
Or should I keep my modification in tomcat class to the expire() method
?
Andrey Myatlyuk wrote:
Hello Bo,
Thank you for very helpful sample.
I decided to use jsp instead of servlets.
Several reasons:
1. My ClassCastException situation is eliminated. Although I don't
understand why.
2. I use JSP for presentation("view") layer - so any web-designer can change
"Grewal, Gary" wrote:
in forwarding using RequestDispatcher, try String url =
encodeRedirectURL(url); and send this url as your forward url for
session tracking. May be you need to do a similiar thing on the JSP
side too while trnsferring the control back.
===
Gary Grewal
Contractor
David Oxley wrote:
What are the available products that can help me stress test my application
and which is the best. It needs to be able to run requests either serially
or in parallel (i.e. Acurrately simulating multiple users using a multiple
HTML frame servlet application).
Dave
[EMAIL
"Joel R. Cochran" wrote:
Sorry for the super newbie question, but where can I get download/install
instructions???
I downloaded all of the files in the V3.2.1/bin, but there is no text
file...no instructions. How do I get started?
Joel
Hi :-) when I installed TC3.2.1 in winnt40:
-
"Joel R. Cochran" wrote:
Thanks Bo,
I tried to install it...but.
1. I've extracted both .zip files
2. Set TOMCAT_HOME to my directory
3. Tried to execute "bin\startup"
4. Received the following:
C:\Tomcat\jakarta-tomcat-3.2.1bin\startup
Out of environment space
Hi :-) please see intermixed
Andrey Myatlyuk wrote:
Hello Vladimir,
Thank you for your help with classloaders. :)
I tried to put my "shared" classes in the classpath. But this approach
failed too. I cannot understand.
In this case my "shared" classes loaded by "Bootstrap class loader
Andrey Myatlyuk wrote:
[...]
I have my StatesBean loaded by SystemClassLoader. OK.
MyServlet by WebAppLoader. Good.
So when WebAppLoader reloads my servlet it should ask its parents
about loaded class. Ang guess what? StatesBean loaded already with
SystemClassLoader. What's wrong with it?
Andrey Myatlyuk wrote:
Hello Bo,
Thursday, March 15, 2001, 1:31:56 PM, you wrote:
BX Andrey Myatlyuk wrote:
[...]
Hi :-) I did a test with a very simplified MyHelper class,
* with jakarta-tomcat-3.2.1(standalone, JDK1.3, winnt40)
I put MyHelper.jar in:
- CLASSPATH
works. MyHelper
"Arendsen, Alef" wrote:
Ok, thnx so far, but I'm 100% sure I'm using a post. It's not a form, but
I'm using my own socket impl. of the http protocol to make it support
timeouts and stuff...
here it is, this is what I'm sending through the outputstream of the socket.
The GET-requests all
"H.F.N. den Boer" wrote:
Thank you very much for your quick response.
It seems I mixed up the servlet-name and servlet-class tags.
Next monday I'll correct and test it.
To check my understanding;
- servlet section; servlet-name is a alias for a servlet, which is the
first mapping
-
Paolo Barolat-Romana wrote:
I must be doing something wrong here. In my code, I have the following
line:
ServletContext servletContext = getServletConfig().getServletContext();
String fileName = (String) servletContext.getAttribute("filename");
Now, this should return a string which
[EMAIL PROTECTED] wrote:
The config.getInitParameter() called from within a JSP page is
returning null. After changing the web.xml file numerous times and
trying all the suggestions from java.sun.com and the tomcat archives I
still cannot resolve this problem.
Does anyone know why we can't
Milt Epstein wrote:
[ ... ]
I could be wrong, but I don't believe you have to define
servlet-mapping's to get init-param's to work, just having defined the
servlet is sufficient. However, in the URL, you do need to use the
specific servlet-name you used in the servlet definition. (That's
Michael Engelhart wrote:
Hi,
I know this is probably an FAQ but searching the archives I couldn't find any
answer. (BTW, I think the search routine on the mikal.org site is broken as I typed
in "sdfkjlkersdfualsusdfl" and it returned it's standard 20 items... it's doubtful
that
Michael Engelhart wrote:
Ooops - sorry. What I meant to say is that when I put the helper files in the
WEB-INF/lib directory, I get 404 errors even accessing just a simple html page which
has no servlets associated with it.
Thanks
[...]
Hi :-) with jakarta-tomcat-4.0-b1(standalone,
Vijay Suryawanshi wrote:
How to use text/vnd.wap.wml MIME Type to serve WML pages from Tomkat ?
It's not working after putting mime type mappings in web.xml. This is
similar problem that Raf Colson had faced.
Raf, did u get any workaroud ? If you could help me in this regard,
that would be
Jason Novotny wrote:
I would like to be able to access a servlet with the URL
http://localhost:8080/demo
However, it only works if I go to
http://localhost:8080/demo/servlet/demo
I have the following in server.xml and web.xml respectively:
Context path="/demo"
Neil Edney wrote:
Hi,
We have implemented a database connection pool class (extract below) and use
the 'getInstance' method to ensuire that there is only one instance created
at any one time.
What we need to know is when will this class be destroyed? Is it went the
server is stopped (or
"Raghavendra V. Kulkarni" wrote:
Hello,
I am new to tomcat. I have successfully
installed TomCat on my system. I could
also run "Examples".
I have my own application (.class files)
that I intend to host through tomcat. Can
anyone tell me
"Winkel, Matthias; 2854" wrote:
Hi!
I am looking for a possibilty to implement a counter, that is incremented
whenever a new session is created in my web application.
In other words:
I need something that sends an event to my counter object, when a session is
created. One possibilty is
uthay wrote:
Thx Jim
I tried that.
I also want to bring some other thing I read recently.
It states that although tomcat supports class reloading on updation it is
still not supported to those classes that are not servlets.
What does that supposed to mean?
[...]
[...]
Uthay - I was
Shahed Ali wrote:
Sorry for this stupid question,
but how do I use the log() method in servlets ?
In JSP application.log() seems to work,
but in servlets, I tried getServletContext().log("adad") etc and
I keep getting NullPointerExceptions
Thanks
Shahed
[...]
Hi :-) I also have this
Hi dear friends :-)
I am new to this List, thanks for your help! :-)
now I use jakarta-tomcat-4.0-b1(standalone, JDK1.3, winnt40).
from the direction of one email in Servlet-List, I find the following
link:
S Ramakrishnan wrote:
I am afraid I do not understand. Why are the two correlated?
Unless I am mistaken, servlet mapping is for
arriving at compact URLs for user convenience.
Why is this mandatory in order to specify
init-parm's?
Thanks,
Rk
x77309
On Mon, 26 Feb 2001 10:58:44
101 - 132 of 132 matches
Mail list logo