wood burning stoves 2.0*
The moose likes Struts and the fly likes lose dns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "lose dns " Watch "lose dns " New topic
Author

lose dns

Luca Carletti
Greenhorn

Joined: Jun 15, 2010
Posts: 12
Hello , I have a application
that use:

1) apache tomcat
2) struts

my webSite lose the dns:

Exemple:
1)supposing my site: http://www.mysite.it
2)supposing Apache Tomcat IP --> 111.112.113.114 port 8080

when i execute a action for examples login.do,

I want my url:

http://www.mysite.it/login.do

but I have

http://111.112.113.114:8080/login.do --> (my site lose the dns)

In the index page url is
http://www.mysite.it/ but
the source page in tag <base> is:
<base href="http://111.112.113.114:8080/jsp/login.jsp">

but I think that is no correct
I think that the tag <base> correct must be:

<base href="http://www.mysite.it/jsp/login.jsp">

Thank you!



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: lose dns