Then you must use the window.returnValue of Java Script.
Best Regards,
S H A K E E L A H M A D
http://members.fortunecity.com/javaclub/shakeel.htm
Voice: 00923002723316
Senior Software Engineer.
NorthStar Technologies. www.globalnorthstar.com
EE(Computer Engineering), UET Lahore, Pakistan.
SC
Thanks for the answers Shakeel.
My problem is, i've a page that doesn't have submit
button. I need to send the hidden variables in that
HTML page to next HTML page. Here the hidden value is
set based on the type of option selected from 'select'
drpo down box in HTML. To put it in session, i need t
Wel this might help...
// You write following two lines in first JSP page.
String name = "Java";// This might be your hidden field.
session.setAttribute("HiddenName", name);
//Then you get the name on next page as follows.
String userName = (String)session.getAttribute("HiddenName");
The "nam
Well, I spoke a little too soon. The examples in webapps/ work fine, but
some of the same examples in my outside folder balk (recall I copied the
whole webapps folder to C:\Inetpub\wwwroot\JSP\ and renamed it MYwebapps
and MYjsp-examples underneath that). Some example errors follow...
Implicit O
I need help in redirecting to next page based on some
condition without using location.href in java script.
Is it possible in Jsp or tomcat or apache? If so, how.
I'm bit new.
--- U K Laxmi <[EMAIL PROTECTED]> wrote:
> Yes. I'm using JSP. Can you pls tell me the syntax
> or
> guidelines as how t
Yes. I'm using JSP. Can you pls tell me the syntax or
guidelines as how to do it.
Thank you.
--- Shakeel Ahmad <[EMAIL PROTECTED]> wrote:
> If you are developing a JSP/Servlet then you can do
> this by keeping those
> variables in session.
>
> Best Regards,
> S H A K E E L A H M A D
> http://
Antony Paul wrote:
You can put all the sessions in List or Map when they login or use
HttpSessionListener to listen to session events.
That was my fallback plan, if there wasn't an easier way.
-
To unsubscribe, e-mail: [EMAIL PROT
If you are developing a JSP/Servlet then you can do this by keeping those
variables in session.
Best Regards,
S H A K E E L A H M A D
http://members.fortunecity.com/javaclub/shakeel.htm
Voice: 00923002723316
Senior Software Engineer.
NorthStar Technologies. www.globalnorthstar.com
EE(Computer E
Sorry if it's not the right place to post this
question. Excuse me.
I've some hidden variables in a web page. I want to
send them to next page without using submit button. I
don't know how to do it. More over i don't know how to
access those variables in the next page. Is there any
option availabl
Why not use out.print() or you are trying to do something else ?.
rgds
Antony Paul
On Tue, 22 Feb 2005 20:26:41 -0800 (PST), Jin Wu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems that System.out.printlin("...") prints to catalina.out. Is there a
> way I can print to web page?
>
> Thanks,
> Jam
Ah-ha, somehow I changed a line in the uriworkermap.properties file from
this (some pointless experiment out of past frustrated delirium):
/jsp-examples/*=ajp13w
...to this:
/jsp-examples/*.jsp
...so changing it back (which is how it was out-of-the-box after
jk_1.2.8.exe was run) to:
/jsp-examples/
Hi,
It seems that System.out.printlin("...") prints to catalina.out. Is there a way
I can print to web page?
Thanks,
James
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
You can put all the sessions in List or Map when they login or use
HttpSessionListener to listen to session events.
rgds
Antony Paul
On Tue, 22 Feb 2005 23:17:56 -0500, Joseph Shraibman
wrote:
> I want to make an admin page in my application. I needs to be able to
> get access to all the curre
OK, I just had to re-read the comments in server.xml and think about my
setup a bit more. It still seems like it should have worked the other
way [shrug]. Basically I had to tell the cluster setup to use only the
network adapters that represent the private link between the two servers
(ignoring the
I want to make an admin page in my application. I needs to be able to
get access to all the current Session objects to access their
attributes. Is this possible?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
OK, we've at least gotten to the point where I can now run the examples
from my own directory outside of $CATALINA_HOME/webapps, and by ONLY
editing server.xml and uriworkermap.properties slightly, and NOTHING
ELSE, which is not only nice, but also what I expected all along!
(THANK YOU!THANK YOU!TH
Hi All,
In my java application I need to subtract two java.sql.timestamps. and I
want to store the result as sql type "interval".
But my insert statement is failing.
Does anyone know what java type I need to use in the insert statement?
(it must accept null values)
thanks in advance,
Phil
Yup. Tomcat 3.3 has the Invoker enabled by default (although 3.3 doesn't
have a global web.xml file, so it's declared in server.xml :).
"Drew Jorgenson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Looks like the invoker servlet is being used, which is declared in the
> global
Hi folks,
Correct me if I sound stupid here :)
I am trying to load a simple JNI based .so lib file with Tomcat
5.5.4.(on linux) I am trying to load the .so file within the JSP page.
I am not sure if this is allowed. I have tried all the following
methods..
1. putting the .so file in JAVA_HOME//j
QM,
Yes, I could definitely do that but the nice thing now is that I don't
need to use a build process to copy & merge so it's nice and fast.
Thanks anyway,
--Bill
On Tue, 22 Feb 2005 19:12:23 -0600, QM <[EMAIL PROTECTED]> wrote:
> On Tue, Feb 22, 2005 at 02:08:50PM -0800, Bill Lynch wrote:
> :
On Tue, Feb 22, 2005 at 02:08:50PM -0800, Bill Lynch wrote:
: Resin has a new "merge()" function which will merge together different
: doc roots for a webapp:
: [snip]
:
:
: This means everything in webapp-editionA will override what's in
: webapp. I do this right now and it works perfectly for
On Tue, Feb 22, 2005 at 09:47:51PM +0800, Mohd. Jeffry wrote:
: Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
: standart operating procedure to develop and deploy at linux
: environtment? For the time being this is what I do and it's kinda
: troublesome.
:
: 1. compile my ap
Sorry for my description's not clear.I want to output the simple exception
information to the user and the detail to my log.But sometimes when I do not
enlarge the buffer(1024kb is too large but it ensure the buffer is
sufficient),my jsp program show the exception while the other time it do not.
I have the tomcat 5.0.30 replication partially working on redhat as3.
Here's what I see:
1. both tomcats up
2. use tcrepl (provided by Richard Mixon) app to etablish session on one
tomcat (verify by tailing log file)
3. kill that tomcat
4. session fails over to other tomcat successfully
5. Pro
Thank you, thank you, thank you!
This is exactly what I was hoping for. Something simple and straight
forward!
-J. Case
Pete Stevens wrote:
On Tue, 22 Feb 2005, Jeanne Case wrote:
I am new to the list and Tomcat. I know this has probably been answered,
but I am having trouble finding it in the a
Thanks to all for responding. The information I received was much
clearer and easier to understand then the apache site!
-J.Case
Jason Bainbridge wrote:
On Tue, 22 Feb 2005 14:00:14 -0800, Jeanne Case <[EMAIL PROTECTED]> wrote:
I am new to the list and Tomcat. I know this has probably been answer
Thanks Andrew.
In answer to your question, some of our app requires SSL -- exactly like an
order-style app (but it's not a product ordering app).
So, a person's session might involve the following path:
1. non SSL req
2. non SSL req
3. SSL req
4. non SSL req
and we'd like that entire session to b
On Tue, 22 Feb 2005 14:21:24 -0800, Neeraj Vora <[EMAIL PROTECTED]> wrote:
> I migrated from Tomcat 4.0.2 to Tomcat 5.5.7. The former was not reloading
> the context if I changed application's web.xml file after deployment. The
> latter does that. Is there a way to prevent it? During the searching
Problem with round robin dns is that you can not guarantee that the web
browser/ client will not make a second request to the dns server during
the session - although very very unlikely.
Andrew
On Feb 22, 2005, at 11:01 PM, Filip Hanik - Dev Lists wrote:
you can also use DNS round robin,
www.mys
On Tue, 22 Feb 2005, Jeanne Case wrote:
> I am new to the list and Tomcat. I know this has probably been answered,
> but I am having trouble finding it in the archives. Is there an
> installation guide that makes sense some where?
>
> I would like some thing with a definition of files, what to ed
I migrated from Tomcat 4.0.2 to Tomcat 5.5.7. The former was not reloading
the context if I changed applications web.xml file after deployment. The
latter does that. Is there a way to prevent it? During the searching for
this I read a post that having a context entry with reloadable attribute s
Any tips on optimizing usage of Virtual Hosts, I narrowed down the
problem a bit. I can have 500 users running without any memory
problems on the server if I set them all up under localhost/userXXX
but as soon as I start assigning virtual hosts to each user, I crash
at about a 100. Same problem 1GB
On Tue, 22 Feb 2005 14:00:14 -0800, Jeanne Case <[EMAIL PROTECTED]> wrote:
> I am new to the list and Tomcat. I know this has probably been answered,
> but I am having trouble finding it in the archives. Is there an
> installation guide that makes sense some where?
Welcome. :)
I actually had to s
I am new to the list and Tomcat. I know this has probably been answered,
but I am having trouble finding it in the archives. Is there an
installation guide that makes sense some where?
I would like some thing with a definition of files, what to edit, what
works, how to install from source. I f
All,
I'm developing a webapp and for various reasons it has multiple
document roots which can override each other. For example, c:\webapp
is one directory, but c:\webapp-editionA and c:\webapp-editionB are
other editions of the same application. There are a base set of JSPs
in the 'webapp' directo
The original $CATALINA_HOME/webapps works fine, yes, but nothing will work
outside of that, so I'm just looking for the steps (and files I need to
edit) to have my own webapps work outside of $CATALINA_HOME/webapps.
That's all - it's quite simple, really. C:\Inetpub\wwwroot is just a
sample path o
you can also use DNS round robin,
www.mysite.com resolves to two or more IP addresses.
Filip
Andrew Miehs wrote:
We use F5 BigIPs, but they are probably overkill for your application
- The cisco probably will be as well.
A 'Cheap' software solution might be to work with redirects, and 2
separate
Hi Matt,
I'm not sure if this would solve your problem, but I have my server.xml set up
with the following configuration:
I am not sure, this may have nothing to do with it but On the
documentation I read it said you should use your domain name for the
first and last name of the process when you created the csr to send to
verisign. What name did you use when you ran the keytool to create the
csr to send to verisign
We use F5 BigIPs, but they are probably overkill for your application -
The cisco probably will be as well.
A 'Cheap' software solution might be to work with redirects, and 2
separate IP addresses.
ie: ssl1.mysite.com and ssl2.mysite.com - You will need 2 ssl keys
though for this to work.
Does
Hi -
We are looking to deploy our app, running on Tomcat 5, soon and are
exploring load balancing options. We are looking at H/W and S/W solutions,
and I was wondering if anyone had any past experience/advice they would like
to share.
Our deployment is as pretty run-of-the-mill as it gets: 2 m
You've got to have something wacky set up on your systems. File IO is not used
when Log4j picks the config file up from the classpath. This leads me to
believe that log4j.configuration is set somewhere else upon each invocation of
Tomcat. You probably just set it earlier in the launching of Tom
I have set a Tomcat 5.0.28 server with jsdk 1.4.2_04. I had setup the
keystore and imported the received certificate from verisign. I have configured
the Tomcat server to use SSL and it shows the certificate is valid but it says
the name on certificate does not match the site. I look at
Then theres something else going on. I didnt set log4j.configuration when i
started, i just had my log4j.jar in my WEB-INF/lib/ and my log4j.properties in
my /WEB-INF/classes/ However i still got that file not found exception.
I think its gotta either the way im calling it or the properties
Hi :
This is most likely an issue with the version of JDK that is deployed on
your machine.
Try using a newer version of the JDK which is comaptible with the version of
tomcat that is deployed on your machine.
Patrick King
Patrick King
BSc.(Hon.) Geophysics
Senior Systems Scienti
Quoting Brian McGovern <[EMAIL PROTECTED]>:
> Thanks for the repliess. My issue was that I needed to set a system wide
> environment variable called log4j.configuration and set its value to
> "log4j.properties", the name of my config file for log4j. This was in the
> log4j documentation but I gu
hihi all,
i have installed the JK connector (setupJK204.exe) with my IIS 5.1 and
Tomcat 4.1.24.
everything is working fine, except that i'm noticing in the Tomcat
console display i see the following exceptions at run-time:
java.net.SocketException: Software caused connection abort: recv failed
Looks like the invoker servlet is being used, which is declared in the
global web.xml file. The and that you see
are used to map a name to a servlet, which are all accessed through
/servlet/*
Drew.
On Tue, 2005-02-22 at 10:43, Beckle, Steven R wrote:
> I'm currently working on a legacy Tomcat 3
Hello All,
Can some show how to set db2 jndi datasource in tomcat 5.5.7.
DB2 and tomcat all in windows XP.
tomcat can talk to db2 with direct jdbc connection.
Why it is so hard for db2?
Thank you very much!
--tom
-
Do you Yahoo!?
Yahoo! S
Laba diena.
Dėkojame, kad mums parašėte.
Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm currently working on a legacy Tomcat 3.3 project that was developed
(not by me) a couple of years ago, and I am having a heck of a time
understanding how servlets are getting mapped properly. A typical URL in
the application is of the form CONTEXT/servlet/servletName - nothing
fancy there. Howe
BTW,
Each of my two servers has two network cards:
a) One facing the internet;
b) the second is a private connection between the two servers.
The second connection is intended for session replication.
Also, I did not specify an mcastBindAddr - though it probably should be
specified as the se
thanks for your help!
i tried looking for the service.bat in the tomcat/bin folder but it is
not there.
it is an older version 4.1.24 and it was already installed as a
service, i don't know how it was done (without the service.bat file)
but it's there.
i scanned the registry and found the locati
Hi
The way we do it is using the service.bat file to install the service manually.
You can tweak the values in that file.
If all your apps are in 1 tomcat, then that uses 1 JVM and I think you can only
declare these parameters once.
Cheers, Allistair.
> -Original Message-
> From: Wood
hihi all,
when Tomcat is installed as a service how do we control how much system
memory we allocate to it?
i have heard it reads the memory parameters and others from the
registry but can anyone tell me exactly how/where to do this? i can't
seem to find this information..
also, is there a way
Maybe take a look at the current $CATALINA_HOME/Catalina/localhost/
context files. Delete the old ones for your webapp and examples, so it
will reload from server.xml
On Feb 22, 2005, at 11:39 AM, Matt wrote:
Well, I've tried all sorts of configurations, so I was hoping to get a
clean example
Well, I've tried all sorts of configurations, so I was hoping to get a
clean example from someone who had it working. I changed the stock Tomcat
5.5 server.xml file to add the following (within the pre-existing, as well
as the only, HOST tag for localhost, and I have tried with/without a slash
for
Neeraj Vora wrote:
> Content Type: application/x-java-jnlp-file;charset=iso-8859-1
>
> MS IE has an unfortunate bug whereby it cannot associate this with Java Web
> Start. This has been documented as KB 871248. I tried
AFAIK, real player has (or had) a similar problem, and can also not be
serve
there is an attribute "mcastBindAddr"
that allows you to bind to the interface.
Joseph Lam wrote:
Hi,
If I have two LAN cards and I want my Tomcat to mcast through one of them,
what parameter should I set?
Regards,
Joseph
-
To unsu
All,
I am wondering if anyone out there has any experience with tuning
Tomcat to improve performance in high latency (~700ms) environments?
I've basically just been experimenting and learning what I can from
the available resources on the web but there doesn't seem to be much
out there that menti
Hi all,
I'm looking for some tomcat/jakarta statistics.
The kind of information I'm looking is:
* Number of systems running jakarta.
* Comparative between jakarta/iAS,.
I mean something like the information for apache available in:
http://news.netcraft.com/archives/web_server_survey.html
Unbelievable. I'm still getting the error. I have no idea how or why this
went away temporarily but heres whats up. Anyone who can help, its
appreciated. Some googling shows that others are having same error.
Again, system variable log4j.configuration is set to log4j.properties which
poin
On Tue, 22 Feb 2005, Mohd. Jeffry wrote:
> Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
> standart operating procedure to develop and deploy at linux
> environtment? For the time being this is what I do and it's kinda
> troublesome.
>
> 1. compile my app at /home/devel/myap
Why not chown the whole tomcat directory to yourself (or your group)?
Then you can just pop in your apps. Tomcat doesn't need to (and should
not) run as root. No need to restart either.
-Michael Greer
On Feb 22, 2005, at 8:47 AM, Mohd. Jeffry wrote:
Hi, I'm pretty new with tomcat, 1 month to be
Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
standart operating procedure to develop and deploy at linux
environtment? For the time being this is what I do and it's kinda
troublesome.
1. compile my app at /home/devel/myapps
2. su as root and move it to /usr/local/tomcat/web
> When my jsp file met the exception,sometimes it stopped outputed the
> exception
Hi Nap,
Why do you want to output the full exception on the browser? Why
not just log it at the server-side and present the user (read:
browser) with a simple error information.
btw, what's the size of exc
Thanks for the repliess. My issue was that I needed to set a system wide
environment variable called log4j.configuration and set its value to
"log4j.properties", the name of my config file for log4j. This was in the
log4j documentation but I guess i skimmed over that part. Log4j is a
applica
Ah ok $) Oops.
> -Original Message-
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 22 February 2005 13:00
> To: Tomcat Users List
> Subject: Re: Free online presentation on native webserver integration
> and Tomcat
>
>
> On Tue, 22 Feb 2005 12:24:28 -, Allistair Crossley
>
When my jsp file met the exception,sometimes it stopped outputed the exception
message,but the other time it only stopped.Only when I write "<[EMAIL
PROTECTED] buffer="1024kb" autoFlush="false"%>" it output the message.How can I
avoid the enlarge the buffer and can let the exception message appe
Tom, thanks - finally figured out the "username" error. And thanks on
the password. - Richard
Tom A wrote:
> Richard,
>
> In your context file change
>
> userName="ltojsw"
> to
> username="ltojsw"
>
> (and of course change your passwd now that it's on the 'net ;-)
>
> This is why you see the err
On Tue, 22 Feb 2005 12:24:28 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> Yep,
>
> I was just pointing out the the Jboss site is inaccurate and may cause
> confusion.
>
> 1300 EDT is 1300-5 = 0800 not 1800, so us Europeans will all have to get up
> rel early in the morning ;)
No,
Yep,
I was just pointing out the the Jboss site is inaccurate and may cause
confusion.
1300 EDT is 1300-5 = 0800 not 1800, so us Europeans will all have to get up
rel early in the morning ;)
Cheers, Allistair.
> -Original Message-
> From: Mladen Turk [mailto:[EMAIL PROTECTED]
> S
Hi,
Looks like you are using the Tomcat Connection pool.
Refer to the attached Readme.txt file and verify that you have done these
steps.
I think it should solve your problem.
Have also attached the server.xml & web.xml files which worked fine for us.
let me know whether ur problem gets solved by
On Tue, 22 Feb 2005 12:50:59 +0100, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Allistair Crossley wrote:
> > February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York).
> >
> > I believe this should be GMT -5 however? No?
> >
>
> February 23, 2005 at 18:00 GMT.
> So calculate to your own
Richard,
In your context file change
userName="ltojsw"
to
username="ltojsw"
(and of course change your passwd now that it's on the 'net ;-)
This is why you see the error:
Access denied for user ''@'kingfishS11'
I just tried to find some docs to make sure I'm right but I can't see
anything un
Allistair Crossley wrote:
February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York).
I believe this should be GMT -5 however? No?
February 23, 2005 at 18:00 GMT.
So calculate to your own timezone :).
regards,
Mladen
-
T
February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York).
I believe this should be GMT -5 however? No?
Cheers, Allistair
> -Original Message-
> From: Allistair Crossley
> Sent: 22 February 2005 11:34
> To: Tomcat Users List
> Subject: RE: Free online presentation on native
Hi,
The JBoss site lists replays of past webinars, so I suppose this won't be any
different?
Allistair.
> -Original Message-
> From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
> Sent: 22 February 2005 11:14
> To: Tomcat Users List
> Subject: Re: Free online presentation on native webs
Remy Maucherat wrote:
Hi,
Mladen Turk and myself will do a free (registration required)
presentation tomorrow (Wednesday, February 23, 2005 at 1pm Eastern
Daylight Time (GMT -04:00, New York)), mostly on native web server
integration with Tomcat.
http://www.jboss.org/services/online_education
Topic
Hi @ll,
my first post in this list ;)
Well, I've a problem with the isapi_redirect.dll (versions 1.2.6 and 1.2.8)
in combination with a http PUT request. With a old version, don't know which
exact, it's from 2001, the request works without any problems.
I'm using tomcat 5.5 and IIS5 on Windows 200
Hi,
Mladen Turk and myself will do a free (registration required)
presentation tomorrow (Wednesday, February 23, 2005 at 1pm Eastern
Daylight Time (GMT -04:00, New York)), mostly on native web server
integration with Tomcat.
http://www.jboss.org/services/online_education
Topics which will be dis
In fact I hadnt installed it in windlws. You can connect to server
suing psql. it will be in the bin directory. There is one GUI front
end available PgAdmin. The documentation will be in doc directory.
This contains installation, administration and tutorials on SQL. For
further you can ask question
Hi Antony,
I downloaded postgres and installed on my m/c. I
installed it as a service.
Can you pls give step by step instruction as how to
connect to postgresql database.
Thank you so much.
--- Antony Paul <[EMAIL PROTECTED]> wrote:
> You can name it the name of the context(web). The
> conten
Mike Fuellbrandt said:
>How about this?
>
>http://www.servlets.com/cos/javadoc/com/oreilly/servlet/CacheHttpServlet.html
Thanks Mike, I'll check it out.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Hello!
I am trying to integrate JGroups into web aplication.
Does somebody know solution to JGroups problem described in
http://jira.jboss.com/jira/browse/JGRP-31
Thank you,
Igor
Tomcat users,
I have created a plugin for Tomcat 5 that provides scalable session
clustering by replicating each session to a single node rather than
the whole cluster. For large-cluster deployments (the primary target
audience of this work), the resource savings for both bandwidth and
per-node m
[EMAIL PROTECTED]
Original Message:
X-YahooFilteredBulk: 218.98.157.200
Authentication-Results: mta111.mail.cnb.yahoo.com
from=jakarta.apache.org; domainkeys=neutral (no sig)
X-Originating-IP: [218.98.157.200]
Return-Path:
Received: from 218.98.157.200 (EHLO jakarta.ap
The virus known as "Norton Anti".
(Sorry, couldn't resit;)
-Original Message-
From: raghavendra datt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 12:04 AM
To: Tomcat Users List
Subject: RE: Facing problems in tomcat configuration - on "XP
Professional"
Sorry guys..
I got
88 matches
Mail list logo