GB Developer wrote:
>
> Sessions are (never?) thread-safe. Which is perhaps one reason why
> SingleThreadModel was deprecated. People thought by using that interface
> that they would never have to worry about synch issues again.
The servlet spec 2.5 draft says in SRV 2.2.1. (should be similar
Hi,
I'm a bit confused how links to jsp pages work.
On tomcat running on my linux box I am able to use references relative to
the webapp root to link to a page, like this,
However, on my WinXP machine running in Netbeans this raises an error The
requested resource (/loginPage.jsp)
Actually, any class with only local variables is always thread safe.
On 1/6/06, Michael Echerer <[EMAIL PROTECTED]> wrote:
>
> Duan, Nick wrote:
> > HttpServlet is inherently thread-safe as long as you don't use any
> > instance and class variables in your code. There is also no need to
> > sync
Before I begin, I am trying to create a new topic, not hijacking an
existing thread.
My problem is that I need for my browser to display characters using
the UTF-8 character set. In other words, characters such as, "é, ü"
are displayed as garbage.
I have tried to edit the web.xml file an
> From: Stephen Caine [mailto:[EMAIL PROTECTED]
> Subject: How to set a charset
>
> My problem is that I need for my browser to display characters using
> the UTF-8 character set. In other words, characters such as, "é, ü"
> are displayed as garbage.
This is a frequent topic in the mailing
Chuck,
My problem is that I need for my browser to display characters
using the UTF-8 character set. In other words, characters such
as, "é, ü" are displayed as garbage.
This is a frequent topic in the mailing list; have you checked the
archives? Try: http://marc.theaimsgroup.com/?l
Stephen,
assuming you are running Tomcat in a unix/linux environment, try to set
the locale environment
in the shell script that start tomcat.
Something like this:
LC_CTYPE=en_GB.UTF-8
Mauro
--
Stephen Caine wrote:
My problem is that I need for my browser to display characters using
the U
> From: Stephen Caine [mailto:[EMAIL PROTECTED]
> Subject: Re: How to set a charset
>
> We are using JSP's. The data is coming from a database and the
> storage format is MacRoman. The database displays the characters
> correctly.
I'm not concerned with the source of the data, since that s
> From: Rupert Young (Restart)
> [mailto:[EMAIL PROTECTED]
> Subject: References relative to the webapp root
>
> I'm a bit confused how links to jsp pages work.
The example you give is relative only to the host name, not the webapp.
In this case, the client (browser) forms a URI from an href by
Thanks.
Ok, I think on Linux the host name equals the webapp, whereas in Netbeans
there is an extra element, ie. the index.jsp is in
http://www.mydomain.com/ on linux
http://localhost:8084/VIU/ in netbeans
do you think that's the reason for the differences?
The question then is how do specify
> From: Rupert Young (Restart)
> [mailto:[EMAIL PROTECTED]
> Subject: RE: References relative to the webapp root
>
> do you think that's the reason for the differences?
Certainly a possibility. (It's the weekend - no definitive statements
today.)
> The question then is how do specify a path r
Dakota Jack wrote:
> Actually, any class with only local variables is always thread safe.
>
True for locals, but we were talking about instance&class variables,
actually.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Michael Echerer wrote:
> Dakota Jack wrote:
>
>>Actually, any class with only local variables is always thread safe.
>>
>
> True for locals, but we were talking about instance&class variables,
> actually.
You may of course still have instance&class variables... ThreadLocals
(usually static) work
Sry,
I want to deploy a .war without letting Tomcat unpack
it.
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
> > From: Charl Gerber [mailto:[EMAIL PROTECTED]
> > Subject: Deploying unpacked war file
> >
> > How do you deploy an unpacked .war file in Tomcat
> > 5.5.12 and not let Tomca
Charl,
look for the unpackWar attribute of the standard context container.
Mauro
--
Charl Gerber wrote:
Sry,
I want to deploy a .war without letting Tomcat unpack
it.
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Subject: Deploying
"Mike Korcynski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have Tomcat and Apache HTTP server running on the same machine. I
> have a key and certificate for the HTTP server set up and working
> properly. I have an application running in tomcat, I want to make the
> applica
Hello group!! I wanted to make an authentication page for my web site and
after some attemps I read that there was a way to configure the server so it
could take care of it automaticaly so I want it to ask you if you could tell
me how this is done because I havent being able to find any information
What you describe is referred to as container-managed security, or J2EE
Security. Here is a link I think may help you:
http://www.onjava.com/pub/a/onjava/2002/06/12/form.html
The actual configuration of the security constraints is J2EE-standard
and pretty easy. The configuration of roles and
thanks for the help ill get to it as soon as possible
Claudio Veas
---Original Message---
From: Frank W. Zammetti
Date: 01/08/06 00:58:13
To: Tomcat Users List
Subject: Re: login
What you describe is referred to as container-managed security, or J2EE
Security. Here is a link I think
"Jeff Hoffmann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have a webapp that that's being accessed from Apache through mod_jk. When
>the requests come to Apache, they get sent through mod_rewrite to add the
>appropriate webapp context path in front of the rest of the reques
Chuck,
We have tracked down the cause of our encoding problem to an apparent
bug in the Jakarta Response Tag Library. Apparently setting the HTTP
Header Content Type to:
text/html; charset=UTF-8
is parsed as
text/html;charset=UTF-8
The elimination of the space is the killer. The specif
21 matches
Mail list logo