Forwarding

2003-11-26 Thread Kuba Królikowski
Hi, I want to make forwarding in my web application which forward every /.jsp/ (url without '/' at the end) link to /.jsp (url without '/' at the end). Do you know how to do it on Tomcat? I know, that I can define for every site and tags in web.xml, but is

Forwarding

2001-04-28 Thread Zsolt Koppany
Hi, how can I forward to a page that the user does not see where he was forwarded to? The reason is, we might change the target host or page and if the user makes a bookmark to the forwarded page he cannot come back if we change the target host or the page. Zsolt -- Zsolt Koppany Intland GmbH

Forwarding control

2003-08-14 Thread James Michelich
l), rather than refreshing the contents of the results page. I suppose this is a minor annoyance that could be worked around by displaying a link to the results page rather than forwarding directly to it, but I'd rather implement the latter. Does anyone know of a solution or workaround for this

Re: Forwarding

2003-11-26 Thread Ben Souther
Can you re-phrase that? I'm not sure what you want to do. On Wednesday 26 November 2003 04:25 pm, Kuba Królikowski wrote: > Hi, > > I want to make forwarding in my web application which forward every > /.jsp/ (url without '/' at the end) link to /.jsp (url wi

Re: Forwarding

2003-11-26 Thread Jeff Tulley
istake). >>> [EMAIL PROTECTED] 11/26/03 2:38:18 PM >>> Can you re-phrase that? I'm not sure what you want to do. On Wednesday 26 November 2003 04:25 pm, Kuba Królikowski wrote: > Hi, > > I want to make forwarding in my web application which forward every > /.j

Re: Forwarding

2003-11-26 Thread Kuba Królikowski
Dnia 2003-11-26 22:38, Użytkownik Ben Souther napisał: Can you re-phrase that? Well, I can, but what with URL such as "/article.jsp?id=435/"? They are not static, I can't put them all to web.xml. Kuba - To unsubscribe, e-mail:

Re: Forwarding

2003-11-26 Thread Kuba Królikowski
Dnia 2003-11-26 23:00, Użytkownik Jeff Tulley napisał: I think Kuba wants to redirect all requests that end with "/something.jsp/" to "/something.jsp" Exactly. Are you using Apache on the front end? I think this would be best done in Apache, with mod_rewrite, and a RewriteRule. (Do not forget

Re: Forwarding

2003-11-27 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Thursday 27 November 2003 00:16 schrieb Kuba Królikowski: > Dnia 2003-11-26 23:00, Użytkownik Jeff Tulley napisał: > > I think Kuba wants to redirect all requests that end with > > "/something.jsp/" to "/something.jsp" This should be possible with

Re: Forwarding

2003-11-27 Thread Graham Reeds
I'm a noob and all but.. Surely you could create a simple servlet to intercept all requests to /something.jsp/ and simply forward it to /something.jsp? G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

RE: Forwarding

2003-11-27 Thread Stuart Stephen
Why not use apache mod_rewrite ? -Original Message- From: Holger Klawitter [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 07:46 To: [EMAIL PROTECTED] Subject: Re: Forwarding -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Thursday 27 November 2003 00:16 schrieb Kuba Królikowski

Re: Forwarding

2003-11-28 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Thursday 27 November 2003 16:49 schrieb Stuart Stephen: > Why not use apache mod_rewrite ? You need to have apache (and jk) up and running for this ;-) Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de --

RE: Forwarding

2003-12-01 Thread Shapira, Yoav
Shapira Millennium ChemInformatics >-Original Message- >From: Holger Klawitter [mailto:[EMAIL PROTECTED] >Sent: Friday, November 28, 2003 2:24 AM >To: Tomcat Users List >Subject: Re: Forwarding > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Am Thursday 27 Nove

Forwarding Domains

2005-08-01 Thread Justin Jaynes
Is it possible for me to host somedomain.com on my tomcat, and as that is my prefered domain name format, and want all users who go to www.somedomain.com (YES, I have A records set up for both and they point to the same tomcat server) to be re-directed to somedomain.com, using my tomcat setup? In

Re: Forwarding

2001-04-28 Thread Barthélémy TEHAM
by using jsp:forward Action exple: Documentation source: http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-JSP.html#Section8.6 --- Zsolt Koppany <[EMAIL PROTECTED]> a écrit : > Hi, > > how can I forward to a page that the user does not see where he was > forwarded to? The

Re: Forwarding

2001-04-28 Thread Zsolt Koppany
Thank you for the idea, I know the jsp:forward command but I was not able to forward to a complete different URL for example "http://www.sun.com:8080";. Do you know how to do that? Zsolt Barthélémy TEHAM wrote: > > by using jsp:forward Action > > exple: > > Documentation source: > >http://w

RE: Forwarding

2001-04-28 Thread CPC Livelink Admin
PROTECTED] Subject: Re: Forwarding Thank you for the idea, I know the jsp:forward command but I was not able to forward to a complete different URL for example "http://www.sun.com:8080";. Do you know how to do that? Zsolt Barthélémy TEHAM wrote: > > by using jsp:forward

Re: Forwarding

2001-05-03 Thread Alex Fernández
forward() will only send it to another servlet or jsp, I think. However, sendRedirect() will work with external URLs. Just do response.sendRedirect("http://www.misMuelas.com";); Un saludo, Alex. Zsolt Koppany wrote: > > Thank you for the idea, I know the jsp:forward command but I was not > a

servlet forwarding

2000-12-21 Thread Allen Walker
I am getting a "page not found" when trying to forward inside my servlet. The code: RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/mktg/employee_form.jsp"); req.setAttribute("forward_msg", new String("Form Submission Complete")); dis

Regarding http forwarding

2002-12-12 Thread Sunil Ravipati
Ihave an accesspoint and a machine on which tomcat 4.1 is running.The Accesspoint has a linux OS stripped down version and a small httpd server.I want to do http forward from the AccessPoint to my tomcat server.IS there any configuration / setup to be done on tomcat if I want the http requests to

Forwarding to an

2002-12-19 Thread Dodd Gatsos
Trying to forward a request to a certain location in a JSP page. Ie an section. It doesn't seem to work. I've tried both: getServletContext().getRequestDispatcher("/admin/AgentReport.jsp#section2"). forward(req,res); and: response.sendRedirect("/admin/AgentReport.jsp#section2"); But neither

Tomcat Forwarding issue?

2003-02-07 Thread Ed Thompson
When I access my web site at http://ed4becky.dnsalias.org/comics, index.html is set like this: http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp";> Now, titlelist.jsp is in a secure area, so the auth.html screen should come up. (comics/WEB-INF/wem\b.xml has the following: FORM

Forwarding in servlets.

2002-10-07 Thread Kwok Peng Tuck
Is there any way besides the following : request.setAttribute("selectedScreen", request.getServletPath()) ; RequestDispatcher dispatcher = request.getRequestDispatcher("/test.jsp") ; if (dispatcher!=null) { dispatcher.forward(request, response) ;

forwarding through j_security_check

2002-07-15 Thread James Krygowski
Hi All- I'm working on a web-app launcher. The essential idea is to provide users with a centralized, secure web portal from which they can launch other web applications. The other applications will reside in Tomcat servers different from the portal Tomcat server. Each application will be prot

Filters and Forwarding

2003-06-18 Thread Chisholm, Paul
Hi, I have a servlet X that forwards to a servlet Y. When Y is requested directly there is a filter specified in web.xml that does some preprocessing of the request. When X forwards to Y I want the request to pass through the filter, but it seems to go straight to Y. Associating the filter with X

Forwarding with parameters

2003-07-24 Thread Gil Hauer
Hello, I have code in a servlet that, based on transaction status, forwards to another target page. The code snippet is: String target = "/index.jsp"; ServletContext c = getServletContext(); RequestDispatcher d = c.getRequestDispatcher(target); response.setContentT

Re: Forwarding control

2003-08-14 Thread James Michelich
That's exactly what I needed to know. Thanks, Mike. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Forwarding control

2003-08-14 Thread Mike Curwen
> To: [EMAIL PROTECTED] > Subject: RE: Forwarding control > > > Mike, > > Your suggestion worked out perfectly! Thanks for the help. > > One other quick question, if you don't mind - since sendRedirect() > doesn't send along the request object, is there

RE: Forwarding control

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
PM To: [EMAIL PROTECTED] Subject: Forwarding control Hello, any help would be much appreciated. The basic scenario is as follows - I have a form page called form.jsp (http://localhost/webapp/form.jsp). Upon submission, the form data is processed by a servlet mapped to the url '/proc

RE: Forwarding control

2003-08-14 Thread James Michelich
Mike, Your suggestion worked out perfectly! Thanks for the help. One other quick question, if you don't mind - since sendRedirect() doesn't send along the request object, is there another way to access it from the target url while still using this method? Thanks, James

forwarding across contexts?

2004-05-10 Thread Fred Toth
Hi, I'm trying to install a filter into the default context that forwards to my application (in another context) and it doesn't seem to want to work. (jboss 3.2.3 with embedded tomcat 4.1.29) In researching this, I've seen various hints that this may in fact be illegal. Can anyone confirm? The REA

Re: Forwarding Domains

2005-08-01 Thread Tim Funk
Sorry, there is no way out of the box. But there are filters which can do this for you. For example: http://tuckey.org/urlrewrite/ -Tim Justin Jaynes wrote: Is it possible for me to host somedomain.com on my tomcat, and as that is my prefered domain name format, and want all users who go to ww

Re: Forwarding Domains

2005-08-01 Thread Bruno Georges
Hi justin You can achieve url forwarding/rewriting using a simple servlet filter, or better if you have apache in the front, use mod-rewrite, which is configurable in your httpd.conf. If you are using iis, there are few available isapi filter which you can use, alternatively you can write your

Re: Forwarding Domains

2005-08-01 Thread Bruno Georges
Hi justin You can achieve url forwarding/rewriting using a simple servlet filter, or better if you have apache in the front, use mod-rewrite, which is configurable in your httpd.conf. If you are using iis, there are few available isapi filter which you can use, alternatively you can write your

mod_webapp not forwarding

2001-10-25 Thread Frank Niedermann
Hallo! I have a problem with Apache Webserver and Tomcat 4.0.1 on my Linux- Server. I installed the module webapp for apache and it seems to be working because httpd -t says it's all ok: httpd -t: dettlx07:/var/log # httpd -t [Wed Oct 24 17:48:40 2001] [warn] Loaded DSO libexec/mod_webapp.s

Forwarding in Tomcat

2001-05-08 Thread Dan Randall
Hi, Using tomcat as my servlet container, if I use the forward method of a dispatcher object, say to forward an object attached to the HttpResponse to a JSP, will code after the forward in the servlet be executed normally? Will a try...finally insure that the remaining code is executed? Is t

Exception when forwarding

2001-08-27 Thread Reto Badertscher
Hi, When forwarding a request to a servlet called 'Controller' - Code Snippet try { javax.servlet.RequestDispatcher rqd = req.getRequestDispatcher("Controller?action=someaction"); rqd.forward(req,res); return; }catch (Exception e) { Log

simple jsp forwarding

2001-02-01 Thread Jason Novotny
My idea is to create a generic template jsp file that can include other jsps depending on a request parameter. So I have a link like the following: Login And then my template jsp has the following: ... <% String mainpage = request.getParameter("mainpage"); %> ... However in practice,

RE: servlet forwarding

2000-12-21 Thread David Rees
> From: Allen Walker [mailto:[EMAIL PROTECTED]] > > I am getting a "page not found" when trying to forward inside my servlet. > > The code: > RequestDispatcher dispatcher = > getServletContext().getRequestDispatcher("/mktg/employee_form.jsp"); > req.setAttribute("forward_ms

request forwarding with TC4.1.12

2003-01-09 Thread Tref Gare
The details of why we need to do this rather than handling the upload and processing all on the same server are tedious and to say the least frustrating. Take my word for it, we need to. Now as far as I know request forwarding is only feasible within the same server that the original request is receiv

AW: Forwarding in servlets.

2002-10-07 Thread Ralph Einfeldt
, the response to the initial request is created by the given servlet/jsp. This is transparent to the client. > -Ursprüngliche Nachricht- > Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 8. Oktober 2002 08:42 > An: [EMAIL PROTECTED] > Betreff: Forward

RE: Forwarding in servlets.

2002-10-08 Thread Sexton, George
Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Sent: 08 October, 2002 12:42 AM To: [EMAIL PROTECTED] Subject: Forwarding in servlets. Is there any way besides the following : request.setAttribute("selectedScreen", request.getServletPath()) ; RequestDispatcher

Some more forwarding questions.

2002-10-08 Thread Kwok Peng Tuck
I'm trying to come to grips with the include and forward methods, but I'm having problems. Why doesn't the following : RequestDispatcher dispatcher = request.getRequestDispatcher(url) ; if (dispatcher!=null) { dispatcher.include(request, response) ; } i

forwarding wrapped request:lost parameter???

2002-06-05 Thread Liu, Xiaoyan
Hi, I have a question about request forwarding. We use three filters in the chain, the very first filter wraps HttpServeletRequest( it extends HttpServletRequestWrapper) and passes down the chain. The third filter forwards the request to different jsp pages based on user input. What we have

Re: forwarding through j_security_check

2002-07-15 Thread Craig R. McClanahan
On Mon, 15 Jul 2002, James Krygowski wrote: > Date: Mon, 15 Jul 2002 08:55:59 -0400 > From: James Krygowski <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: forwarding through j_security_check > > Hi

RE: forwarding through j_security_check

2002-07-16 Thread James Krygowski
Hi Craig- >> If so, is it possible to set up a servlet that >> could manipulate the Referrer in the header, and redirect a request along to >> an application in another Tomcat server, making it look like a post to >> j_security_check, complete with referrer, j_username and j_password? >> >> Any s

RE: forwarding through j_security_check

2002-07-16 Thread Craig R. McClanahan
On Tue, 16 Jul 2002, James Krygowski wrote: > Date: Tue, 16 Jul 2002 07:09:55 -0400 > From: James Krygowski <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: forwarding thro

RE: forwarding through j_security_check

2002-07-18 Thread James Krygowski
ted. thanks, Jim > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 12:45 PM > To: Tomcat Users List > Subject: RE: forwarding through j_security_check > > > > > On Tue, 16 Jul 2002, James Krygowski wrote: &g

RE: forwarding through j_security_check

2002-07-18 Thread Mete Kural
Jim, You may also want to check out Tapestry: http://www.saush.com/tapestry/ Good luck, Mete __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: For addit

Re: Filters and Forwarding

2003-06-18 Thread Tim Funk
Filters apply only to the incoming request. Filters are not invoked on subsequent forward() or include(). But the 2.4 spec will allow filters to be run on forward() (and I think include, read the spec to verify) -Tim Chisholm, Paul wrote: Hi, I have a servlet X that forwards to a servlet Y. W

Re: Filters and Forwarding

2003-06-18 Thread Antonio Fiol Bonnín
If you are allowing incoming requests to Y, you can make X to sendRedirect() to Y. A bit slower, as it needs the client to access Y himself, but depending on your needs, it may work. Antonio Fiol Chisholm, Paul wrote: Hi, I have a servlet X that forwards to a servlet Y. When Y is requested d

RE: Forwarding with parameters

2003-07-24 Thread René Vangsgaard ML
You cannot change protocol inside a reuqest. To change protocol you have to send a redirect to the browser. -Original Message- From: Gil Hauer To: Tomcat Users List Sent: 24-07-03 13:44 Subject: Forwarding with parameters Hello, I have code in a servlet that, based on transaction status

RE: Forwarding with parameters

2003-07-24 Thread Shapira, Yoav
4, 2003 8:34 AM >To: 'Gil Hauer '; 'Tomcat Users List ' >Subject: RE: Forwarding with parameters > >You cannot change protocol inside a reuqest. To change protocol you have to >send a redirect to the browser. > >-Original Message- >From: Gil Hauer

Re: Forwarding with parameters

2003-07-24 Thread Rick Roberts
I forget all the reasons why at the moment, but I use sendRedirect() instead of forward(). String target = "page1.jsp?param1=" + val1 + "¶m2=" + val2 + "¶m3=" + val3; response.sendRedirect( target ); Hope this helps, -- ***

RE: Forwarding with parameters

2003-07-24 Thread Berry, Layton
EMAIL PROTECTED] Sent: Thursday, July 24, 2003 6:23 AM To: Tomcat Users List Subject: RE: Forwarding with parameters Howdy, Yup, use sendRedirect. Or add a filter with a servlet request wrapper mapped to index.jsp that checks and adds parameters as needed. Yoav Shapira Millennium

Re: Forwarding with parameters

2003-07-24 Thread Gil Hauer
Perfect! Thanks for the help. Gil On Thu, 2003-07-24 at 10:54, Rick Roberts wrote: > I forget all the reasons why at the moment, but I use sendRedirect() instead of > forward(). > > String target = "page1.jsp?param1=" + val1 + > "¶m2=" + val2 + > "¶m3=" + val3;

RE: forwarding across contexts?

2004-05-11 Thread Shapira, Yoav
Hi, >In short, how does one deploy a war file such that it looks >for content ("/images/whatever.gif") in a configurable location >in the file system? Configure the server to serve that WAR file with a context path of "" (the empty string). This can be done in tomcat in three ways: - Add a Cont

RE: forwarding across contexts?

2004-05-11 Thread Fred Toth
Thanks once again. This is very helpful. Now here's what I really want (it never ends, does it): Is there a way, within a single context, to separate out the static content to some other file system location. I'd like to be able to deploy my war file with library jars, configuration info, classes

RE: forwarding across contexts?

2004-05-11 Thread Shapira, Yoav
Hi, >Is there a way, within a single context, to separate out >the static content to some other file system location. Of course, there are many ways, none of them advised. You want to keep your webapp as a whole, that's the whole point of a WAR file. You can symlink (at the filesystem level) o

RE: forwarding across contexts?

2004-05-11 Thread Fred Toth
Yoav, Let me describe a bit about our application, just in case you (or anyone else) have some specific advice. My client is a publisher, and the bulk of the site will be many thousands of published articles and associated content such as figure, tables, etc. The HTML content, however, will be ser

RE: forwarding across contexts?

2004-05-11 Thread Justin Ruthenbeck
Fred, Thanks for the additional info about your app ... it makes it much easier to talk about these things. :) There are many (valid) ways to proceed, many of which vary in the amount of "standards" they adhere to (how much you want to align yourself with Tomcat). I'll just give you my thoughts.

RE: forwarding across contexts?

2004-05-11 Thread Fred Toth
Justin, Thanks again for taking the time to think about this with me. Alas, my customer's deployment platform is windows. So no symlinks. No Apache (they use IIS). Complicated security model for everything on the site except for decorative gifs. So Tomcat does it all! Thanks, Fred At 03:13 PM

RE: forwarding across contexts?

2004-05-11 Thread Justin Ruthenbeck
At 01:04 PM 5/11/2004, you wrote: Justin, Thanks again for taking the time to think about this with me. Alas, my customer's deployment platform is windows. So no symlinks. No Apache (they use IIS). Complicated security model for everything on the site except for decorative gifs. So Tomcat does it

Re: forwarding across contexts?

2004-05-10 Thread Justin Ruthenbeck
tDispatcher) from one context to another? If not, how can I take advantage of DefaultServlet in my application? See ServletContext#getContext(String). Again, I predict you'll find this to be a clunky and frustrating way to do things. Unless you have an over-riding reason to do otherwise, embrace

Re: forwarding across contexts?

2004-05-10 Thread Fred Toth
ServletContext#getContext(String). Again, I predict you'll find this to be a clunky and frustrating way to do things. Unless you have an over-riding reason to do otherwise, embrace the idea of separate and distinct web applications and let the container do this URL parsing and forwarding for yo

Logging, Analysis and Forwarding

2004-07-28 Thread SH Solutions
Hi I have 3 questions: 1. How can I enable redirection of errorLogs, accessLogs AND stdout/stderr into MONTHLY files with tomcat 5.0.27+? 2. Is there any freeware tool to analyse tomcats accessLogs? 3. Is there an easy way to forward host/test/... to http://127.0.0.1:8080/test/ (there is apac

Forwarding with Tomcat Standalone

2003-09-22 Thread Michael Futeran
I am trying to replace an Apache/Tomcat combination with Tomcat standalone. I have everything else working, but I can not figure out how to get requests for secure pages to be auto forwarded to https the way they are with Apache.

Re: mod_webapp not forwarding

2001-10-26 Thread Pier Fumagalli
Frank Niedermann at [EMAIL PROTECTED] wrote: > Hallo! > > I have a problem with Apache Webserver and Tomcat 4.0.1 on my Linux- > Server. I installed the module webapp for apache and it seems to be > working because httpd -t says it's all ok: > httpd -t: > dettlx07:/var/log # httpd -t > [Wed Oct

Re: Forwarding in Tomcat

2001-05-08 Thread eric chacon
n Randall" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Forwarding in Tomcat >Date: Tue, 08 May 2001 10:28:23 -0700 > >Hi, > >Using tomcat as my servlet container, if I use the forward method of a >dispatcher object, say to forward

RE: simple jsp forwarding

2001-02-02 Thread Debra Locke
TECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Novotny Sent: Thursday, February 01, 2001 4:09 PM To: [EMAIL PROTECTED] Subject: simple jsp forwarding My idea is to create a generic template jsp file that can include other jsps depending on a request parameter. So I have a link like the

forwarding to error page

2001-02-22 Thread Jason Novotny
Hi, I'm having difficulty trapping errors in my web application. I have a page 1 that does a to page 2. Now on both page 1 and 2 and I have a directive at the top that looks like: <% page language="java" errorPage="/jsp/main.jsp?errorpage=yes" %> The purpose of this is to use my central

forwarding request to servlet

2001-02-28 Thread Nauman Rafique
Hi, I am trying to forward the request to tomcat using apache. The request is actually directed towards another server. I use the linux firewall to forward them to a local port( on which apache is listening). Can anyone guide me how to forward that request to a servlets running in tomcat.. Thank

forwarding to a page anchor

2002-09-25 Thread Cindy Ballreich
I'd like to forward to an anchor in a jsp page, but I keep getting a 404 error when I try to do it. It works from the browser, but not from the server. Is it possible to forward to a page anchor like this? RequestDispatcher rd = request.getRequestDispatcher("/page.jsp#anchorName"); rd.forw

Re: request forwarding with TC4.1.12

2003-01-09 Thread Craig R. McClanahan
On Fri, 10 Jan 2003, Tref Gare wrote: > Date: Fri, 10 Jan 2003 14:20:29 +1100 > From: Tref Gare <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: request forwarding with TC4.1.12 > &g

URL Forwarding in Tomcat 4.0.6

2003-01-31 Thread Ken Burbary
Any advice is appreciated I'm migrating an entire site, compromised of several web apps, from Iplanet 4.1 to Tomcat 4.0.6. The Iplanet server currently supports a URL forwarding feature that will allow me to specify http://www.foo.com/bar/ to forward any requests to http://www.foo.com/s

Re: AW: Forwarding in servlets.

2002-10-07 Thread Kwok Peng Tuck
et/jsp. This is transparent to the client. > > > >>-Ursprüngliche Nachricht- >>Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] >>Gesendet: Dienstag, 8. Oktober 2002 08:42 >>An: [EMAIL PROTECTED] >>Betreff: Forwarding in servlets. >> >>

AW: AW: Forwarding in servlets.

2002-10-07 Thread Ralph Einfeldt
Betreff: Re: AW: Forwarding in servlets. > > > Thanks, so the question now would be like this. > With the dispatcher.forward() method, is it possible to POST data > instead of tacking parameters at the end > of test.jsp ? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROT

RE: Some more forwarding questions.

2002-10-08 Thread Sexton, George
forwarding questions. I'm trying to come to grips with the include and forward methods, but I'm having problems. Why doesn't the following : RequestDispatcher dispatcher = request.getRequestDispatcher(url) ; if (dispatcher!=null) { dispatcher.include(re

Re: Some more forwarding questions.

2002-10-08 Thread Kwok Peng Tuck
equest from? > >-Original Message- >From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] >Sent: 08 October, 2002 8:16 PM >To: Tomcat Users List >Subject: Some more forwarding questions. > > >I'm trying to come to grips with the include and forward methods, but >I

forwarding from Tomcat to Apache

2003-03-04 Thread Todd Paridon
Background: I am using Apache 2.0.43, Tomcat 4.1.18 with mod_jk as the connector. I am using a servlet to check a users response to a retry/cancel operation. If it is a retry I want to go back to a static page being served by Apache, if it is cancel I want to access another page being served

Re: forwarding wrapped request:lost parameter???

2002-06-05 Thread Craig R. McClanahan
On Wed, 5 Jun 2002, Liu, Xiaoyan wrote: > Date: Wed, 5 Jun 2002 13:54:27 -0400 > From: "Liu, Xiaoyan" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: forwarding w

Forwarding requests to other Services?

2002-02-21 Thread Scott Shorter
All, I read in the API that the path to use as a parameter to ServletRequest.getRequestDispatcher(String path) cannot extend beyond the current context. This is a problem, because I need to forward a request to a servlet that listens on a different port, and hence is part of a different service

forwarding requests and response headers

2004-10-07 Thread Michael Südkamp
Hi, I have the following question: If I set response headers in one servlet/JSP and then forward the request to another servlet/JSP, will the response generated from the target servlet/JSP contain the headers from the first servlet/JSP? My thought prior to testing was it could work, but tests in

URL forwarding in TC 5

2004-07-19 Thread Keshav Sarin
Can a URL be forwarded/redirected in TC5? E.g. If someone is trying to connect to a webapp called web1 on TC5, can I forward the request to another webapp called web2? Thanks Keshav - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Logging, Analysis and Forwarding

2004-07-28 Thread Robert Bateman
On Wednesday 28 July 2004 03:47 pm, SH Solutions wrote: > 3. Is there an easy way to forward host/test/... to > http://127.0.0.1:8080/test/ (there is apache in 8080, tomcat on 80). I > read that filters could do so, but found no example... I used a simple HTML Redirect to accomplish this. I f

RE: Logging, Analysis and Forwarding

2004-07-29 Thread Shapira, Yoav
t yourself: there's no such facility built into Tomcat. Yoav Shapira Millennium Research Informatics >-Original Message- >From: SH Solutions [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 28, 2004 3:47 PM >To: [EMAIL PROTECTED] >Subject: Logging, Analysis and Forwardi

AW: Logging, Analysis and Forwarding

2004-07-29 Thread Gunnar Pörschke
o redo the settings, because tomcat didn't save it on the first time... Cheers, gunnar -Ursprüngliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. Juli 2004 15:03 An: Tomcat Users List Betreff: RE: Logging, Analysis and Forwarding Hi, There ar

Re: Logging, Analysis and Forwarding

2004-07-29 Thread Tim Funk
cs -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 3:47 PM To: [EMAIL PROTECTED] Subject: Logging, Analysis and Forwarding Hi I have 3 questions: 1. How can I enable redirection of errorLogs, accessLogs AND stdout/stderr into MONTHLY files w

Re: Forwarding with Tomcat Standalone

2003-09-23 Thread Adam Hardy
Have you set up the security-constraint in your web.xml for those pages? Login 4 Everything /private/* user admin SSL not required CONFIDENTIAL You will also probably need to set up a filter to redirect non-secur

RE: Forwarding with Tomcat Standalone

2003-09-23 Thread Shapira, Yoav
ChemInformatics >-Original Message- >From: Michael Futeran [mailto:[EMAIL PROTECTED] >Sent: Monday, September 22, 2003 9:28 PM >To: Tomcat Users List >Subject: Forwarding with Tomcat Standalone > >I am trying to replace an Apache/Tomcat combination with Tomcat standalon

JSP forwarding outside of Context

2004-02-27 Thread Johansen, Roar
I supervise development of a web-app, currently deployed on Jrun, but I also want to deploy it on other appservers, among those tomcat. I want to distribute the app as a .war file (which we do), but with JSPs outside the .war file. This because we want to be able to do fixes, and not least to add

Forwarding *all* webapps with mod_jk

2004-12-28 Thread Simon MARTIN
Hi, I've integrated Tomcat successfully into Apache using mod_jk, but there's something I've found nothing about: forwarding *all* webapps with only one static statement in the configuration files. I've thought about something like this: JkMount /tomcat/* ajp13:* (which

forwarding from HTTPS to HTTP

2005-03-14 Thread Wizard of OS
Hi, I am trying to implement SSL for Tomcat 5.0.30 Java 1.4 latest for selected sites only. I configured a url path pattern: /jsp/login.jsp logging onto this site, SSL works, redirecting to /jsp/index.jsp still uses SSL :-( Requesting java actions are comepletely igonored like /controller?actio

Getting Apache2 forwarding to tomcat5

2005-10-11 Thread Dan Chesmore
: [channel.socket:localhost:8009] info=Ajp13 forwarding over socket # Define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:patientconnect.truchart.com/patientConnect/*] info=patientConnect Both the workers2.properties and the httpd.conf.local are located in /etc/apache2 directory. In the

Forwarding JSP and Browser Options

2001-06-14 Thread Sulman . Jeff
When forwarding a JSP you loose the ability to change the browser options like removing statusbar, menubar, toolbar and locationbar as you do in the JavaScript OPEN function. How can do this from either within my JSP page or from the servlet forwarding the JSP? Thanks in advance Jeff Sulman

Re: forwarding to a page anchor

2002-09-25 Thread Bill Barker
Duh, no. Anchor tags are only meaningful to the browser. They are stripped from the request to the server (for e.g. has the proper JavaScript code to scroll to the "anchorName" tag. "Cindy Ballreich" <[EMAIL PROTECTED]> wrote in message 3.0.5.32.20020925164616.00c58390@urchin">news:3.0.5.3

Re: AW: AW: Forwarding in servlets.

2002-10-07 Thread Kwok Peng Tuck
rameters >to the request. At this point this has nothing to do >with GET or POST. > > > >>-Ursprüngliche Nachricht- >>Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] >>Gesendet: Dienstag, 8. Oktober 2002 08:56 >>An: Tomcat Users List >>

AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
That's what the spec says. (It works for me in tc 4.0.3) > -Ursprüngliche Nachricht- > Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 8. Oktober 2002 09:13 > An: Tomcat Users List > Betreff: Re: AW: AW: Forwarding in servlets. &g

RE: forwarding from Tomcat to Apache

2003-03-04 Thread Mike Jackson
> From: Todd Paridon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2003 9:36 AM > To: [EMAIL PROTECTED] > Subject: forwarding from Tomcat to Apache > > > Background: I am using Apache 2.0.43, Tomcat 4.1.18 with mod_jk as the > connector. > > I am using a servl

RE: Forwarding requests to other Services?

2002-02-21 Thread Randy Layman
> Sent: Thursday, February 21, 2002 10:09 AM > To: 'Tomcat Users List' > Subject: Forwarding requests to other Services? > > > All, > > I read in the API that the path to use as a parameter to > ServletRequest.getRequestDispatcher(String path) cannot exte

RE: Forwarding requests to other Services?

2002-02-21 Thread Scott Shorter
rward will? Thanks, Scott > -Original Message- > From: Randy Layman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 21, 2002 9:31 AM > To: 'Tomcat Users List' > Subject: RE: Forwarding requests to other Services? > > > > You could either

  1   2   >