aspose file tools*
The moose likes JSP and the fly likes index.htm vs. index.jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "index.htm vs. index.jsp" Watch "index.htm vs. index.jsp" New topic
Author

index.htm vs. index.jsp

Chan Yan
Greenhorn

Joined: Oct 21, 2005
Posts: 15
Hi everyone, I am working on a small website using JSP/Struts on my local computer. The index page is index.jsp with a jsp tag to forward to call a servlet. Now I need to upload the whole site to a shared Tomcat host. It requires that the start page of my site must have index.html name. Does anyone know how I can implement this? How to automatically call a servelt in a HTML file? Thanks in advance. CY

Here is my index.jsp file (just one line)

<jsp:forward page="/homepage.do"/>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Please check your private messages once again.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Do you not have access to the deployment descriptor? If so, you can change the welcome file to index.jsp.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: index.htm vs. index.jsp
 
Similar Threads
JSP/Database/XML
Dynamically Loading a XML file when the application starts
Include file problem
JSP/DB/XML
Can't setup basic spring application