How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daxin Zuo
On my Apache 2.0.43 + Tomcat5.0.28 on UNIX sparc, I can run the same JSP files from both Apache and Tomcat, and run servlets on Tomcat, but I cannot run Servlet from Apache. I register the servlet in tomcat/webapps/www/WEB-INF/web.xml: servlet servlet-nameServletTest/servlet-name

Reducing network traffic for rollover images

2004-10-01 Thread Robert Hunt
Is there a way (as in, response header or other HTTPServletResponse setting) that can persuade a browser to use a cached version of an GIF/JPG that's used for a rollover effect? I'd like to reduce the network traffic (and perhaps improve the browser's response) from browsers that attempt to

Re: Reducing network traffic for rollover images

2004-10-01 Thread fzlists
The problem is actually in your scripting... The browser should be caching the image after the first view anyway, but the problem you are referring to is a result of not pre-loading the images. You do that by the following script when the page loads: img0 = new Image(); img0.src =

Re: Multiple arguments in a GET URL

2004-10-01 Thread Gerardo Juarez
getParameter should work for all parameters. Your url is not correct or it is extremely long and blows up with the GET method. But that is highly unlikely. How does it fail? Do you obtain an error? Is it a null String? Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: I am attempting to

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
Yea.. it's a null string.. I have a feeling it is passing item2 into the index.jsp instead of the somePage.jsp .. I guess will try to retrieve item2 in index.jsp and see if it works Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com

RE: Multiple arguments in a GET URL

2004-10-01 Thread Ben Souther
http://www.mysite.com/index.jsp?mainFrame=somePage.jsp?item1=info1item2=info2item2=info2 That's your url? On Fri, 2004-10-01 at 14:14, [EMAIL PROTECTED] wrote: Yea.. it's a null string.. I have a feeling it is passing item2 into the index.jsp instead of the somePage.jsp .. I guess will try

RE: [tomcat] deploy simple HTTP doPost servlet to tomcat 5.0.28

2004-10-01 Thread Ernesto Echeverría
Without examining details in your message I can ask: Structure should be (maybe it is already?) Webapp WEB-INF web.xml classess lib Etc. Then, shouldn't be you calling http://localhost:8080/webapp/XML_RPC_Testserveur Instead? Regards. José Ernesto Echeverría [EMAIL

ot: fax input

2004-10-01 Thread Didier McGillis
Have a question and maybe this is the wrong spot. but I am looking at doing away with accepting orders that are faxed. however there are lots and lots of my customers who doing the fax ordering is second nature. I have looked at making an exact copy of the order form and making them

RE: Tomcat Question - HELP

2004-10-01 Thread Shapira, Yoav
Hi, Personally, I'd take this support list over any commercial support organization, hands down. But that's just my personal experience as someone who's had to make that decision (commercial versus open-source, paid support versus community support, dedicated support staff versus outsourced,

RE: Multiple arguments in a GET URL

2004-10-01 Thread Shapira, Yoav
Hi, Be careful with your syntax, use ?param1=param1param2=param2, not ?param1=param1?param2=param2. The ? indicates the beginning of the query string and is expected once per URL, is a parameter separator in the query string is can be there zero or more times. Yoav Shapira Millennium

RE: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I really don't care what your personal views are. I am not a decision maker here. We use apache/tomcat for non-mission critical app. Actually we don't have a choice because the vendor who wrote the code bundled everything with all those open source stuff. Why don't we make this forum simple.

Tomcat and encryption cards

2004-10-01 Thread Bill Sweeney
Hello all - Does anyone know if Tomcat supports the Sun Crypto Accelerator card? We think that since Tomcat uses JSSE we should be all set but can't find anyone actually doing it. Bill - To unsubscribe, e-mail: [EMAIL

Re: Tomcat Question - HELP

2004-10-01 Thread Robert F. Hall
[EMAIL PROTECTED] wrote: We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that

RE: Tomcat Question - HELP

2004-10-01 Thread Justin Jaynes
Daniel, You really SHOULD care. I just started a web hosting business on the Linux platform using Tomcat. I had no prior experience using the software and I have read as much as I can in books, but they are always out of date, even when new. Press time is always too long. Open source just

Re: JNDI binding a new resource

2004-10-01 Thread Derek Greer
BTW Yoav, I wanted to thank you for the information you provided. This helped to steer me down the right road to discovering a solution. I also wanted to share my findings for the benefit of others who may run across this need. I was able to get my Tomcat instance working with my code by

RE: JNDI binding a new resource

2004-10-01 Thread Shapira, Yoav
Hi, BTW Yoav, I wanted to thank you for the information you provided. This helped to steer me down the right road to discovering a solution. No problem, glad to help. discovered that all I had to do to overcome the Read only issue of Tomcat's JDNI instance was to change the name of my initial

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Lee, Paul NYC
Hi, It should be done the same way you redirected jsp requests to tomcat. It needs to be mapped in your jk (or jk2) properties file. Post the relevant parts of your properties file if you're not sure why it doesn't work. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED]

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
Yoav- I understand that an ? indicates the beginning of a query string but with my scenario it is exactly how I want it. For example, my index.jsp is the frameset that takes an argument mainFrame specifying the JSP/HTML to use as the center frame of the frameset. So for example I would have

Re: Using XInclude in tomcat's config files

2004-10-01 Thread Shankar Unni
Shankar Unni wrote: Haven't tried it, but have you set the: org.xml.sax.parser=org.apache.xerces.parsers.XIncludeParserConfiguration Ah. No. Thanks for that clue. Let me go back at it.. Alas, that didn't help. I tried setting both org.xml.sax.parser and

Re: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I did use it but it didn't shut it down so I had not choice. I think that's the other puzzle I need to solve. Why it won't shut down gracefully. Daniel Salud (310)665-6583 Robert F. Hall [EMAIL PROTECTED] 10/01/2004 12:26 PM Please respond to Tomcat Users List To: Tomcat

RE: Tomcat Question - HELP

2004-10-01 Thread Daniel_Salud
I appreciate your feedback and I do respect his input but he and the other gentlemen should not attack anybody's technical capability if they are really since in helping. That's what this forum is for. They don't know what I know and how much I know. Daniel Salud (310)665-6583 Justin

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daniel_Salud
Here's a couple of useful docs: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html http://www.oop-reserch.com/tomcat_3_1/config.html Those 2 docs helped me how to configure Apache to redirect to tomcat servlets. Basically they both talked about creating virtual hosts for each of

RE: Multiple arguments in a GET URL

2004-10-01 Thread Ben Souther
Try: http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsparg1=helloarg2=helloagain On Fri, 2004-10-01 at 16:51, [EMAIL PROTECTED] wrote: Yoav- I understand that an ? indicates the beginning of a query string but with my scenario it is exactly how I want it. For example, my

RE: Multiple arguments in a GET URL

2004-10-01 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] Subject: RE: Multiple arguments in a GET URL http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp?arg1=helloarg2=helloagain In this scenario, I am able to perform a request.getParameter on arg1 in blahblah.jsp but when I try to do it on arg2, I receive a

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
it sees hello as expected Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:05 PM To: Tomcat Users List Subject: RE: Multiple

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daxin Zuo
Thank you for your attention. The Apache2/conf/wrokers2.property is attached. The Tomcat/conf/jk2.property is empty, all lines are commented. in the httpd.conf I added: LoadModule jk2_module modules/mod_jk2-2.0.43.so the .so files are in apache2/modules Thanks -Original Message- From:

Re: Multiple arguments in a GET URL

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 04:51:47PM -0400, [EMAIL PROTECTED] wrote: For example, my index.jsp is the frameset that takes an argument mainFrame specifying the JSP/HTML to use as the center frame of the frameset. So for example I would have

RE: Multiple arguments in a GET URL

2004-10-01 Thread Gerardo Juarez
The problem is I don't know that there are any parenthesis in URLs, to group things like http://your.server.com/index.jsp?mainFrame={blahblah.jsp?arg1=val1arg2=val2} which is what I understand you want. Were I in your place, I would use the URL

Re: Multiple arguments in a GET URL

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 04:17:59PM -0500, [EMAIL PROTECTED] wrote: : So for example I would have : http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp : : What you're doing seems like a great way to allow anyone to crash : your app, or at least use up a lot of memory. Think what

Re: Multiple arguments in a GET URL

2004-10-01 Thread Wendy Smoak
From: Gerardo Juarez [EMAIL PROTECTED] The problem is I don't know that there are any parenthesis in URLs, to group things like http://your.server.com/index.jsp?mainFrame={blahblah.jsp?arg1=val1arg2=val2} which is what I understand you want. I haven't been following this thread so pardon if

newbie questions

2004-10-01 Thread Cameron Roe
Hi all, Ok so here goes. I want a have a version of the JavaDoc for the Java Servlet API on my local machine. I can then link in my IDE and get mouse-over javadoc for the Servlet API. Where do I get it? I know the Javadoc is available online but I would like to have a local copy.I've looked at

Re: newbie questions

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 03:42:09PM -0600, Cameron Roe wrote: : Ok so here goes. I want a have a version of the JavaDoc for the Java Servlet : API on my local machine. I can then link in my IDE and get mouse-over : javadoc for the Servlet API. Where do I get it? java.sun.com, there should be a

Tomcat becoming almost completely non-responsive

2004-10-01 Thread Kaleb Pederson
Hello, I have an interesting problem. After a while, tomcat (5.0.27) becomes almost completely non-responsive. If I telnet in to port 8009 (I'm using apache and mod_jk2), I get no response, at least not within the default timeout. If a browse to a page, I will generally, after about 4-5

type in twice for basic authentication???

2004-10-01 Thread Stephen Charles Huey
When my web app pops up a basic authentication box, I type in the username and password, and then it bounces back with blank text boxes asking for it again. Every time when I type them in a second time it then lets me in! What's going on? Here's what I have in my server.xml: Realm

Re: Reducing network traffic for rollover images

2004-10-01 Thread Robert Hunt
Frank, Thanks for the code snippet. However, I'm having a bit of trouble mapping your jscript to the CSS that currently creates the rollover/hover effect: a.glink:hover { background-image: url(../images/glblnav_selected.gif); } I've tried several permutations for the anchor that has

Re: type in twice for basic authentication???

2004-10-01 Thread Stephen Charles Huey
Yeah, I need some major help on this to figure out what's going on! We have a Windows version and a Linux version of the database. I just changed my DSN over to the Linux one, and now it pops up 4 times!!! No, wait...sometimes it still logs you in just after 2 times, and sometimes it takes as

RE: Tomcat becoming almost completely non-responsive

2004-10-01 Thread Kumar, Sunitha
Kaleb: What command did you use to generate the thread dump? Thanks, -sunitha -Original Message- From: Kaleb Pederson [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 3:08 PM To: Tomcat Users List Subject: Tomcat becoming almost completely non-responsive Hello, I have an

RE: Tomcat Question - HELP

2004-10-01 Thread Michiel . Toneman
Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what

mod_jk installation problem

2004-10-01 Thread anjani verma
Hello Everybody, I downloaded source of mod_jk (jakarta-tomcat-connectors-jk-1.2.6-src) from jakarta.apache.org and trying to install it but facing couple of problems. I untar'ed it in /usr/local and cd into /usr/local/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/common and executed : apxs

Re: Multiple arguments in a GET URL

2004-10-01 Thread erh
On Fri, Oct 01, 2004 at 05:10:22PM -0400, [EMAIL PROTECTED] wrote: it sees hello as expected -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] http://ndsc.eng.vzwcorp.com/index.jsp?mainFrame=blahblah.jsp?arg1=helloarg2 =helloagain In this scenario, I am

RE: Tomcat Question - HELP

2004-10-01 Thread John Najarian
Can all you people take this bitching contest elsewhere? My 9 year old knows better than to keep this up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP Let me

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Lee, Paul NYC
I can't see your attachments. Just paste the relevant parts in the body of the email. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:15 PM To: Tomcat Users List Subject: RE: How to make Apache direct Servlet to Tomcat Thank you for your

AW: Multiple arguments in a GET URL

2004-10-01 Thread Steffen Heil
Hi I am attempting to redirect to a URL that is similar to the following http://www.mysite.com/index.jsp?mainFrame=somePage.jsp?item1=info1item2=inf o2 However, I can only do a request.getParameter on item1 in the somePage.jsp JSP. When I attempt to do it for item2, it fails.. This is

Re: AW: Multiple arguments in a GET URL

2004-10-01 Thread steve
Due to increasing levels of spam, this email address no longer receives email. To contact us, please go to http://takanomi.com/contact.php. [If you publish an ezine or newsletter to which we are subscribed, or own an affiliate program or service of which we are a member, please visit the

<    1   2