• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:forward absolute context  RSS feed

Jacob Fenwick
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the jsp syntax reference at http://java.sun.com/products/jsp/syntax/1.2/syntaxref1212.html is says:

The <jsp:forward> element forwards the request object containing the client request information from one JSP page to another resource. The target resource can be an HTML file, another JSP page, or a servlet, as long as it is in the same application context as the forwarding JSP page. The lines in the source JSP page after the <jsp:forward> element are not processed.

My question is, what is an application context, contrasted against a servlet context? Is there a reference page that explains this difference?
The reason I want to know is I ran into a problem. I tried something like:
I expected this would work, as I thought that the application context and the serlvet context might be the same. But they seem to not be. Can someone explain this to me?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!