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

jsp:forward issue

deb ra
Greenhorn

Joined: Nov 05, 2009
Posts: 1
I am having an issue with the jsp:forward tag.

I forward say from page1 to page 2. I have a javascript function decalred in the head of page 2 which I
call from the body of page2. But I get a javascript function not found error.

Also there are certain texts and buttons that are displayed on page 2 taken from page 1.

What do I need to do so that the page2 does not get any content from page1 and to include the
javascript to call in page2.

Thanks,
D
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

If you don't want the output of both pages, why are you forwarding?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jsp:forward issue