• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

set Action as welcome-file

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to set an struts 2 Action as welcome-file?
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok! It seems that it isn't A redirect from a jsp. Isn't there a better way. Isn't this a little ugly?
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does seem like there should be a better way, but this is how I have always done it.

- Brent
 
Abhilash George
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that in any web application there always has to be first page which has to be a physical page . ie a jsp or html and it cannot be an action.
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Adding to what Abhilash Geroge Said,

From Servlet V2.4, they added a "servlet" to be configured as a welcome file. I believe the same way it could also be possible. But not sure!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic