• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jon casari
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can I use url rewriting with jsps that have frames, using the <c:url> tag?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
jon casari
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic