You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by a0...@gmx.net on 2002/05/03 08:24:30 UTC

dispatch to new window in web browser possible?

Currently my application consists of cocoon-actions that invoke xsp/xsl
files upon requests. As normal the new output always refreshes the client's
browser view. 
Based on some calculations at the actions I'm required to delegate the
response not to the current browser window but to a newly opened browser window.
An examle would be a printable view of a web page. Is this possible with
cocoon2? How could I accomplish it?

Thanks for your comments!

Harald

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: dispatch to new window in web browser possible?

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Bert Van Kets [mailto:bert@vankets.com]
> 
> There is NO WAY you can open a new window from the server side.

Thanks GOD it is so!!! Otherwise web would be nightmare...


> Client side JavaScript (or VBscript in IE for the picky ones) is the
only
> way to do this.  There are different approaches to your problem, but
they
> all involve some client side coding.

>From the start of this thread, nobody sent to RTFM yet, so here it is:
http://www.w3.org/TR/html4/
http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm

Vadim

 
> Bert
> 
> At 19:09 4/05/2002 +0200, you wrote:
> 
> >Thanks for your reply. I considered <form ... target="blank"> as well
before
> >I posted this question. However you should know that currently my
> >architecture utilizes only one <form> trag to which various user
inputs
> >(e. g. buttons)
> >submit. On serverside I gather the information which action was
intended.
> >The problem is that there is only one single button within my client
view
> >that
> >would require to open a new browser window. Any others should remain
updating
> >the same browser window. Therefore I was asking if there is a
possibility
> >that cocoon could create a new browser window.
> >
> >As a workaround I'm doing it as follows however in a future release
of my
> >application I'd like to avoid javascript at all:
> >
> ><form action="/xxx" method="get">
> >    <input name="process" type="hidden">
> >    ...
> >         <input type="submit"
> > onclick="document.forms[0].process.value='regular'"
> >                 value=" A regular action that should update current
view "/>
> >    ...
> >         <input type="submit"
onclick="document.forms[0].process.value='new',
> >document.forms[0].target='_blank'"
> >                 value="open new browser window! "/>
> >    ...
> ></form>
> >
> >It seems that there is no way out to use my current design without
> >javascript.
> >
> >Regards,
> >
> >Harald
> >
> >At 09:41 3/05/2002 +0200, you wrote:
> > >You can achieve this in HTML by setting the target of your form to
> > >"_blank" which will post the results to a newly openned window.
> > >The javascript solution is better if you want more control over how
the
> > >newly openned window looks.
> > >
> > >Andrew
> > >
> > >On Fri, 2002-05-03 at 09:38, yuryx wrote:
> > > > a000@gmx.net wrote:
> > > >
> > > > >Currently my application consists of cocoon-actions that invoke
xsp/xsl
> > > > >files upon requests. As normal the new output always refreshes
the
> > > > >client's
> > > > >browser view.
> > > > >Based on some calculations at the actions I'm required to
delegate the
> > > > >response not to the current browser window but to a newly
opened
> > > > >browser window.
> > > > >An examle would be a printable view of a web page. Is this
possible
> > > > >with
> > > > >cocoon2? How could I accomplish it?
> > > > >
> > > > >Thanks for your comments!
> > > > >
> > > > >Harald
> > > > >
> > > > try use javascript for open new window, and submit form within
it.
> > > > Yury.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: dispatch to new window in web browser possible?

Posted by Bert Van Kets <be...@vankets.com>.
There is NO WAY you can open a new window from the server side.
Client side JavaScript (or VBscript in IE for the picky ones) is the only 
way to do this.  There are different approaches to your problem, but they 
all involve some client side coding.

Bert

At 19:09 4/05/2002 +0200, you wrote:

>Thanks for your reply. I considered <form ... target="blank"> as well before
>I posted this question. However you should know that currently my
>architecture utilizes only one <form> trag to which various user inputs 
>(e. g. buttons)
>submit. On serverside I gather the information which action was intended.
>The problem is that there is only one single button within my client view that
>would require to open a new browser window. Any others should remain updating
>the same browser window. Therefore I was asking if there is a possibility
>that cocoon could create a new browser window.
>
>As a workaround I'm doing it as follows however in a future release of my
>application I'd like to avoid javascript at all:
>
><form action="/xxx" method="get">
>    <input name="process" type="hidden">
>    ...
>         <input type="submit" 
> onclick="document.forms[0].process.value='regular'"
>                 value=" A regular action that should update current view "/>
>    ...
>         <input type="submit" onclick="document.forms[0].process.value='new',
>document.forms[0].target='_blank'"
>                 value="open new browser window! "/>
>    ...
></form>
>
>It seems that there is no way out to use my current design without
>javascript.
>
>Regards,
>
>Harald
>
>At 09:41 3/05/2002 +0200, you wrote:
> >You can achieve this in HTML by setting the target of your form to
> >"_blank" which will post the results to a newly openned window.
> >The javascript solution is better if you want more control over how the
> >newly openned window looks.
> >
> >Andrew
> >
> >On Fri, 2002-05-03 at 09:38, yuryx wrote:
> > > a000@gmx.net wrote:
> > >
> > > >Currently my application consists of cocoon-actions that invoke xsp/xsl
> > > >files upon requests. As normal the new output always refreshes the
> > client's
> > > >browser view.
> > > >Based on some calculations at the actions I'm required to delegate the
> > > >response not to the current browser window but to a newly opened
> > browser window.
> > > >An examle would be a printable view of a web page. Is this possible
>with
> > > >cocoon2? How could I accomplish it?
> > > >
> > > >Thanks for your comments!
> > > >
> > > >Harald
> > > >
> > > try use javascript for open new window, and submit form within it.
> > > Yury.
> > >
>
>--
>GMX - Die Kommunikationsplattform im Internet.
>http://www.gmx.net
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: dispatch to new window in web browser possible?

Posted by a0...@gmx.net.
Thanks for your reply. I considered <form ... target="blank"> as well before
I posted this question. However you should know that currently my
architecture utilizes only one <form> trag to which various user inputs (e. g. buttons)
submit. On serverside I gather the information which action was intended.
The problem is that there is only one single button within my client view that
would require to open a new browser window. Any others should remain updating
the same browser window. Therefore I was asking if there is a possibility
that cocoon could create a new browser window. 

As a workaround I'm doing it as follows however in a future release of my
application I'd like to avoid javascript at all:

<form action="/xxx" method="get">
   <input name="process" type="hidden">
   ...
	<input type="submit" onclick="document.forms[0].process.value='regular'" 
		value=" A regular action that should update current view "/>
   ...
	<input type="submit" onclick="document.forms[0].process.value='new',
document.forms[0].target='_blank'" 
		value="open new browser window! "/>
   ...
</form>

It seems that there is no way out to use my current design without
javascript.

Regards,

Harald

At 09:41 3/05/2002 +0200, you wrote:
>You can achieve this in HTML by setting the target of your form to
>"_blank" which will post the results to a newly openned window.
>The javascript solution is better if you want more control over how the
>newly openned window looks.
>
>Andrew
>
>On Fri, 2002-05-03 at 09:38, yuryx wrote:
> > a000@gmx.net wrote:
> >
> > >Currently my application consists of cocoon-actions that invoke xsp/xsl
> > >files upon requests. As normal the new output always refreshes the 
> client's
> > >browser view.
> > >Based on some calculations at the actions I'm required to delegate the
> > >response not to the current browser window but to a newly opened 
> browser window.
> > >An examle would be a printable view of a web page. Is this possible
with
> > >cocoon2? How could I accomplish it?
> > >
> > >Thanks for your comments!
> > >
> > >Harald
> > >
> > try use javascript for open new window, and submit form within it.
> > Yury.
> >

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: dispatch to new window in web browser possible?

Posted by Bert Van Kets <be...@vankets.com>.
I just want to add that you can name windows and submit data between 
them.  It is perfectly possible to gather data in 1 window and always show 
the result in a second window, without opening a new window every 
time.  The "_blanc" parameter will open an new window with every 
submit.  You do not need to create a window with a specific name first, 
just submit to a target with a new name and a new window will be created.
HTH,
Bert

BTW this is straight HTML, no JavaScript involved

At 09:41 3/05/2002 +0200, you wrote:
>You can achieve this in HTML by setting the target of your form to
>"_blank" which will post the results to a newly openned window.
>The javascript solution is better if you want more control over how the
>newly openned window looks.
>
>Andrew
>
>On Fri, 2002-05-03 at 09:38, yuryx wrote:
> > a000@gmx.net wrote:
> >
> > >Currently my application consists of cocoon-actions that invoke xsp/xsl
> > >files upon requests. As normal the new output always refreshes the 
> client's
> > >browser view.
> > >Based on some calculations at the actions I'm required to delegate the
> > >response not to the current browser window but to a newly opened 
> browser window.
> > >An examle would be a printable view of a web page. Is this possible with
> > >cocoon2? How could I accomplish it?
> > >
> > >Thanks for your comments!
> > >
> > >Harald
> > >
> > try use javascript for open new window, and submit form within it.
> > Yury.
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
> >
>--
>Andrew Timberlake
>Digital Design Development
>http://www.ddd.co.za
>mailto:andrew@ddd.co.za
>011 705 1737
>082 415 8283
>
>"If debugging is the process of removing bugs,
>then programming must be the process of putting them in."
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: dispatch to new window in web browser possible?

Posted by Andrew Timberlake <an...@ddd.co.za>.
You can achieve this in HTML by setting the target of your form to
"_blank" which will post the results to a newly openned window.
The javascript solution is better if you want more control over how the
newly openned window looks.

Andrew

On Fri, 2002-05-03 at 09:38, yuryx wrote:
> a000@gmx.net wrote:
> 
> >Currently my application consists of cocoon-actions that invoke xsp/xsl
> >files upon requests. As normal the new output always refreshes the client's
> >browser view. 
> >Based on some calculations at the actions I'm required to delegate the
> >response not to the current browser window but to a newly opened browser window.
> >An examle would be a printable view of a web page. Is this possible with
> >cocoon2? How could I accomplish it?
> >
> >Thanks for your comments!
> >
> >Harald
> >
> try use javascript for open new window, and submit form within it.
> Yury.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
> 
-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:andrew@ddd.co.za
011 705 1737
082 415 8283

"If debugging is the process of removing bugs, 
then programming must be the process of putting them in."


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Posted by Vadim Gritsenko <va...@verizon.net>.
Great.

Vadim

--
Resistance is futile. 

> -----Original Message-----
> From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> Sent: Monday, April 08, 2002 4:36 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
Cocoon 2.0.2
> 
> Thanks Vadim
> 
> I got that to work fine. I will have a go this coming weekend at
making a
> fix for it that works with 4.0/4.0.1 as well and will post it back.
> 
> Thanks again
> Jon
> 
> 
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <va...@verizon.net>
> To: <co...@xml.apache.org>
> Sent: Friday, May 03, 2002 4:46 PM
> Subject: RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
Cocoon
> 2.0.2
> 
> 
> > Ok, that's the old websphere bug and I guess that they again changed
the
> > behavior of encodeRedirectURL.
> >
> >
> > Take a look at the HttpEnvironment class in the Cocoon:
> >
> >         // FIXME (VG): WebSphere 4.0/4.0.1 bug
> >         if (!newURL.startsWith("/") && newURL.indexOf(':') == -1 &&
> > redirect.indexOf(':') != -1) {
> >             getLogger().debug("Redirect: WebSpehere Bug Detected!");
> >             String base = NetUtils.getPath(request.getRequestURI());
> >             if (base.startsWith("/")) {
> >                 base = base.substring(1);
> >             }
> >             redirect = response.encodeRedirectURL(base + '/' +
newURL);
> >         }
> >
> > And play with this piece of code.
> >
> >
> > Vadim
> >
> > --
> > Resistance is futile.
> >
> > > -----Original Message-----
> > > From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> > > Sent: Wednesday, April 03, 2002 10:31 AM
> > > To: cocoon-users@xml.apache.org
> > > Subject: Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
> > Cocoon 2.0.2
> > >
> > > Thanks Vadim
> > > The logs were helpfull.  The access.log shows that there is an
change
> > > in the
> > > context after it says
> > > "No pipeline matched request: /cocoon/documents/index.html"
> > > and then it g
> > >
> > > The initilal link on the home page is
> > > http://localhost:9080/cocoon/documents/index
> > >
> > > this gets redirected to
> > >
> > > http://localhost:9080/cocoon/cocoon/documents/index.html
> > >
> > > Notice the /cocoon/cocoon/ bit
> > >
> > > if i change this to
http://localhost:9080/cocoon/documents/index.html
> > > it
> > > works fine
> > >
> > > I get a similar thing going to
> > > http://localhost:9080/cocoon/cocoon/samples/poi/welcome
> > >
> > > So it geting confused with the context?
> > >
> > > I am looking in sitemap.xmap for the "documents" and comparing it
to
> > > the
> > > "search" search works but note realy sure of what to look for.
> > >
> > > Thanks
> > > Jon
> > >
> > >
> > >
> > > org.apache.cocoon.ResourceNotFoundException: No pipeline matched
> > > request:
> > > /cocoon/documents/index.html
> > >  at
> > >
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
> > >  at
> > >
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
> > >  at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
> > >  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> > >  at
> > >

...


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Posted by Jon Pallas <jo...@hotmail.com>.
Thanks Vadim

I got that to work fine. I will have a go this coming weekend at making a
fix for it that works with 4.0/4.0.1 as well and will post it back.

Thanks again
Jon



----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Friday, May 03, 2002 4:46 PM
Subject: RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon
2.0.2


> Ok, that's the old websphere bug and I guess that they again changed the
> behavior of encodeRedirectURL.
>
>
> Take a look at the HttpEnvironment class in the Cocoon:
>
>         // FIXME (VG): WebSphere 4.0/4.0.1 bug
>         if (!newURL.startsWith("/") && newURL.indexOf(':') == -1 &&
> redirect.indexOf(':') != -1) {
>             getLogger().debug("Redirect: WebSpehere Bug Detected!");
>             String base = NetUtils.getPath(request.getRequestURI());
>             if (base.startsWith("/")) {
>                 base = base.substring(1);
>             }
>             redirect = response.encodeRedirectURL(base + '/' + newURL);
>         }
>
> And play with this piece of code.
>
>
> Vadim
>
> --
> Resistance is futile.
>
> > -----Original Message-----
> > From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> > Sent: Wednesday, April 03, 2002 10:31 AM
> > To: cocoon-users@xml.apache.org
> > Subject: Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
> Cocoon 2.0.2
> >
> > Thanks Vadim
> > The logs were helpfull.  The access.log shows that there is an change
> in the
> > context after it says
> > "No pipeline matched request: /cocoon/documents/index.html"
> > and then it g
> >
> > The initilal link on the home page is
> > http://localhost:9080/cocoon/documents/index
> >
> > this gets redirected to
> >
> > http://localhost:9080/cocoon/cocoon/documents/index.html
> >
> > Notice the /cocoon/cocoon/ bit
> >
> > if i change this to http://localhost:9080/cocoon/documents/index.html
> it
> > works fine
> >
> > I get a similar thing going to
> > http://localhost:9080/cocoon/cocoon/samples/poi/welcome
> >
> > So it geting confused with the context?
> >
> > I am looking in sitemap.xmap for the "documents" and comparing it to
> the
> > "search" search works but note realy sure of what to look for.
> >
> > Thanks
> > Jon
> >
> >
> >
> > org.apache.cocoon.ResourceNotFoundException: No pipeline matched
> request:
> > /cocoon/documents/index.html
> >  at
> org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
> >  at
> org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
> >  at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
> >  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> >  at
> >
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
> )
> >  at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> >  at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >  at
> >
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
> ager
> > .java:827)
> >  at
> >
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
> cycl
> > eServlet.java:167)
> >  at
> >
> com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
> rvle
> > t.java:297)
> >  at
> >
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
> ycle
> > Servlet.java:110)
> >  at
> >
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
> a:47
> > 2)
> >  at
> >
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
> tMan
> > ager.java:1012)
> >  at
> >
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
> anag
> > er.java:913)
> >  at
> >
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
> ch(W
> > ebAppRequestDispatcher.java:523)
> >  at
> >
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
> uest
> > Dispatcher.java:282)
> >  at
> >
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
> estD
> > ispatcher.java:112)
> >  at
> >
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91
> )
> >  at
> >
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvo
> ker.
> > java:184)
> >  at
> >
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
> edIn
> > vocation.java:67)
> >  at
> >
> com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cach
> eabl
> > eInvocationContext.java:106)
> >  at
> >
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
> Requ
> > estProcessor.java:125)
> >  at
> >
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
> ener
> > .java:315)
> >  at
> >
> com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnectio
> n.ja
> > va:60)
> >  at
> >
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
> 323)
> >  at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
> >  at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment: Changing Cocoon
> context
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment:   from
> >
> context(file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war
> /)
> > and prefix()
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment:   to
> context(sitemap.xmap)
> > and prefix()
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment:   at URI
> documents/index
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment: New context is
> > file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/HttpEnvironment: Redirect: WebSpehere Bug
> > Detected!
> > DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/HttpEnvironment: Sending redirect to
> > 'http://localhost:9080/cocoon/cocoon/documents/index.html'
> > DEBUG   (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment: Set the URI Prefix
> (OLD=,
> > NEW=)
> > DEBUG   (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/AbstractEnvironment: Reset context to
> > file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> > INFO    (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
> > Servlet.Engine.Transports:9/CocoonServlet: 'documents/index' Processed
> by
> > Apache Cocoon 2.0.2 in 20 milliseconds.
> > DEBUG   (2002-04-03) 15:34.11:531
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment: Changing Cocoon
> context
> > DEBUG   (2002-04-03) 15:34.11:531
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment:   from
> >
> context(file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war
> /)
> > and prefix()
> > DEBUG   (2002-04-03) 15:34.11:531
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment:   to
> context(sitemap.xmap)
> > and prefix()
> > DEBUG   (2002-04-03) 15:34.11:531
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment:   at URI
> > cocoon/documents/index.html
> > DEBUG   (2002-04-03) 15:34.11:531
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment: New context is
> > file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> > DEBUG   (2002-04-03) 15:34.11:541
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment: Set the URI Prefix
> (OLD=,
> > NEW=)
> > DEBUG   (2002-04-03) 15:34.11:541
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/AbstractEnvironment: Reset context to
> > file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> > WARN    (2002-04-03) 15:34.11:541
> > [access](/cocoon/cocoon/documents/index.html)
> > Servlet.Engine.Transports:9/CocoonServlet: The resource was not found
> > org.apache.cocoon.ResourceNotFoundException: No pipeline matched
> request:
> > /cocoon/documents/index.html
> >  at
> org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
> >  at
> org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
> >  at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
> >  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> >  at
> >
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
> )
> >  at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> >  at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >  at
> >
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
> ager
> > .java:827)
> >  at
> >
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
> cycl
> > eServlet.java:167)
> >  at
> >
> com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
> rvle
> > t.java:297)
> >  at
> >
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
> ycle
> > Servlet.java:110)
> >  at
> >
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
> a:47
> > 2)
> >  at
> >
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
> tMan
> > ager.java:1012)
> >  at
> >
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
> anag
> > er.java:913)
> >  at
> >
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
> ch(W
> > ebAppRequestDispatcher.java:523)
> >  at
> >
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
> uest
> > Dispatcher.java:282)
> >  at
> >
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
> estD
> > ispatcher.java:112)
> >  at
> >
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91
> )
> >  at
> >
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvo
> ker.
> > java:184)
> >  at
> >
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
> edIn
> > vocation.java:67)
> >  at
> >
> com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cach
> eabl
> > eInvocationContext.java:106)
> >  at
> >
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
> Requ
> > estProcessor.java:125)
> >  at
> >
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
> ener
> > .java:315)
> >  at
> >
> com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnectio
> n.ja
> > va:60)
> >  at
> >
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
> 323)
> >  at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
> >  at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
> >
> >
> > ----- Original Message -----
> > From: "Vadim Gritsenko" <va...@verizon.net>
> > To: <co...@xml.apache.org>
> > Sent: Friday, May 03, 2002 3:16 PM
> > Subject: RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
> Cocoon
> > 2.0.2
> >
> >
> > > > From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> > > >
> > > > Hi All
> > > >
> > > > I have problem running Cocoon on websphere, it works on some of
> the
> > > pages
> > > > from the install
> > > > but on others for  example.
> > > > http://localhost:9080/cocoon/cocoon/documents/index.html
> > > >
> > > > it dosnt i think that the under underling error message is.
> > > > "Cannot set header. Response already committed."
> > > > Is this error to do with the page buffer size?? How can i make it
> > > bigger??
> > >
> > > ...
> > >
> > > >         at
> > > >
> > >
> com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppD
> > > ispa
> > > > tcherResponse.java:68)
> > > >         at
> > > >
> > >
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024)
> > > >         at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > >
> > >
> > > Check Cocoon's error log. I feel that the exception you see occurs
> when
> > > CocoonServlet tries to process other exception occurred somewhere
> inside
> > > Cocoon.
> > >
> > >
> > > Vadim
> > >
> > > --
> > > Resistance is futile.
> > >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Posted by Vadim Gritsenko <va...@verizon.net>.
Ok, that's the old websphere bug and I guess that they again changed the
behavior of encodeRedirectURL.


Take a look at the HttpEnvironment class in the Cocoon:

        // FIXME (VG): WebSphere 4.0/4.0.1 bug
        if (!newURL.startsWith("/") && newURL.indexOf(':') == -1 &&
redirect.indexOf(':') != -1) {
            getLogger().debug("Redirect: WebSpehere Bug Detected!");
            String base = NetUtils.getPath(request.getRequestURI());
            if (base.startsWith("/")) {
                base = base.substring(1);
            }
            redirect = response.encodeRedirectURL(base + '/' + newURL);
        }

And play with this piece of code.


Vadim

--
Resistance is futile. 

> -----Original Message-----
> From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> Sent: Wednesday, April 03, 2002 10:31 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
Cocoon 2.0.2
> 
> Thanks Vadim
> The logs were helpfull.  The access.log shows that there is an change
in the
> context after it says
> "No pipeline matched request: /cocoon/documents/index.html"
> and then it g
> 
> The initilal link on the home page is
> http://localhost:9080/cocoon/documents/index
> 
> this gets redirected to
> 
> http://localhost:9080/cocoon/cocoon/documents/index.html
> 
> Notice the /cocoon/cocoon/ bit
> 
> if i change this to http://localhost:9080/cocoon/documents/index.html
it
> works fine
> 
> I get a similar thing going to
> http://localhost:9080/cocoon/cocoon/samples/poi/welcome
> 
> So it geting confused with the context?
> 
> I am looking in sitemap.xmap for the "documents" and comparing it to
the
> "search" search works but note realy sure of what to look for.
> 
> Thanks
> Jon
> 
> 
> 
> org.apache.cocoon.ResourceNotFoundException: No pipeline matched
request:
> /cocoon/documents/index.html
>  at
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
>  at
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
>  at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
>  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>  at
>
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>  at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>  at
>
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
ager
> .java:827)
>  at
>
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
cycl
> eServlet.java:167)
>  at
>
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
rvle
> t.java:297)
>  at
>
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
ycle
> Servlet.java:110)
>  at
>
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
a:47
> 2)
>  at
>
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
tMan
> ager.java:1012)
>  at
>
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
anag
> er.java:913)
>  at
>
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(W
> ebAppRequestDispatcher.java:523)
>  at
>
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
uest
> Dispatcher.java:282)
>  at
>
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
estD
> ispatcher.java:112)
>  at
>
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91
)
>  at
>
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvo
ker.
> java:184)
>  at
>
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
edIn
> vocation.java:67)
>  at
>
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cach
eabl
> eInvocationContext.java:106)
>  at
>
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
Requ
> estProcessor.java:125)
>  at
>
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
ener
> .java:315)
>  at
>
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnectio
n.ja
> va:60)
>  at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
323)
>  at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
>  at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment: Changing Cocoon
context
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment:   from
>
context(file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war
/)
> and prefix()
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment:   to
context(sitemap.xmap)
> and prefix()
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment:   at URI
documents/index
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment: New context is
> file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/HttpEnvironment: Redirect: WebSpehere Bug
> Detected!
> DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/HttpEnvironment: Sending redirect to
> 'http://localhost:9080/cocoon/cocoon/documents/index.html'
> DEBUG   (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment: Set the URI Prefix
(OLD=,
> NEW=)
> DEBUG   (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/AbstractEnvironment: Reset context to
> file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> INFO    (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
> Servlet.Engine.Transports:9/CocoonServlet: 'documents/index' Processed
by
> Apache Cocoon 2.0.2 in 20 milliseconds.
> DEBUG   (2002-04-03) 15:34.11:531
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment: Changing Cocoon
context
> DEBUG   (2002-04-03) 15:34.11:531
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment:   from
>
context(file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war
/)
> and prefix()
> DEBUG   (2002-04-03) 15:34.11:531
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment:   to
context(sitemap.xmap)
> and prefix()
> DEBUG   (2002-04-03) 15:34.11:531
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment:   at URI
> cocoon/documents/index.html
> DEBUG   (2002-04-03) 15:34.11:531
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment: New context is
> file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> DEBUG   (2002-04-03) 15:34.11:541
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment: Set the URI Prefix
(OLD=,
> NEW=)
> DEBUG   (2002-04-03) 15:34.11:541
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/AbstractEnvironment: Reset context to
> file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
> WARN    (2002-04-03) 15:34.11:541
> [access](/cocoon/cocoon/documents/index.html)
> Servlet.Engine.Transports:9/CocoonServlet: The resource was not found
> org.apache.cocoon.ResourceNotFoundException: No pipeline matched
request:
> /cocoon/documents/index.html
>  at
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
>  at
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
>  at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
>  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>  at
>
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>  at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>  at
>
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
ager
> .java:827)
>  at
>
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
cycl
> eServlet.java:167)
>  at
>
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
rvle
> t.java:297)
>  at
>
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
ycle
> Servlet.java:110)
>  at
>
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
a:47
> 2)
>  at
>
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
tMan
> ager.java:1012)
>  at
>
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
anag
> er.java:913)
>  at
>
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(W
> ebAppRequestDispatcher.java:523)
>  at
>
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
uest
> Dispatcher.java:282)
>  at
>
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
estD
> ispatcher.java:112)
>  at
>
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91
)
>  at
>
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvo
ker.
> java:184)
>  at
>
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
edIn
> vocation.java:67)
>  at
>
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cach
eabl
> eInvocationContext.java:106)
>  at
>
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
Requ
> estProcessor.java:125)
>  at
>
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
ener
> .java:315)
>  at
>
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnectio
n.ja
> va:60)
>  at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
323)
>  at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
>  at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
> 
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <va...@verizon.net>
> To: <co...@xml.apache.org>
> Sent: Friday, May 03, 2002 3:16 PM
> Subject: RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
Cocoon
> 2.0.2
> 
> 
> > > From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> > >
> > > Hi All
> > >
> > > I have problem running Cocoon on websphere, it works on some of
the
> > pages
> > > from the install
> > > but on others for  example.
> > > http://localhost:9080/cocoon/cocoon/documents/index.html
> > >
> > > it dosnt i think that the under underling error message is.
> > > "Cannot set header. Response already committed."
> > > Is this error to do with the page buffer size?? How can i make it
> > bigger??
> >
> > ...
> >
> > >         at
> > >
> >
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppD
> > ispa
> > > tcherResponse.java:68)
> > >         at
> > >
> >
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024)
> > >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >
> >
> > Check Cocoon's error log. I feel that the exception you see occurs
when
> > CocoonServlet tries to process other exception occurred somewhere
inside
> > Cocoon.
> >
> >
> > Vadim
> >
> > --
> > Resistance is futile.
> >


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Posted by Jon Pallas <jo...@hotmail.com>.
Thanks Vadim
The logs were helpfull.  The access.log shows that there is an change in the
context after it says
"No pipeline matched request: /cocoon/documents/index.html"
and then it g

The initilal link on the home page is
http://localhost:9080/cocoon/documents/index

this gets redirected to

http://localhost:9080/cocoon/cocoon/documents/index.html

Notice the /cocoon/cocoon/ bit

if i change this to http://localhost:9080/cocoon/documents/index.html it
works fine

I get a similar thing going to
http://localhost:9080/cocoon/cocoon/samples/poi/welcome

So it geting confused with the context?

I am looking in sitemap.xmap for the "documents" and comparing it to the
"search" search works but note realy sure of what to look for.

Thanks
Jon



org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
/cocoon/documents/index.html
 at org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
 at org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
 at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
 at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
 at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
 at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:523)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:282)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:112)
 at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
 at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:184)
 at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
 at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cacheabl
eInvocationContext.java:106)
 at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:125)
 at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
 at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
 at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
 at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment: Changing Cocoon context
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment:   from
context(file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/)
and prefix()
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment:   to context(sitemap.xmap)
and prefix()
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment:   at URI documents/index
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment: New context is
file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/HttpEnvironment: Redirect: WebSpehere Bug
Detected!
DEBUG   (2002-04-03) 15:34.11:511   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/HttpEnvironment: Sending redirect to
'http://localhost:9080/cocoon/cocoon/documents/index.html'
DEBUG   (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment: Set the URI Prefix (OLD=,
NEW=)
DEBUG   (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/AbstractEnvironment: Reset context to
file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
INFO    (2002-04-03) 15:34.11:521   [access](/cocoon/documents/index)
Servlet.Engine.Transports:9/CocoonServlet: 'documents/index' Processed by
Apache Cocoon 2.0.2 in 20 milliseconds.
DEBUG   (2002-04-03) 15:34.11:531
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment: Changing Cocoon context
DEBUG   (2002-04-03) 15:34.11:531
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment:   from
context(file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/)
and prefix()
DEBUG   (2002-04-03) 15:34.11:531
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment:   to context(sitemap.xmap)
and prefix()
DEBUG   (2002-04-03) 15:34.11:531
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment:   at URI
cocoon/documents/index.html
DEBUG   (2002-04-03) 15:34.11:531
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment: New context is
file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
DEBUG   (2002-04-03) 15:34.11:541
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment: Set the URI Prefix (OLD=,
NEW=)
DEBUG   (2002-04-03) 15:34.11:541
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/AbstractEnvironment: Reset context to
file:/C:/WebSphere/AppServer/installedApps/cocoon.ear/cocoon.war/
WARN    (2002-04-03) 15:34.11:541
[access](/cocoon/cocoon/documents/index.html)
Servlet.Engine.Transports:9/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
/cocoon/documents/index.html
 at org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
 at org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
 at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
 at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
 at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
 at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:523)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:282)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:112)
 at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
 at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:184)
 at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
 at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cacheabl
eInvocationContext.java:106)
 at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:125)
 at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
 at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
 at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
 at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)


----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Friday, May 03, 2002 3:16 PM
Subject: RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon
2.0.2


> > From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> >
> > Hi All
> >
> > I have problem running Cocoon on websphere, it works on some of the
> pages
> > from the install
> > but on others for  example.
> > http://localhost:9080/cocoon/cocoon/documents/index.html
> >
> > it dosnt i think that the under underling error message is.
> > "Cannot set header. Response already committed."
> > Is this error to do with the page buffer size?? How can i make it
> bigger??
>
> ...
>
> >         at
> >
> com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppD
> ispa
> > tcherResponse.java:68)
> >         at
> >
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024)
> >         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>
>
> Check Cocoon's error log. I feel that the exception you see occurs when
> CocoonServlet tries to process other exception occurred somewhere inside
> Cocoon.
>
>
> Vadim
>
> --
> Resistance is futile.
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> 
> Hi All
> 
> I have problem running Cocoon on websphere, it works on some of the
pages
> from the install
> but on others for  example.
> http://localhost:9080/cocoon/cocoon/documents/index.html
> 
> it dosnt i think that the under underling error message is.
> "Cannot set header. Response already committed."
> Is this error to do with the page buffer size?? How can i make it
bigger??

...

>         at
>
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppD
ispa
> tcherResponse.java:68)
>         at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)


Check Cocoon's error log. I feel that the exception you see occurs when
CocoonServlet tries to process other exception occurred somewhere inside
Cocoon.


Vadim

--
Resistance is futile. 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Posted by Jon Pallas <jo...@hotmail.com>.
Hi All

I have problem running Cocoon on websphere, it works on some of the pages
from the install
but on others for  example.
http://localhost:9080/cocoon/cocoon/documents/index.html

it dosnt i think that the under underling error message is.
"Cannot set header. Response already committed."
Is this error to do with the page buffer size?? How can i make it bigger??

Enviroment is
OS: win2000
JDK: IBM jdk 1.3.0
Appserver: Websphere 4.0.2
Cocoon Version:  2.0.2

Any help would me much appreciated.
Thanks
Jon


The full stack trace is below

[03/04/02 09:48:55:533 BST] 16495644 WebApp        X SRVE0115E: Error
occurred while invoking error reporter
com.ibm.servlet.engine.webapp.WebAppErrorReport: [Cocoon2] reported an error
        at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherResponse.java:85)
        at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherResponse.java:68)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
        at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
        at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
        at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
        at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:523)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:282)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:112)
        at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
        at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:184)
        at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
        at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:122)
        at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
        at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
        at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
        at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
        at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)

[03/04/02 09:48:56:885 BST] 16495644 WebGroup      I SRVE0091I: [Servlet
LOG]: Error page exception  The server cannot use the error page specified
for your application because of the exception printed below.
[03/04/02 09:48:56:885 BST] 16495644 WebGroup      I SRVE0092I: [Servlet
LOG]: Error Page Exception: :
com.ibm.servlet.engine.webapp.WebAppErrorReport: OutputStream already
obtained
        at com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:651)
        at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherResponse.java:91)
        at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherResponse.java:68)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1024)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
        at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
        at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
        at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
        at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:523)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:282)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:112)
        at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
        at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:184)
        at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
        at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:122)
        at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
        at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
        at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
        at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
        at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)

[03/04/02 09:48:57:466 BST] 16495644 WebGroup      X Servlet Error: ERROR:
Cannot set header. Response already committed.:
java.lang.IllegalStateException: ERROR: Cannot set header. Response already
committed.
        at
com.ibm.servlet.engine.srt.SRTServletResponse.setHeader(SRTServletResponse.j
ava:476)
        at
com.ibm.servlet.engine.srt.SRTServletResponse.setContentType(SRTServletRespo
nse.java:438)
        at
com.ibm.servlet.engine.webapp.HttpServletResponseProxy.setContentType(HttpSe
rvletResponseProxy.java:107)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1041)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
        at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
        at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
        at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
        at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
        at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:523)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:282)
        at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:112)
        at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
        at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:184)
        at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
        at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:122)
        at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
        at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
        at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
        at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
        at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)















----- Original Message -----
From: "yuryx" <yu...@mobicomk.donpac.ru>
To: <co...@xml.apache.org>
Sent: Friday, May 03, 2002 8:38 AM
Subject: Re: dispatch to new window in web browser possible?


> a000@gmx.net wrote:
>
> >Currently my application consists of cocoon-actions that invoke xsp/xsl
> >files upon requests. As normal the new output always refreshes the
client's
> >browser view.
> >Based on some calculations at the actions I'm required to delegate the
> >response not to the current browser window but to a newly opened browser
window.
> >An examle would be a printable view of a web page. Is this possible with
> >cocoon2? How could I accomplish it?
> >
> >Thanks for your comments!
> >
> >Harald
> >
> try use javascript for open new window, and submit form within it.
> Yury.
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: dispatch to new window in web browser possible?

Posted by yuryx <yu...@mobicomk.donpac.ru>.
a000@gmx.net wrote:

>Currently my application consists of cocoon-actions that invoke xsp/xsl
>files upon requests. As normal the new output always refreshes the client's
>browser view. 
>Based on some calculations at the actions I'm required to delegate the
>response not to the current browser window but to a newly opened browser window.
>An examle would be a printable view of a web page. Is this possible with
>cocoon2? How could I accomplish it?
>
>Thanks for your comments!
>
>Harald
>
try use javascript for open new window, and submit form within it.
Yury.




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: dispatch to new window in web browser possible?

Posted by Matthieu Benéteau <m....@quaternove.fr>.
Have a look at this tutorial :
http://tech.irt.org/articles/js128/index.htm

It's quite helpful.

Regards,
Matthieu

> -----Message d'origine-----
> De : a000@gmx.net [mailto:a000@gmx.net]
> Envoyé : vendredi 3 mai 2002 08:25
> Objet : dispatch to new window in web browser possible?
>
>
> Currently my application consists of cocoon-actions that invoke xsp/xsl
> files upon requests. As normal the new output always refreshes
> the client's
> browser view.
> Based on some calculations at the actions I'm required to delegate the
> response not to the current browser window but to a newly opened
> browser window.
> An examle would be a printable view of a web page. Is this possible with
> cocoon2? How could I accomplish it?
>
> Thanks for your comments!
>
> Harald
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>