Redirect Issues

2004-09-14 Thread Nic Werner
Greetings again, I've noticed a problem with redirect if I have a good chunk of code, where it won't redirect and I get this log error: - Root Cause - java.lang.IllegalStateException at org.apache.coyote.tomcat4.CoyoteResponseFacade.sendRedirect(CoyoteResponseFacade.java:338

Re: Redirect Issues

2004-09-14 Thread Kris Schneider
The better pattern is don't use a JSP to issue a redirect (or a forward for that matter). This is much better suited to a Filter or a Servlet or a controller component of an MVC framework (like Struts). Quoting Nic Werner [EMAIL PROTECTED]: Greetings again, I've noticed a problem

Re: Redirect Issues

2004-09-14 Thread Serge Knystautas
Nic Werner wrote: Greetings again, I've noticed a problem with redirect if I have a good chunk of code, where it won't redirect and I get this log error: - Root Cause - java.lang.IllegalStateException at org.apache.coyote.tomcat4.CoyoteResponseFacade.sendRedirect

RE: Redirect Issues

2004-09-14 Thread Ross, Douglas
Increasing the buffer size may only mask the problem. You have to be careful to understand what is happening: once any content in the buffer has been commited to the response, a redirect may not be valid. You definitely need to decide on the view (which redirect you want) before you get to your

page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i use:c:redirect url=SearchAction.do/ and in jsp i use: jsp:forward

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
What happens if you go to directly to the page from your browser? Do u also get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo in your struts-config.xml. Gao Di wrote: i use struts framework in my project,and use the jstl in the jsp page.now i

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it's ok ah,if i typed page directly,u can write some sample and try it . --- Bill Siggelkow [EMAIL PROTECTED] What happens if you go to directly to the page from your browser? Do u also get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
and not the redirect. Perhaps a typo in your struts-config.xml. Gao Di wrote: i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Karr, David
If it isn't obvious yet, try: c:redirect url=/SearchAction.do/ -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it doesn't work either,i find it's a problem of struts,but can't find a solution. --- Karr, David [EMAIL PROTECTED] If it isn't obvious yet, try: c:redirect url=/SearchAction.do/ -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] i use struts framework in my

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo in your struts-config.xml. Gao Di wrote: i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
it comes to your problem. Bill Siggelkow [EMAIL PROTECTED] -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 9:25 PM To: Tag Libraries Users List Subject: Re: page redirect problem in jstl or jsp? maybe there is something wrong in my config

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
List Subject: Re: page redirect problem in jstl or jsp? maybe there is something wrong in my config files? struts-config.xml action-mappings action path=/SearchAction type=com.adt.action.log.SearchAction name=SearchForm

page redirect problem in jstl or jsp?

2004-08-10 Thread ?fffffffffb8?fffffffffdf ?fffffffffb5?fffffffffc f?=
i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i use:c:redirect url=SearchAction.do/ and in jsp i use: jsp:forward

Re: redirect to a target?

2004-04-07 Thread Kris Schneider
; //-- /script ... /head ... /html Quoting John MccLain [EMAIL PROTECTED]: Is there any way to specify that a redirect go into another frame??? We have an outer frame holding a menu, then an inner frame that loads our pages and each page has a security header. If the session times out, we

redirect to a target?

2004-04-06 Thread John MccLain
Is there any way to specify that a redirect go into another frame??? We have an outer frame holding a menu, then an inner frame that loads our pages and each page has a security header. If the session times out, we get redirected (via our security header) to our logon page - BUT, our menu still

redirect to a frame???

2004-03-31 Thread John MccLain
Is it possible to target a frame in a jstl call. For example, frame 1 has a button that submits a servlet request. The servlet redirects to another jsp page but you want the jsp page it redirects to to be in frame 2. Can this be done without re-rendering the entire page, and only re-render frame

RE: redirect to a frame???

2004-03-31 Thread Martin van Dijken
I've added three small files. Open set.html for a demo. Good luck! Martin -Oorspronkelijk bericht- Van: John MccLain [mailto:[EMAIL PROTECTED] Verzonden: donderdag 1 april 2004 0:54 Aan: taglibs user list Onderwerp: redirect to a frame??? Is it possible to target a frame in a jstl call

RE: Redirect from imported file

2004-01-19 Thread Karr, David
, not in the view pages. -Original Message- From: Dima Gutzeit [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 4:30 AM To: [EMAIL PROTECTED] Subject: Redirect from imported file Dear list members, I am expiriencing the following behaviour : c:redirect/ Tag does not work from

Re: Redirect from imported file

2004-01-19 Thread Serge Knystautas
/servlet is not allowed to modify headers or response code. This means you can't redirect from within an include. -- Serge Knystautas President Lokitech software . strategy . design http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED

RE: using struts for http to https redirect problem in IE6

2004-01-05 Thread N.N.S.S Ravi Krishna
Thanx Martin, I did that just now . --Ravi Krishna -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 11:13 PM To: Tag Libraries Users List; [EMAIL PROTECTED] Subject: Re: using struts for http to https redirect problem in IE6 In general

using struts for http to https redirect problem in IE6

2004-01-02 Thread N.N.S.S Ravi Krishna
Hi all, I'm trying to redirect from http page to https page by configuring the struts-config.xml. I could do that successfully in a Netscape7.1 browser but failing to do so in IE6.0. Please tell me whether there are any browser based settings to be done.If so where I have to take care

Re: using struts for http to https redirect problem in IE6

2004-01-02 Thread Martin Cooper
wrote: Hi all, I'm trying to redirect from http page to https page by configuring the struts-config.xml. I could do that successfully in a Netscape7.1 browser but failing to do so in IE6.0. Please tell me whether there are any browser based settings to be done.If so where I have to take

redirect

2002-11-21 Thread Stefan
Hi, Is the c:redirect url=/ equivalent in scriptlets response.sendRedirect() ? Thanks, Stef