• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request parameters lost when page is included

 
Ghjellyn Cook
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've got a problem when I include a jsp page in another.

Briefly this is the situation : one page main.jsp has same data, another menunavigation.jsp is the menu which has to be on top of every page (I include this page like this : <%@ include file="/includes/menunavigation.jsp"%> .

This works fine in most my pages.
Now i have a list on the main.jsp and a delete button, when its pressed it takes it to the delete.jsp page. There i do the nessecary actions and this javascript :

<script language="JavaScript">
window.opener.refreshscreen();
window.close();
</script>

When main page reloads and the refreshscreen is called, it fetches from the database the new updated list.

Now here's the problem : when I don't include the menu in main.jsp, it all works fine (pressing the delete button, adding new items to the list), but when I do include the menu, the parameters seem to get lost... I'm totaly dazzeld by this because in other pages this works just fine.

Has anyone come across this kind of error? All help would be very much appreciated!

Greetz

Ghjellyn
 
Ghjellyn Cook
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I detected where my problem was : in the menubar was another form included, thats why my parameters were lost...
Anyknows maybe how to work around it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic