• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new page on submission

 
Aditi agarwal
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey i am designing my jsp pages in Myeclipse

actually till now i have developed all my pages in the frames but now i want on submission my jsp page should be opened in a new page without any previous frames

what should i do?

please help me

thank you.
 
Swastik Dey
Rancher
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By new page do you mean new window?
 
Aditi agarwal
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you swastik for your reply no i dont mean a new window instead i mean same page but without any frames
 
Swastik Dey
Rancher
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does parent.location.href, help?
 
Aditi agarwal
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks swastik it will help me but i cannot get that where to put this string so as to fulfil my requirement

thankyou
 
Swastik Dey
Rancher
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without looking at your code, it's tough to say how and what exactly are you trying to achieve?
 
Aditi agarwal
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually i need it over there when i need to submit the page whenever the page is submit then it should fulfil my need

if its still not clear then please let me know i will paste my code here

thank you
 
Swastik Dey
Rancher
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, probably in that case you need to specify parent as an attribute in form tag. Somewhat like this

 
Aditi agarwal
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks swastik it worked but i would like to share that it owuld be target="_top" not _parent

thank you once again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic