aspose file tools*
The moose likes Servlets and the fly likes URL Pattern Not recongonized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "URL Pattern Not recongonized" Watch "URL Pattern Not recongonized" New topic
Author

URL Pattern Not recongonized

pradeep chellappan
Greenhorn

Joined: Oct 20, 2005
Posts: 26
Hi ,

I am using a Client proprietary MVC framework to build my webapplication.

Issue:

The Http request sent from the client is not hitting the server and i am getting standard 404 File not found Error while clicking the submit button in my launch page. The Url that is generated upon submitting the request from launchpage.html is something like:

http://localhost:9080/<Webapp-Context Root Name>/execute.do?param1=value1¶m2=value2


I have the following in my web.xml and nothing else.

<servlet>
<servlet-name>someservlet</servlet-name>
<servlet-class>dummyservlet</servlet-class> //assume that dummyservlet is the front controller serlvet
<servlet>
<servlet-mapping>
<servlet-name>someservlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

I have cross checked that atleast my WAR structure is fine. My web applicaiton has the following structure

sampleapplicationweb
javasource
webcontent
META-INF
WEB-INF
lib
web.xml
jsps
launchpage.html

I am using IBM RSA6.0 So, websphere is my Application server. I have done many examples like this in the past,but unable to figure out why the request is not hitting the server for this particular one.

Please let me know what could be the reason for this scenario to occur. What have i done wrong.

Thanks in Advance!

raminjavac
luke yu
Greenhorn

Joined: Oct 20, 2008
Posts: 8
I think it's difficult to debug without log
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL Pattern Not recongonized