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

can a hyperlink in a html page redirect to a servlet

 
ragi singh
Ranch Hand
Posts: 198
Oracle Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have various hyperlinks in my html page . Is there a way where i can directly go from a html page to servlet .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course. Just give the URL of the servlet.
 
Malatesh Karabisti
Ranch Hand
Posts: 153
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes your static html pages can point to any page in the web application or any page in the internet just like for for google http://google.com
 
Abhishek Tyagi
Greenhorn
Posts: 2
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although one would never include "http://localhost:8080/" as part of a hyper link!
 
Abhishek Tyagi
Greenhorn
Posts: 2
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ofcource ! everyone knows what relative addresses are.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic