Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:forward absolute context  RSS feed

Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the jsp syntax reference at 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?
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!