• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

linking from html page to jsp page

 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic