This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Url gets changed on mapping

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic