Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Facing issue with Dispatcher servlet

 
rajesh ma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a simple spring application. The basic implementation is, my app will accept the url's .I have a configuration for dispatcher servlet in web.xml. From there the request is handed over to url handler mapping which maps the url to a controller which is configured in application-web.xml. Normal scenarios it works fine




But for one particular url I am facing issue.
localhost:7001//..................../etc1/passwd

For the above mentioned url, dispatcher servlet is not able to map it to the controller, so because of this request stuck in weblogic level and thread will be stuck. dispatcher servlet provided by spring is not mapping the request to a controller.
How to overgo through this situation?Is there any way to play with the above kind of url's. I tried with both spring 2 ang spring3 web mvc jars.


 
Ayan mallick
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think due to security reason access to this url is restricted. check this.
because fro this particular url pattern i am in log i am getting this warning and access is denied.




Regards

Ayan



 
rajesh ma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Ayan, thanks for your reply. But I am facing the issue with the below mentioned url also localhost:7001/Sample//.............. where there is no /etc/passwd
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic