File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 61658
    
  67

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:forward issue