GeeCON Prague 2014*
The moose likes Spring and the fly likes Facing issue with Dispatcher servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Facing issue with Dispatcher servlet" Watch "Facing issue with Dispatcher servlet" New topic
Author

Facing issue with Dispatcher servlet

rajesh ma
Greenhorn

Joined: Apr 08, 2013
Posts: 5
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

Joined: Nov 17, 2012
Posts: 45
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

Joined: Apr 08, 2013
Posts: 5
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
 
GeeCON Prague 2014
 
subject: Facing issue with Dispatcher servlet