This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
We have an installation of BEA Weblogic and we have developped an application. The problem is that we want to set a servlet as home page, but we couldn�t find the way to do it. We have already tried to make a .jsp as home page and redirect it to a servlet, but this solution is not valid for us, because the home page could be acceded from HTTP(Web) as well as from WAP (mobile phone), and WAP does not understand .jsp. Summary: we want the application to be accesible from HTTP and WAP. Our servlet is the one who can know and discriminate when a request is made. That's why we need the servlet to be the first called before other thing. Can anybody help us? Thanks.
Package your servlet in a war file deploy it to the server and than click on the server at the administration console, navigate to Configuration>http and set the war file you just deployed as Default Web Application.