Originally posted by Kyle Brown:
(Bosun, that was mean )
You can redirect to any URL if you use the HttpResponse.sendRedirect("some_url") method.
Kyle
Originally posted by japper:
When viewing the page in your browser, view the HTML source that was returned from the web server.
Sometimes you will see exception messages in the HTML source.
If you do not see them, check the JRun logs for anything.
Originally posted by Dmitriy Pavlyuk:
If I right understand you question, you want to click the html button and send email.
If you have all information to send on client side you may simply submit form (action="mailto:sss@server" method = post).
If you need send message with information after servlet proccessing, you may use JavaMail library or Jakarta taglib (for jsp).
Originally posted by Trevor Dunn:
It is hard to say what the problem could be, but based on the little iformation that you have given I would say you have a configuration problem . Basically if the servlet works fine on another Machine . Then there must be some difference. COuld it be that you are trying to retrieve some external resource and the servlet can not find it, WHich in some cases would make the servlet hang.
Trevor
Originally posted by Trevor Dunn:
It is hard to say what the problem could be, but based on the little iformation that you have given I would say you have a configuration problem . Basically if the servlet works fine on another Machine . Then there must be some difference. COuld it be that you are trying to retrieve some external resource and the servlet can not find it, WHich in some cases would make the servlet hang.
Trevor
Originally posted by Trevor Dunn:
Hi
I am not sure how you have your JRun setup. But if you are not using any mappings in your web.xml file then the default path for a servlet is ..../servlet/SomeServlet.
Just a thought
Trevor