Re: javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Net Dawg
Indeed.  Good riddance ;-).  Thanks Thiago.  On Tuesday, July 29, 2014 7:59 AM, Thiago H de Paula Figueiredo wrote: On Tue, 29 Jul 2014 14:38:07 -0300, Net Dawg   wrote: >  >    orgs >    org.apache.tapestry.ApplicationServlet >    1 >  Remove this and the problem will vanish. T

Re: javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 Jul 2014 14:38:07 -0300, Net Dawg wrote: orgs org.apache.tapestry.ApplicationServlet 1 Remove this and the problem will vanish. That's how you configured Tapestry 4, not 5, in web.xml. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Net Dawg
http://java.sun.com/dtd/web-app_2_3.dtd";>     project Tapestry 5 Application         tapestry.app-package     org.ideademo.project             tapestry.development-modules         org.ideademo.project.services.DevelopmentModule                 tapestry.qa-m

Re: javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Thiago H de Paula Figueiredo
What's your web.xml? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: u

Re: javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Net Dawg
Running Jetty 6.1.26 2014-07-29 07:09:45.044:INFO::Logging to STDERR via org.mortbay.log.StdErrLog ParentLoaderPriority enabled Context path:/project ProjectClassLoader: entry=C:\jwork\project\target\classes ProjectClassLoader: entry=C:\Users\netdawg\.m2\repository\javax\inject\javax.inject\1\java

Re: javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 Jul 2014 05:43:00 -0300, Net Dawg wrote: when I run mvn jetty:run, I get this:javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet Full stack trace please. Anyway, you seem to have misstyped something in your web.xml, as there's no ApplicationServlet in T

Re: Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 Jul 2014 05:38:14 -0300, Net Dawg wrote: How about question #2? Resetting the streaming behavior? After streaming once, the page is stuck in streaming mode, does not do any HTML anymore. Again, in HTTP, one request, one response. Just make sure in your code you're always r

javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet

2014-07-29 Thread Net Dawg
when I run mvn jetty:run, I get this:  javax.servlet.UnavailableException: org.apache.tapestry.ApplicationServlet I am hoping this is a simple fix in pom.xml or web.xml.  Thanks.

Re: Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Net Dawg
Thanks, Lance.  So problem #1 is probably best solved by rendering a whole new page, just have to pass/share/persist the request parameters.  How about question #2?  Resetting the streaming behavior?  After streaming once, the page is stuck in streaming mode, does not do any HTML anymore. 

Re: Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Lance Java
What you're asking for is not possible with the http protocol. You can only have one response per request. You could achieve the behaviour you want by returning an html page response from the event. When the page loads, it uses window.open(...) to send a second request for the pdf in another windo

Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Net Dawg
Hi I followed the instruction per below: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF However, 1) I would like HTML version to be rendering (in parallel with streaming) 2) subsequent reloads should render HTML, not stream unless requested. Basically, how would the s