• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

index.htm vs. index.jsp

 
Chan Yan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65128
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your private messages once again.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65128
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you not have access to the deployment descriptor? If so, you can change the welcome file to index.jsp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic