• Post Reply Bookmark Topic Watch Topic
  • New Topic

Url gets changed on mapping  RSS feed

 
Manpreet Patil
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

I have mapped my application http://www.example.net:8080/MyApp at http://www.example.net.

But when i hit the url http://www.example.net, while navigation it changes to http://www.example.net/MyApp because of which it started throwing exceptions at various places.

Could anyone help me on this.

Thanks in advance
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manpreet Patil wrote:I have mapped my application http://www.example.net:8080/MyApp at http://www.example.net


How did you do it?
 
Manpreet Patil
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have done apache to tomcat mapping using mode proxy for mapping the url "www.example.com:8080/myapp" into www.example.com. but after mapping i got the session null exception in my application in some place. but it's work fine in my old URL "www.example.com:8080/myapp"
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely you did something wrong, but it is impossible to tell what exactly is broken without seeing the actual mapping code.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!