Re: how to make a servlet as the home page

2001-08-26 Thread Saadat Ahmed
one way is to use the index.html and create a frame where you specify src = path to your servlet saadat. - Original Message - From: naveen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 9:29 PM Subject: how to make a servlet as the home page hi , I am

Re: how to make a servlet as the home page

2001-08-26 Thread Saadat Ahmed
one way is to use the index.html and create a frame where you specify src = path to your servlet saadat. - Original Message - From: naveen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 9:29 PM Subject: how to make a servlet as the home page hi , I am

RE: how to make a servlet as the home page

2001-08-26 Thread Aravind Naidu
Create an index.html with the following text HTML HEAD meta http-equiv=REFRESH CONTENT=0; URL=/servlet/com.acme.XYZServlet /HEAD /HTML Ensure that the servlet handles doGet(...) -- Aravind - Original Message - From: naveen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August

RE: how to make a servlet as the home page

2001-08-26 Thread Dmitri Colebatch
Ok, if you're using apache, then the first thing apache does when it gets a request for a directory is look for the DirectoryIndex instruction. typically this will be set to index.html index.htm index.jsp etc. The way this works is that apache will first check index.html, then index.htm, then

Re: how to make a servlet as the home page

2001-08-26 Thread Micael Padraig Og mac Grene
Why don't you just have the welcome page in the web.xml contain: jsp:forward page=/map* / and have /map* mapped in web.xml to a servlet? I don't understand why you think going to a servlet in a problem? -Original Message- From: Aravind Naidu [EMAIL PROTECTED] To: [EMAIL