No idea what the root cause is, but it sounds like the code you're stepping though, when compiled, does not match what is in the servlet container. Try to delete all temp/work folders and clean, build and redeploy. There's no reason why it wouldn't work as a servlet, so long as you have all the required jar's within the classpath
On Mon, Apr 15, 2013 at 4:58 PM, Edgar Orduña <[email protected]> wrote: > Hi > I have a question, can i use the SimplePublish.java example like a Servlet > from Java? > or the example runs only on console. > > I'm Trying to use the SimplePublish.java like a servlet but in the example > the source code from "try" doesn't run only the source code from "catch" > runs. > > Thanks
