)
{
request.setCharacterEncoding(encoding);
}
filterChain.doFilter(request, response);
Do I need to do something else for Tomcat? In particular, do I need to do the
stuff mentioned here: http://wiki.apache.org/jakarta-tomcat/Tomcat/UTF-8
Thanks in advance
Sanjay
for these to work
for any UTF-8 data.
One issue is that my app would be hosted on a web farm. As the above looks to
be a server-wide change, it will affect other apps hosted on the instance too,
right?
Thanks and regards
Sanjay
Morgan Stanley
-Original Message-
From: Mark Thomas
Hi Mark,
Adding URIEncoding=UTF-8 to the coyote connector did the trick. Thanks a
bunch!
My guess is that our app will be hosted on a tomcat instance that only hosts
UTF-8-aware apps.
Thanks and regards
Sanjay
-Original Message-
From: Karanjkar, Sanjay V (IT)
Sent: Friday, June 03
)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
gmake: *** [stop_tomcat] Error 1
Thanks in advance
Sanjay Karanjkar
fc3sdi team
-Original Message-
From: Lionel
Hi,
Anyone had a chance to look at this one yet?
Thanks
Sanjay
-Original Message-
From: Karanjkar, Sanjay V (IT)
Sent: 15 March 2005 11:19
To: tomcat-user@jakarta.apache.org
Subject: Problem with BASIC authentication
Hi,
I have the following setup:
1. A copied version of Tomcat
going madHave I missed something? Is it because I've copied the
tomcat binaries instead of installing it? If so, why does authentication
work correctly for the inbuilt Manager application..?
Appreciate if you could help me..
Thanks and regards
Sanjay Karanjkar
tomcat 4.1.29
Please let em know if anyone already have any idea
about this
-Sanjay
Methode defined in the Java file are
private int seconds = -1;
public void setPoll(int seconds) {
this.seconds= seconds;
}
public int getPoll(int seconds) {
return
would apreciate any ideas someone might have to offer.
Thanks,
-- Sanjay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and everything starts falling apart.
IE on both machine is set up identically.
If anyone knows or has any suggestions as to the problem, it would be
much appreciated.
Thanks,
-- Sanjay
-Original Message-
From: Papillon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 2:02 PM
, and on no other developer,
that have the same OS and software.
-- Sanjay
-Original Message-
From: Papillon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 5:42 PM
To: Tomcat Users List
Subject: Re: JSESSIONID problem. SP.AM
You say both IE are sames but you seems to have two differents
please reply
-Sanjay
__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello
How can to out the how much memory is eaten ( memory
foor print )
up by my Tomcat webserver.
-thnx
-cs..
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Hello,
I installed tomcat4.1.24 on a standalone machine ( not
connected to internet )
Now there is a DOCType statement in the web.xml
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application 2.2//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
So now how Tomcat
josh...
I am not sure about specifying in web.xml...but you
can specify it per application.
This can be done by specifying the JNDI entries
between the context tag for the application.
sanjay.
--- Josh G [EMAIL PROTECTED] wrote:
How can I specify jndi resources in web.xml for an
application
Anybody has any ideas on this,
Thanks again,
Sanjay
--- Sanjay [EMAIL PROTECTED] wrote:
I am trying to set a RMI-IIOP server on Tomcat.
Getting some issues.
MY RMI Server works fine if I start it standalone-
without Tomcat. I think have been able to set
security
codebase etc correctly
I have it set in a simple directory called tomcat.
Thanks
Sanjay
--- Bodycombe, Andrew [EMAIL PROTECTED]
wrote:
You may problems using RMI if tomcat is installed in
a directory containing
whitespace. (e.g. C:\Program Files\Apache
Group\...).
-Original Message-
From: Sanjay [mailto
Sanjay
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am using Tomcat 4.0..I have set all the paths.When
as a test i try to access the url
http://localhost:8080/index.html I only get a blank
page.No error is displayed.
Pla help me out.
Thanks
Sanjay
__
Do you Yahoo!?
Yahoo! Tax Center - File
.
org.apache.jasper.JasperException:Unable to compile class for JSPC:
Class test not found... import test
Could you pls. guide me to solve the above error.
Thanks in advance,
Sanjay
Is there a way to catch the username from tomcat-user.xml file as a
variable? I want to use the username that a user logs in as into my
servlet.
Thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hello:
Does somebody know how to use Tomcat as a FTP server?
I am trying to have some jsp/servlet program to be used by clients to
download files from our site.
Is there any utility already out there?
Sanjay Shah
Manager, Web Production Engineering
Banking Brokerage
Thomson Financial
If you are using SSL than JDK1.4 has required jsse classes within the
package, for jdk-1.3.1 you will require to install it saparately. Also,
JDK1.4 do not support green threads in case you need it.
-Original Message-
From: Shrotriya, Sumit [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Hello Craig:
I was reading one of your post in tomcat user archive regarding
implementation of FTP protocol under Catalina.
One of my requirement is exactly the same.
In my case the FTP security and processing needs to be managed on a per
customer basis, however this tends to be closely
as Request handler server providing
authentication.
Thanks
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:45 PM
To: Shah, Sanjay
Cc: 'Tomcat Users List'
Subject: RE: HTTPS to HTTP
On Thu, 9 Jan 2003, Shah, Sanjay wrote:
Date: Thu
PROTECTED]]
Sent: Thursday, January 09, 2003 2:10 PM
To: Shah, Sanjay
Cc: 'Tomcat Users List'
Subject: Re: FTP and Tomcat
On Thu, 9 Jan 2003, Shah, Sanjay wrote:
Date: Thu, 9 Jan 2003 13:52:55 -0500
From: Shah, Sanjay [EMAIL PROTECTED]
To: 'Craig R. McClanahan' [EMAIL PROTECTED]
Cc: 'Tomcat Users
What is custom Valve (I am very new to tomcat)? Do you mean custom
servlet/cgi?
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 2:20 PM
To: Shah, Sanjay
Cc: 'Tomcat Users List'
Subject: RE: FTP and Tomcat
On Thu, 9 Jan 2003
- the classes themselves run fine
outside of the applet. I can see the memory usage-
that is not high.
Any ideas or suggestions welcome. How can we measure
CPU usage in Java?
Thanks a lot,
Sanjay
__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock
= currrentPage.getHost();
int port= currrentPage.getPort();
The host comes correctly as- localhost but port
returns as -1.
Thanks
Sanjay
__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
To unsubscribe
Thanks all for responding. The most suitable approach
for me is:
InputStream is =
this.getClass().getClassLoader().getResourceAsStream(myApp.properties);
I just put my file in the classes directory- that is
what I would like.
Sanjay
--- Jacob Kjome [EMAIL PROTECTED] wrote:
That might work
I am trying to read a properties file from my servlet.
It always comes back saying file not found. I have
tried placing the file in
classes/web-inf/context-path. Ideally I would like to
lace it in my classes directory- How do I achieve it.
Thanks
Sanjay
Thanks Mark Craig.
My situation is slightly different. I am trying to
read the property file from a Java class on the
server(not the servlet). I would think there would be
a way around to do this- else I can work around to
pass a param to the helper class.
Thanks
Sanjay
--- Craig R. McClanahan
) {
props.load(stream);
stream.close();
}else System.out.println(The stream null);
Thanks
Sanjay
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Wed, 3 Apr 2002, Sanjay Bahal wrote:
Date: Wed, 3 Apr 2002 12:00:17 -0800 (PST)
From: Sanjay Bahal [EMAIL PROTECTED]
Reply-To: Tomcat Users
Can any one give the url for mod_jk or web_app I have
not been able to find it on the site.
Thanks
Sanjay
--- Andrzej Jan Taramina [EMAIL PROTECTED] wrote:
Searching the jakarta site is like trying to find
a needle in a haystack.
Does anyone have the url for an already built
mod_webapp
I need one too for NT.
Thanks a lot,
Sanjay
--- Neil Streeter [EMAIL PROTECTED] wrote:
I have installed all binary packages Tomcat
4.0.3... apache 1.3.24 on
windows 2000
is there a binary version of mod_jk available that
fits this setup? I
couldn't find it... if you have one, could
I am looking for it too?
Thanks,
Sanjay
--- Karthik Gopal [EMAIL PROTECTED] wrote:
Hi ,
Where can I find the jk_nt_service.exe for Tomcat 4?
Or can I reuse any older version of this exe.
Thankx
Karthik
--
To unsubscribe:
mailto:[EMAIL PROTECTED]
For additional commands:
mailto
Thanks Jacob.
I will try it out.
Sanjay
--- Jacob Kjome [EMAIL PROTECTED] wrote:
Hello,
I saw you both asking how to run Tomcat 4 as an NT
Service on the
Tomcat User list. I was looking at the archives.
I'm not subscribed
to the list, which is why I am sending this directly
to you
What is the exact link to get mod_jk. I can't seem to
find it- 4) Integrate Tomcat and Apache
Stop the Tomcat and Apache services. Then download
mod_webapp from
jakarta.apache.org
Thanks
Sanjay
--- Chris Pheby [EMAIL PROTECTED] wrote:
Apache, MySQL, Tomcat, Netbeans and Mozilla
How do I link Apache and Tomcat. Is it mod_jk or
mod_webapp. What are the links to get them.
Thanks a lot,
Sanjay
__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
To unsubscribe: mailto:[EMAIL
I found a problem with this. If you don't do /* it
becomes case sensitive. So that again becomes an
issue.
Sanjay
--- Sanjay Bahal [EMAIL PROTECTED] wrote:
Yes this works? I will paly with it more and post.
Thanks a lot,
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
Sanjay,
Try
http
What I am trying to do now is mapping my servlets to
names like
/search/* to SearchServlet
/def/* to DefaultServlet etc.
I would think this is a convulted naming/mapping
convention but that is as far as I have been able to
think.
Thanks a lot,
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
All
/*.
Thanks
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
Then according to Craig's previous email you need
to-do
something like this:
servlet-mapping
servlet-nameSearchServlet/servlet-name
url-pattern/search/SearchServlet/url-pattern
/servlet-mapping
servlet-mapping
Yes this works? I will paly with it more and post.
Thanks a lot,
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
Sanjay,
Try
http://localhost:8080/context/search/SearchServlet
where context is the directory name under webapps.
Lance
-Original Message-
From: Sanjay Bahal
Try this:
System.setOut(new PrintStream(new
FileOutputStream(filename,true)));
System.setErr(new PrintStream(new
FileOutputStream(filename,true)));
--- Leila Lappin [EMAIL PROTECTED] wrote:
Hello everyone,
Could someone please send me a link to find
information on
of an example?
Thanks
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
Sanjay,
If I understand you're request what you want is
/search/hello
/search/abc
/search/def
with hello, abc, and def all being servlets. Then
you want to be able to reach each servlet with the
url
http://.../search
do I map to another servlet in the
same directory. I tried removing the /* and giving a
specific name- the 1st servlet itself fails.
Thanks
Sanjay
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Fri, 22 Mar 2002, Sean LeBlanc wrote:
To add even more to this - I can't even get
a lot,
Sanjay
__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL
Sanjay
--- Randy Layman [EMAIL PROTECTED] wrote:
The stack trace you included indicates that you are
running the
servlet, but its throwing an exception.
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:21 AM
To: [EMAIL
/hello/anything
Hope this helps
Lance
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 8:21 AM
To: [EMAIL PROTECTED]
Subject: Servlet Deploy Problem Help
I am just restarting this thread. My problem remains
unsolved. I am running
Lance,
So in other words if I may to /hello/* I would be able
to call my servelet with /hello? or the full URL
http://localhost:8080/search/hello? I tried it did not
work- requested resource (/hello) is not available.
Thanks a lot,
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
Sanjay
Thanks very much again,
Sanjay
--- Randy Layman [EMAIL PROTECTED] wrote:
Your problem isn't in the loaded classes (that
would be a class not
found). Instead look at where you are calling the
method
java.util.ResourceBundle.getBundle. The parameter
you are passing in
references a resource
Lance - yes it works thanks a lot.
But what are other shorter forms that I can use to
call the servlet. I would hope to call it with like
/search/hello. What has the /hello/* mapping bought
me.
Thanks
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
try http://localhost:8080/search/hello
turn on debugging/logging etc on the server.
Thanks
Sanjay
__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED
Kaikuo Luo,
Thanks. Check my mail- I am doing all that. Is the
name WEN-INF case sensitive?
Sanjay
--- Law Kaikuo [EMAIL PROTECTED] wrote:
Hi Sanjay Bahal,
Maybe you should create a subdirectory under
WEN-INF called classes and put
you java class there. You need to specify the fully
-formed character data or
markup. org.xml.sax.SAXParseE
xception: The content of elements must consist of
well-formed character data or
markup.
Thanks a lot,
Sanjay
--- Lance Smith [EMAIL PROTECTED]
wrote:
Yes it must be ALL capital letters.
-Original Message-
From: Sanjay Bahal [mailto
) is not available.
Thanks a lot,
Sanjay
--- Sanjay Bahal [EMAIL PROTECTED] wrote:
Thanks Lance.
I made it all caps- That took me a step further.
Note to Windows(NT) users- windows shows the name in
mixed case in explorer- even though you may type it
in
caps if you look at properties and DOS
)
at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604)
at
java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
at HelloWorldExample.doGet(Unknown Source)
Thanks,
Sanjay
--- Sanjay Bahal [EMAIL PROTECTED] wrote:
Thanks Charlie I tried both it did not work. My
Sanjay.
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Gerry
Have you had a look at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
Tyrex and all...
I think this should help, unless I am missing something completely..
cheers
Sanjay
-Original Message-
From: Gerry Duhig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
if you http to it then tomact page should show:
http://loclahost:8080/
HTH
--- Daliso Zuze [EMAIL PROTECTED] wrote:
Thanks Avi,
what exactly should it show if tomcat is running?
Daliso
- Original Message -
From: Avi Green [EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL
Larry,
You are right. It was the files in the jre/ext. I do
not when I had ever put them there- but I removed them
and now everything works like a charm.
Thanks a lot,
Sanjay
--- Larry Isaacs [EMAIL PROTECTED] wrote:
I think the sealing violation means that a class was
loaded
from a sealed jar
try to open a URL?
I simply can't figure it out. I perhaps would try
re-installing the jdk.
TIA
Sanjay
--- Larry Isaacs [EMAIL PROTECTED] wrote:
I think you will be better off if we can get Tomcat
3.3
working on your Win98 machine. I will therefore
assume that your CLASSPATH setting
It is at the bottom of evry mail.
S
--- Saran Shalini [EMAIL PROTECTED] wrote:
How do I unsubscibe this service ??
- Original Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Sent: Thursday, November 29, 2001 12:59 PM
Subject: Re: STARTING
or 3.3.
When I try the same thing on my win2000 machine
everything works great. There seems to be somethng
funky with win98.
TIA
Sanjay
--- Larry Isaacs [EMAIL PROTECTED] wrote:
Is the tomcat.bat unmodified?
Note that in its unmodified state, it contains:
set CLASSPATH=%TOMCAT_INSTALL%\lib
Larry,
I can not even bring Tomcat 3.3 up ( not even 3.2).
So are you saying with 3.3 could use xalan and xerces
only- And I do not need crimson, jaxp, parser?
Thanks a lot,
Sanjay
--- Larry Isaacs [EMAIL PROTECTED] wrote:
If you are adding 2.2-D13 xalan.jar in Tomcat 3.2.3,
you
will probably
)
at
org.apache.tomcat.util.IntrospectionUtils.execute(Unknown
Source)
at
org.apache.tomcat.startup.Main.execute(Unknown Source)
at org.apache.tomcat.startup.Main.main(Unknown
Source)
Thanks a lot,
Sanjay
--- Larry Isaacs [EMAIL PROTECTED] wrote:
I can't claim to be up to date
the order etc- Nothing
seems to work.
I am on win98, jdk1.3
Thanks a lot guys,
Sanjay
__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
To unsubscribe: mailto:[EMAIL
etc but no
success.
Thanks all,
Sanjay
__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list
problem but I did not see any answers or
acknowledements that this is a genuine problem and will/has been fixed.
Is there any workaround?
Regards
Sanjay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
then they are treated as the correct mime
type.
/sanjay
-Original Message-
From: William Brogden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 2:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 3.2.1/Mime type ignored
Sanjay Madhavan wrote:
I am unable to get Tomcat
if someone can tell me what specific reason does tomcat need
a separate jdk (is it javac?)
thanks in advance,
Sanjay
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
s,
Cathy
__
___
Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
~~~~~~~~
Sanjay Arora, CEO.
Transcontinental Data Processing Software Ltd.
SCF 17, Phase 7,
Mohali - 160 062.
INDIA.
Phone: +91-172-223
71 matches
Mail list logo