File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request to JSP page

 
praveen raaj
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

How to stop the request to Jsp?
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
putting it in the WEB-INF folder is the simplest way .

avi sinha
 
Aditya Keyal
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to stop the access to a jsp resource directly then Yes putting in web-inf is the easiest solution.

Of you want to stop access to a jsp based on some input/authentication criteria then using a filter is a preferred solution.

If your doubt is still not answered just elaborate the problem definition.
 
swapnl patil
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Aditya is right. Use filter where you can check particular information & based on the result you forward request to your JSP or forward somewhere else according to your need.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aditya Keyal wrote:Yes putting in web-inf is the easiest solution.

WEB-INF, not web-inf.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic