-
1. Re: Problem visualizing the process image
jgerlach Aug 2, 2005 12:23 PM (in response to isellakuria)Are you seeing anything?
I had a problem where my source code was visible by right-click view source, but nothing was rendered in the browser.
I found that I had a problem in my jsp. I was using doctype xhtml-transitional but my output was not valid xhtml.
Hope that helps.
James -
2. Re: Problem visualizing the process image
isellakuria Aug 3, 2005 7:19 PM (in response to isellakuria)Hi!I can't see the jbpm:processimage tag if click "View Source" I just see
</td><td valign="top"> </td><td valign="top"> </td>
I should see the tag inside the second td element but it doesn't show it...Any ideas???
Thanks,
Igor. -
3. Re: Problem visualizing the process image
jgerlach Aug 4, 2005 11:47 AM (in response to isellakuria)Does your web.xml have the fileservlet setup? Something similar to:
<!-- jBPM FileServlet --> <servlet> <servlet-name>ProcessImageServlet</servlet-name> <servlet-class>org.jbpm.webapp.servlet.ProcessImageServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>ProcessImageServlet</servlet-name> <url-pattern>/processimage</url-pattern> </servlet-mapping>
-
4. Re: Problem visualizing the process image
isellakuria Aug 4, 2005 1:43 PM (in response to isellakuria)Yeah, I have that exact entry in the web.xml...
-
5. Re: Problem visualizing the process image
isellakuria Aug 8, 2005 12:16 PM (in response to isellakuria)Hi!I still can get the process image when I execute my process. By default in the web.xml the ProcessImageServlet is mapped to the url-pattern /processimage. This means that every page under that directory should call the servlet, doesn't it? I don't undersand how this works with the ProcessImageTag.java...Anyway, I cannot display the process image and I don't understand how the servlet works together with the tag definition, any help?
Thanks,
Igor. -
6. Re: Problem visualizing the process image
isellakuria Aug 9, 2005 3:43 AM (in response to isellakuria)I can't understand the web.xml provided in jbpm3.0...There are two entries I don't understand:
<!-- jBPM SchedulerServlet --> <servlet> <servlet-name>SchedulerServlet</servlet-name> <servlet-class>org.jbpm.scheduler.impl.SchedulerServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>SchedulerServlet</servlet-name> <url-pattern>/scheduler</url-pattern> </servlet-mapping> <!-- jBPM FileServlet--> <servlet> <servlet-name>ProcessImageServlet</servlet-name> <servlet-class>org.jbpm.webapp.servlet.ProcessImageServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>ProcessImageServlet</servlet-name> <url-pattern>/processimage</url-pattern> </servlet-mapping>
The two entries in red mean that the servlet will be executed whenever the webapp executes a page under /scheduler or /processimage folders, isn't it? But where are these two folders?
Another thing, why is the faces folder referenced in the web.xml and in the index.jsp if it doesn't exist? I think I should learn a bit of jsf but I've been reading some doc and still cannot understand these things? Can anybody help please?
Regards,
Igor.