• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

linking from html page to jsp page

 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link from *.html to *.jsp isn't working well.
The link looks like this:

��� - spacing! - <a href="/*.jsp#space>Section 2.2</a><br>
- indentation! - <a href="/*.jsp#indent>

but it comes out as this:

http ://javaranch.com/*.jsp#space>Section 2.2</a><br>��� - indentation! - <a href=

It'll take you to the *.jsp page but all the way to the end.
Is this a jsp thing?
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From a html page we can link to a particular portion of another .jsp file. I just wrote 1 main.html file and another jump.jsp file to check. Please see. Here my web app ROOT is named as MISApp and the .html and .jsp are kept inside a dir named Login.
By the word *.jsp do you mean ALL FILES or just ANYNAME.jsp. Because we can't give *.jsp itself in the UR. The * should represent a valid name.
regds
maha anna

[This message has been edited by maha anna (edited December 09, 2000).]
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by maha anna:
By the word *.jsp do you mean ALL FILES or just ANYNAME.jsp. Because we can't give *.jsp itself in the UR. The * should represent a valid name.

I mean ANYNAME.jsp. Thanks a lot, Maha. Your answer was a big help.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic