NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Laszlo Nadai Posted via mailing list.
|
Posted: Tue Sep 08, 2009 6:52 pm Post subject: re direct, forward takes more than 1 minute. |
|
|
Thank you.
Actually I was able to resolve the problem by "playing around" with Tomcat's heap size, etc...
It was really a trial and error thingy.
Now using the correct settings the forward takes less than 2 secods (it goes to a different server to an asp page).
Thanks again,
-laszlo
On Tue, Sep 8, 2009 at 10:00 AM, Futaleufu_John <address-removed ([email]address-removed[/email])> wrote:
| Quote: |
You don't say where the redirected page is. Is it a "general" website URL?
Another page on another server on your network?
What kind of page is it? JSP? Servlet? HTML?
Have you tried redirecting to a target other than the one you want? That is,
have you tested it using a variety of URLs and page types?
I use redirects in my web app (initially developed in Creator but migrated
to NetBeans over a year ago). The code looks like this...(imports and
try/catch omitted)
FacesContext facesContext = getFacesContext();
ExternalContext externalContext = facesContext.getExternalContext();
externalContext.redirect("<page>");
My redirects always go to another JSP page in the same app (on the same
server).
laszlo-7 wrote:
| Quote: |
Anyway, the app has a main page, and in the init() I do some DB update,
etc, then based on some parameters from the request, I do redirect.
Everything is fine, except it takes about a minute or so to actually "see"
the page where it was redirected to (it is not on my server). I tried
redirect, forward, you name it.
|
-----
Any ads or links to ads that appear in this post are not endorsed nor
recommended by this poster.
--
View this message in context: http://www.nabble.com/redirect%2C-forward-takes-more-than-1-minute.-tp25323880p25350145.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|