Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

link in servlet

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am using Tomcat and whenever I had to place a link in my servlets I need to type the whole thing, like http://127.0.0.1:8080/ThisApp/servlet/nextPage. Is there some way I can just type /ThisApp/servlet/nextPage?
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean like this: http://ThisApp/servlet/netxpage? Correct me if I'm wrong, but I don't think so. Why don't you just bookmark the page.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand why the short form you quote is not working. I use this sort of URL all the time. What happens when you use "/ThisApp/servlet/nextPage"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic