Actions are performed WHEN the pipeline is assembled. The generation and
serialization happens AFTER the pipeline is assembled. So, by the time
your generator starts reading the file, both actions have already fired
and the file came and went.
Why not have your win32 process output a file to st
Please, read the recent SQL injection thread: your query is vulnerable.
Use to secure it:
select * from IDM_info
where Info_datum = ##
--
Ilya
Scherler, Thorsten wrote:
Hello Cedric,
So for ODBC Access 97 u have to use ## to narrow the date, right!
because:
select * from IDM_in
If you want to redirect the browser to a new URL after the
pipeline has been constructed and the generation has (possibly)
started, you can do that by outputting the tag in the
output HTML.
or
http://some.com/other/url"/>
"0" means no delay.
--
Ilya
Artur Bialecki wrote:
Witold,
First of al
Search the mailing list archives for SQL injection - your page is
vulnerable.
Use in your query.
I don't see a closing '>' on the tag in the beginning of the
file. I would have expected it to give you a different error, though.
Your problem is coming from the last in the file:
String Prov
Wow. Sounds like a lot of frustration to me. Here's a freebie on 4):
http://outerthought.net/wiki/Wiki.jsp?page=FileUploadWithAction
That's if you want to do it in an action. If you want to do it in anXSP
page,
use the same code that is used in the Action. Namely:
FilePartFile filePartFile = (F
J.Pietschmann wrote:
document() is good for rapid prototyping, but is a poor choice for final
deployment for performance reasons. Use aggregation instead.
The Cocoon developers recommend to use aggregation or xinclude
because of SoC (XSLT is for transforming, not for aggregating
content). I'd a
SAXESS - Hussayn Dabbous wrote:
But you also could do it directly within the xslt context:
You can use the document() function in your XSLT-file.
This function allows you to refer to data contained within
another XML-file. This is completely decoupled from cocoon
though. It's more about how to w
I'm pretty sure it is an XSP feature, but is possibly a documentation bug.
The feature allows you to, for example, declare instance variables or
declare instance or static methods to be used in the body of the XSP.
Wouldn't you agree?
I'm actually using it in some of my XSP pages, so please don'
Try putting a document tag around all of your content and logic.
I.e.:
=
http://apache.org/xsp";>
String keyword = request.getParameter("value");
The 'value' parameter was: keyword
==
I do not see the need for it to be an applet, though.
There is nothing there that [D]HTML couldn't do.
But why make it simple? ;-)
--
Ilya
Tony Collen wrote:
[EMAIL PROTECTED] wrote:
doesn't look like an applet to me. It's ASP with HTML forms. Ain't I
right?
I tried the second application me
I am running Tomcat 3.3 on Win2k, and a recent snapshot of Cocoon
from the HEAD of CVS. I am periodically having the same problems
whereby Tomcat is running out of memory when either Tomcat or
Cocoon are reloading some stuff.
Is it possible that some cache collections are not being cleared?
Also
[EMAIL PROTECTED] wrote:
>Should I modify the tomcat.bat?
>I would prefer to modify the startup.bat! But what is the command in this case?
>
>I have also tried to add a "CATALINA_OPTS" environment variable with the value
>"-Dhttp.proxyHost=http://proxy.blabla.com -Dhttp.proxyPort=8080" but that
This seems to be the magic key -- a JVM 1.4 option to enable headless AWT:
-Djava.awt.headless=true
Ilya A. Kriveshko wrote:
>
> Headless support is now enabled by new graphics
> environment methods that indicate whether a display, keyboard, and
> mouse can be su
Headless support is now enabled by new graphics
environment methods that indicate whether a display, keyboard, and
mouse can be supported in a graphics environment.
I wonder what they are talking about? Are you sure it doesn't work as is
with JDK 1.4?
Read more at:
http://java.sun.com
I am using xslide - a major mode for Emacs (or XEmacs in my case.)
It does all the syntax highlighting you'd ever want, auto-completion,
templates, indentation, etc. It also can invoke an XSLT process so you
can view the results. Highly customizable, too, if you are into it.
http://www.xemacs.org
gv wrote:
>Joerg Heinicke wrote:
>
>I've read some of the other responses, and so far, it
>looks like there probably isn't an easy or standard
>way that this can be done. I think it'd be a useful
>addition to XSP/ESQL; seems to me that there should be
>a way to produce *any* kind of well-form
Hi,
I can tell you what in my opinion should work, but at least in the
version of Cocoon that I have on my system it doesn't. It would be great
if one of the developers commented on this approach, why it doesn't work
and how to possibly make it work.
Here's the XSP snippet that I think should
Alternatively, use [snip...] or
have the following in your
Ganael LAPLANCHE wrote:
>Hi Vadim,
>
>I've got a very stupid question : what is a "processing instruction" ???
>
>
The tags at the beginning of the XML file that start with ''. Like:
or
-
Please check that your quest
You should match "**.class". Not using ** definitely will not let you
access .class files in sub-directories, and may simply be covering
another problem with accessing the jar.
After you re-enable "**.class" matching, attempt to access your jar by
typing in its URL in the browser. Then, try t
Do you have the pipeline for the jar?
--
Ilya
Gabor Bartha wrote:
> It doesn't work.
> A few classes are in the jar, the others are beside the jar in the
> proper directories (as they are in the packages).
> During the running of the applet every class is loaded by the
> Class.forName(), ... m
Can't be sure, but just recently I spent some time tracking down what
was causing a similar NPE.
Turned out I typed instead of
. Clearly, it is an error on my part,
but the NullPointerException isn't exactly what I would have expected
to get.
It might be worthwhile for you to check if you
You are trying to use JSP approach to writing XSP document.
Use the following syntax for dynamic attributes instead:
for (int count=0;count < 25;count++){
count*13+40
};
--
Ilya
Sanne de Roever wrote:
> Hi,
>
> I've managed to make some svg's with xsp: which is pret
I prefer the "search".equals()
form, since it will never throw a NullPointerException.
The reason ``=='' doesn't work is because ``=='' is identity, not
equality check. It will only return true if the two operands are the
same object, not two different objects having the same value.
2c
--
Ily
2002-09-04 at 13:44, Ilya A. Kriveshko wrote:
Don't forget that the XML that is produced by the transformation also
has to be well-formed. It is possible that your source XML and XSL are
well-formed but the output XML isn't. Make sure that you don't produce
several root ta
Don't forget that the XML that is produced by the transformation also
has to be well-formed. It is possible that your source XML and XSL are
well-formed but the output XML isn't. Make sure that you don't produce
several root tags in the output and that you don't output plain
character data bef
Don't forget that the amount of memory your Java application uses at any
given moment is not necessarily how much it needs. Instead of occasional
memory leaks which happened to sloppy C++ programmers, in Java
everything is a memory leak, but there is a recovery mechanism. So, if
you let your J
If running two queries is not out of the question for some principal
reasons, I'd suggest the following:
Run a query with LIMIT 1, 1. That query will return results ONLY if
there are two or more rows that match.
Then run your second query both inside the
and inside
.
I would suggest using
28 matches
Mail list logo