aspose file tools*
The moose likes JSP and the fly likes can I use url rewriting with frames and jsps?c:url?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "can I use url rewriting with frames and jsps?c:url??" Watch "can I use url rewriting with frames and jsps?c:url??" New topic
Author

can I use url rewriting with frames and jsps?c:url??

jon casari
Greenhorn

Joined: Oct 06, 2006
Posts: 9
can I use url rewriting with jsps that have frames, using the <c:url> tag?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

How do frames introduce anything new? Just construct the URLs as you would for the main window. As far as JSP and servlets are concerned, frames are just windows like any other.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
jon casari
Greenhorn

Joined: Oct 06, 2006
Posts: 9
<frameset cols="25%,75%">
<frame src="frame_a.jsp">
<frame src="frame_b.jsp">
</frameset>

In my main JSP I will have something like this , I just have to encode the urls inside the files frame a and frame b like always . And it will work?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

Again, the fact that the request is coming from a frame is not known to the server. It just sees the request coming in as if from a "normal" window. So anything that'd work for a normal window will work for the frames.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can I use url rewriting with frames and jsps?c:url??