Hi,
Ok so it turned out to be a simple fix. I had not named the servlet (in
web.xml) that same as the access url (war).
Cheers,
Stuart
On 17 Oct 2012, at 10:03, Stuart Broad wrote:
> Hi,
>
> Sorry to keep replying to my own question but I gathered two stack traces
> from each of the calls
Hi,
Sorry to keep replying to my own question but I gathered two stack traces from
each of the calls to init that may be useful:
On startup (and this is the servlet also used by the post):
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at
org.apache
Hi,
I wanted to add that I am accessing the servlet via a javascript request from
Apache HTTP. As such I am setting the following in the header of the POST
response:
resp.setHeader( "Access-Control-Allow-Origin", mAllowedHost );
Just wanted to mention this just in case it had anything
Hi all,
I am not sure why but my servlet init method is getting called more than once
and I am not sure why. Any help would be much appreciated.
My web.xml is as follows:
myserlvet
MyServlet
true
example
value
1