Why don't u set it as Welcome page in web.xml ???!! Ice-Man
2009/7/2 yizhangYin <javastud...@hotmail.com> > Hi all: > > > I am not sure how to change the view of url for struts 2 > > for example > > I had : > > 1. a struts2 web application called Home , which contains a "/index.jsp" > > 2. My domain name : http://www.mydomain.com, > > I deploy Home struts2 application under this domain name. > > if i want to view the page "Home/index.jsp", I have to browse " > http://www.mydomain.com/Home/index.jsp" . > > I wonder if there any way can change the view of url (" > http://www.mydomain.com/Home/index.jsp") to ("http://www.mydomain.com") > and go to same page (Home/index.jsp). > > Thank you. > > regards > > Yizhang > > > ------------------------------ > 微软地图实时路况,为您节省的不仅仅是时间! > 立即查看!<http://ditu.live.com/default.aspx?v=2&form=MICHAJ&cp=qcbgzzsz1gzz&style=r&lvl=4&tilt=-90&dir=0&alt=-1000&phx=0&phy=0&phscl=1&trfc=1&encType=1> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---