Am 30.10.2011 18:35, schrieb Andre Juffer:
Hi,
for processing a multipart/form-data request holding image data, I
intend to use the commons imageupload [1]. In order to do so, I need
to get access to the javax.servlet.http.HttpServletRequest object
inside a REST resource. The @Context
Am 31.10.2011 11:29, schrieb Andre Juffer:
Steven,
thanks for the reply.
The purpose of the request is to upload an image file. With commons
fileupload this is straightforward, but it requires direct access to
HttpServletRequest. I did understand that HttpServletRequest is an
interface of
, the ImageResource.
Thanks for your help,
André
On 10/31/2011 12:40 PM, Steven Dolg wrote:
Am 31.10.2011 11:29, schrieb Andre Juffer:
Steven,
thanks for the reply.
The purpose of the request is to upload an image file. With commons
fileupload this is straightforward, but it requires direct
Am 05.10.2011 14:24, schrieb Marzia Forli:
Thank you very much Steven,
Right now I constructed the 'hello world' stax pipeline and began to examine
the mentioned 'ExampleComplexTransformer' and slowly bending my head around
this whole stuff ;-)
Correct me if I am wrong but stax and sax
Am 05.10.2011 00:08, schrieb Marzia Forli:
I am a xml processing newbie, who have to read-transform-write some pretty big
xml files, and in my journey to the jaxp land I stumbled upon this wonderful
library... Here I ask for some kind advice regarding the my problem. For my
case let's imagine
Am 12.07.2011 10:39, schrieb Francesco Chicchiriccò:
On 11/07/2011 23:25, Lars Huttar wrote:
Robby,
Thanks for your reply.
It's nice to see another instance of the conditional and error-handling
sitemap structures.
However we still have a contradiction with section 2.1.1 of the
documentation
Am 19.05.2011 15:49, schrieb JeVeoy:
I'm using Cocoon 2.2
Case
I would like to merge 2 images in PNG format on the server (buffered image)
and then send the result back as a stream. Thus NOT saving the image on the
server.
As an example you could have a nice background picture of a field. The
Am 27.04.2011 10:41, schrieb Robin Taylor:
Hi Thorsten,
Thanks again and apologies for drip-feeding the questions.
In the code I'm looking at it appears the second pipeline has an empty
map:generate ie.map:generate/. I assume this results in the second
pipeline using the output from the first
Hi,
no, there is no further caching setting you could use and there should
be no caching with the configuration you described.
However, after looking at some code I found this in the XSLTTransformer:
private void loadXSLT(final URL source, final MapString, Object attributes)
{
if
Hugh Sparks schrieb:
Is there a way for a C3 webapp to notice and deal with
changes to sitemap.xmap? In cocoon22, it was possible to
specify this behavior using a property:
WEB-INF/cocoon/properties/core.properties:
org.apache.cocoon.reloading.sitemap=true
This doesn't seem to have any
Hugh Sparks schrieb:
Starting with the cocoon-sample-webapp as a model,
I'm trying to make this construct work:
webapp:
index.html
sitemap.xmap
WEB-INF/
applicationContext.xml
log4j.xml
web.xml
lib/
...
applicationContext.xml:
...
Steven Dolg schrieb:
Hugh Sparks schrieb:
Starting with the cocoon-sample-webapp as a model,
I'm trying to make this construct work:
webapp:
index.html
sitemap.xmap
WEB-INF/
applicationContext.xml
log4j.xml
web.xml
lib
Johannes Lichtenberger schrieb:
Hm I checked out a new empty cocoon3 block with maven, copied the source
codes and now the exceptions jetty throwed disappeared, but it still
doesn't execute:
public void execute() {
try {
System.out.println(blaa);
So blaaa is never printed
Reinhard Pötz schrieb:
Johannes Lichtenberger wrote:
Hello,
is it even possible to generate threads for instance in a generator? I
assume the SAX events generated wouldn't be in the right order at the
following transformer.
yes, it's your responsibility to take care of the right
Johannes Lichtenberger schrieb:
Hello,
I'm still trying to catch errors with my logger, now I've even tried the
following:
static {
GoogleEarthGenerator.class.getResource(rcl-config/WEB-INF/log4j.xml);
}
/** Logger (commons-logging). */
private Log logger =
Reinhard Pötz schrieb:
Thomas Markus wrote:
i missed the aop part
it would be great to move all servlet independent parts outside of
cocoon-servlet (CallStack ...), maybe to cocoon-pipeline
currently i cant use cocoon-servlet as dependency (and dont want).
Jos Snellings schrieb:
Hi!
At the end of RESTController I get:
2009-12-04 14:57:26,014 ERROR http-8080-Processor20
org.apache.cocoon.sitemap.InvocationImpl/handle-errors - Error while
executing the sitemap. [request-uri=/editor/put/definition/1124]
java.lang.NullPointerException
at
Jos Snellings schrieb:
If I understand you well, your assignment is to:
* catch a get URL emitted by Google Earch
* this url contains coordinates
* on the basis of these coordinates you lookup things in an XML file.
Here's my advice: forget about the RESTController and just write a
generator,
Javier Rodriguez (genaker) schrieb:
Hi,
I need to implement a transcoding of images (resolution and format) for
an application based in cocoon. Theses images are taken from an URL. I
am thinking in several solutions but I don't know witch is the most
appropriate:
1. Implement the transcoding
zzkumar schrieb:
Hi All,
Hi,
I am new to Cocoon. We are planning to use Cocoon for report generation (XML
+ excel template passed through Cocoon = Excel file with values filled in).
I am able to generate the report when I deploy the cocoon as a web app.
Now the issue is, I want to integrate
zzkumar schrieb:
Hi All,
I am new to Cocoon. We are planning to use Cocoon for report generation (XML
+ excel template passed through Cocoon = Excel file with values filled in).
I am able to generate the report when I deploy the cocoon as a web app.
Now the issue is, I want to integrate cocoon
Mansour Al Akeel schrieb:
For some reasons {0} is matching only the digits, because 1 is empty
always !
map:match type=regexp pattern=(\**)([0-9])$
..
map:transform src=transform.xsl
map:parameter name=href value={1}/
map:parameter
Mansour Al Akeel schrieb:
On Tue Jun 02,2009 10:34 am, Steven Dolg wrote:
Mansour Al Akeel schrieb:
For some reasons {0} is matching only the digits, because 1 is empty
always !
map:match type=regexp pattern=(\**)([0-9])$
..
map:transform src=transform.xsl
Robby Pelssers schrieb:
Hi all,
I’ve been trying for quite some time to get a simple unit test working
for a cocoon 3-block where I’m also using the
‘cocoon-spring-configurator’. I added the files involved because I
have no clue if this is a configuration problem somehow giving me the
Robby Pelssers schrieb:
Hi all,
Taking a quick look at the cocoon 3 sample I noticed that the
“transformer-pipeline” and “serializer-pipeline” are sort of the same
except for myParam which get’s another value.
I noticed as well that I can’t leave out the map:serialize
type=”xml”/ from the
Hello Nils,
I'm afraid there is currently no support for accessing URLs that require
authentication.
While I think this is a feature all components should have, it will take
some time to add this and you'd have to wait for the next release or
change to the trunk in order to use it.
A faster
Nils Preusker schrieb:
Hi Steven,
thanks for your reply, I created a new XSLTTransformer for now, based
on the code you suggested in your mail. Since we're talking feature
requests, I think it would also make sense to provide a
PipelineComponent that allows to access XML documents through
27 matches
Mail list logo