Hello there, i have a JSP page that surprisingly stops rendering when its deployed to a server.But when i place javascript alert() at different positions on that page the page starts rendering as it should.Eventually , when i remove those alerts the page keeps on rendering.When i run that page on my eclipse as localhost it runs fine and i dont need to include javascript alerts().I pretty much hope that u guyz get my question.
A:
Also plz lemme know how javascript alert forces this page to render
Mubbashir
2010-10-24 14:16:54
You can edit your question do provide more information. (You should not do that by posting an answer.)
Šime Vidas
2010-10-24 14:29:55
A:
without seeing you code its almost impossible to tell whats the problem - but there's one thing i can think of:
yiu're doing some ajax-stuf without understanding what asynchonus requests are - by insering an alert() somewhere, the code is stoped and the ajax-request is completed in the time you need to klick 'ok'. if so:
- please try to set your ajax-requests to behave 'synchonous' (thets a bad idea in most cases, but maybe helps to find the problem)
if that works:
- reset it to behave asynchronous and search for the failure
if not / you aren't using ajax:
- post the relevant code-parts
generally:
- try to use something like firebug and look for javascript-failures
oezi
2010-10-24 14:26:40