aspose file tools*
The moose likes Servlets and the fly likes linking from html page to jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "linking from html page to jsp page" Watch "linking from html page to jsp page" New topic
Author

linking from html page to jsp page

Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9053
    
  12
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?

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
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

Joined: Jul 22, 2000
Posts: 9053
    
  12
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: linking from html page to jsp page