thanks for your inputs BUT if struts could find the "path" then it doesn't show 405 error. rather, it throws exception with "can't find mapping" or something like that.

may be someone can tell me how to enable the struts logging when run within jboss. that will be great help in itself. Without that i can't zero in anywhere.

Navjot Singh


Kommana, Sridhar wrote:

I don't think so it is related with Jboss.
Just check the url in the browser.
If you call your action using link something like   '/ShowReg.do'  you will get 405 
error. because it will take out context root and appends the remaining url.
you need to specify 'ShowReg.do' (don't give forward slash).
are you using absolute url or relative url?


-----Original Message----- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 8:21 AM To: Struts Users Mailing List Subject: http 405 error


hi,

I have deployed my app on Jboss 3.2.3(with Tomcat 4.1.29). Success.

When i try to access http://localhost:8080/myapp/ShowReg.do

It says
HTTP 405 : The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).


No where in web.xml, i ahve declined the access to GET method to any URL.

However, if index.html file and another .jsp file is working.

Can anybody provide any insight how to dig into this? Or better how to turn on the logging for struts when the app is deployed on JBoss?

TIA
Navjot Singh







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to