Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I link to another web page or servlet?

link servlet web page
0
Posted

How can I link to another web page or servlet?

0

A. If you want to redirect the browser out of an Echo application, you’ll want to make the Application “suspend” itself and redirect to a different URI. An example of this is available in the TestForEcho program, specifically in the file “nextapp_echo/src/testforecho/java/nextapp/testforecho/TerminationTest.java”. The Echo application’s state will be preserved (until the session times out) and if the user returns the Echo app’s URI, the app will reappear in the same state it was in immediately prior to suspending. EchoPoint has an ExitButton component that makes it easier to provide a link to an outside web URL. You would create it as follows : ExitButton exitButton = new ExitButton(getEchoInstance(), “http://echopoint.sf.net”, “Click here to go there”); exitButton.setExitMode(false); This will code will suspend the application state until the user returns or the session timesout. If a user returns within the session timeout period then all the application state will be exactly as it w

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123