In XSP, is it possible to include either an XML file or the
XML output of another XSP file into an XSP document
Eg if I wanted to
include the XML
?xml
version=1.0 encoding=UTF-8?
navigation
item link=blah text=blah/
/navigation
into my XSP
document
?xml
version=1.0
I am trying to retrieve a string from the database an place
it into a variable (should be simple I know)
However I am getting a compilation error
I am trying to insert the string value correctly?
String myString = null;
esql:connectionesql:poolautorevs_pool/esql:pool
Hi,
Im trying to insert xml into my xsp, this xml is for navigation
purposes so ideally I would like to use one navigation file in many
different xsp documents.
I have looked at the mail archive to find out the details about this but
I cant seam to get it to work!
My example is below:
?xml
.
-- Robert
- Original Message -
From: Leszek Gawron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 10:33 PM
Subject: Re: xsp util and file contents
On wto, lut 11, 2003 at 09:13:08 -, Tom Place wrote:
Hi,
I'm trying to insert xml into my xsp, this xml
!
If anyone can spot the error it would be most appreciated however as I
say this has been copied CLOSELY from a textbook so I'm at a loss
Cheers
Tom Place
-
Please check that your question has not already been answered
Apologies for the simplicity of this request however I can
find any documentation on this.
How do I include an XSP document at a fixed point in
another?
I think its got something to do with xsp:include however Im not sure . .
Cheers
Tom Place
-results
/esql:execute-query
/esql:connection
}
Any help greatly appreciated
Thanks
Tom Place
-
Please check that your question has not already been answered in the
FAQ before posting. http
}
Any help greatly appreciated
Thanks
Tom Place
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To unsubscribe, e-mail: [EMAIL
that string through xsp:expr tags. But this leads to a
nullPointerException.
I think that either I am being really dim with this or some powers that
I can't control are at work here!
Thanks for everyone's help so far
Tom Place
;
The check again the Java code. It is a interesting error. What version
are
you using?
Regards,
Antonio Gallardo.
Tom Place dijo:
After searching the created Java file (apologies for my earlier
mistake), the request helper is the only place it could be trying to
set
the variable
-session : Bug with Cocoon? or Bug with programmer?
What version of cocoon are you using?
Geoff
--- Tom Place [EMAIL PROTECTED] wrote:
After searching the created Java file (apologies
for my earlier
mistake), the request helper is the only place it
could be trying to set
the variable
sionAttribute(XSPRequestHelper.java:454)
Anyone come across this before?
I am using Cocoon 2.03 running on Tomcat 4.1.12
Cheers
Tom Place
-
Please check that your question has not already been answered in the
FAQ
Hi all,
Apologies for the relatively low level of this email but someone out
there must be able to answer in 1 min what I have been failing to do for
days now.
This simple XSP file:
?xml version=1.0?
xsp:page
xmlns:xsp=http://apache.org/xsp;
Hi all,
Quick question to do with the way the cocoon SQL parser copes with
multiple SQL statements.
There is probably a very quick fix for this but I'm tearing my hair out
trying to find it!
When inserting using and SQL statement based in XSL like so:
execute-query
/cocoon/SQL/2.0;
query
insert into my_table (Col1, Col2) values ('2', '3')
/query
/execute-query
I suppose you've already try this... then, what's the error you get ?
Best regards,
Luca Morandini
[EMAIL PROTECTED]
-Messaggio originale-
Da: Tom Place [mailto:psyttrp
[EMAIL PROTECTED]
-Messaggio originale-
Da: Tom Place [mailto:psyttrp;nottingham.ac.uk]
Inviato: lunedì 28 ottobre 2002 15.38
A: [EMAIL PROTECTED]
Oggetto: RE: Cocoon SQL Transformation
I have tried it like you say however am still getting an internal
server
error
OK the actual XML that is going into the failing XSL is as follows:
user
detail
nametomplace/name
passwordtom/password
firsttom/first
lastplace/last
/detail
existing-user
rowset /
/existing-user
/user
The fact that the existing user rowset is empty is a good
(PoolTcpEndpoint.java:50
8)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:533)
at java.lang.Thread.run(Thread.java:479)
Any help most appreciated - again apologies if I am being thick!
Thanks
Tom Place
18 matches
Mail list logo