aspose file tools*
The moose likes JSP and the fly likes new page on submission Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "new page on submission" Watch "new page on submission" New topic
Author

new page on submission

Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
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

Joined: Jan 08, 2009
Posts: 1477
    
    6

By new page do you mean new window?


Swastik
Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
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

Joined: Jan 08, 2009
Posts: 1477
    
    6

Does parent.location.href, help?
Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
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

Joined: Jan 08, 2009
Posts: 1477
    
    6

Without looking at your code, it's tough to say how and what exactly are you trying to achieve?
Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
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

Joined: Jan 08, 2009
Posts: 1477
    
    6

Ok, probably in that case you need to specify parent as an attribute in form tag. Somewhat like this

Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
thanks swastik it worked but i would like to share that it owuld be target="_top" not _parent

thank you once again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new page on submission