File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
I am not sure how to change the view of url for struts 2
Joined: Oct 30, 2006
Jul 02, 2009 06:41:26
I had :
1. a struts2 web application called Home , which contains a "/index.jsp"
2. My domain name :
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 from("http://www.mydomain.com/Home/index.jsp") to ("http://www.mydomain.com") and
still can go to same page (Home/index.jsp).
Joined: Sep 29, 2008
Jul 02, 2009 07:18:10
You'd need a welcome page that redirects to the page in question.
That said, accessing
pages directly is generally recommended.
I agree. Here's the link:
subject: I am not sure how to change the view of url for struts 2
mapping default page to domain name in tomcat without port number.in Ubuntu
Struts2 config error
migration to Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015