Hi,
I am having trouble inserting and retrieving Asian characters in my
MySQL DB using PreparedStatement. I have set up my table thus:
CREATE TABLE `messages` (
`id` int(10) unsigned NOT NULL auto_increment,
`message_body` text NOT NULL,
`sender_number` text NOT NULL,
`shortcode`
Hi,
A should-be easy one - I do not wish to define an absolute path
to a File as it will packaged in a JAR, therefore its path will change.
How do I construct a File relative to my src root, something like File
file = new File(/path/myFile.xml);? I tried passing in a URL, URI but
am
Hi All,
I have a socket receiving streams of XML. I receive an InputStream,
but short of a dirty hack, do not know when (or how) I pass the
stream/contents to be parsed. Any thoughts/resources on parsing streaming
XML please?
Thanks
Paul.
for your JDK as well.
Hope it helps,
Wade
--- Chris Lamprecht [EMAIL PROTECTED] wrote:
See XmlPull:
http://www.xmlpull.org/
On 8/15/05, Paul Wallace [EMAIL PROTECTED]
wrote:
Hi All,
I have a socket receiving streams of XML. I
receive an InputStream,
but short of a dirty hack, do
? How does
one push data, than than have it requested? Can anyone point me towards a
resource of this nature please? I understand sockets are in the picture -
also new to me.
Thanks
Paul.
Paul Wallace BSc Hons.
IPTV Specialist
Two Way TV Australia
Level 3, City West Centre
55 Pyrmont Bridge Road
Hi,
How might I request a series of checkboxes that all share the
same name? E.g:
form
input type=checkbox name=myCheck value=01
input type=checkbox name=myCheck value=02
input type=checkbox name=myCheck value=03
/form
I understand in VB something called a control array exists, that
Hi all,
A simple one for most..how do I enforce a double primitive
format? E.g 00.00, or to enforce 2 and only 2 decimal points?
Thanks
Paul.
Obviously I am, I now have a value with approx 30 decimal points. What
method formats to ii.dd ?
Paul.
BigDecimal?
Or am I on drugs?
-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 2 September 2003 2:23 PM
To: [EMAIL PROTECTED]
Subject: double format
, BigDecimal.ROUND_HALF_DOWN);
Or something...
-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 2 September 2003 2:46 PM
To: Tomcat Developers List
Subject: RE: double format
Obviously I am, I now have a value with approx 30 decimal points. What
method formats to ii.dd
are ending your
application
Filip
-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 9:01 PM
To: Tomcat Developers List
Subject: window close session invalidate
Dear all,
May someone enlighten me on why my session is being invalidated
OK, Thanks for that.
An interesting note however..after some testing, the session is not killed
when run from another terminal i.e running the same instance of TC (same server) but
from different terminals. That would suggest it is an IE configuration issue (at much
annoyance to
-Original Message-
From: Paul Wallace
Sent: Thursday, 7 August 2003 9:20 AM
To: Tomcat Developers List
Subject: RE: window close session invalidate
OK, Thanks for that.
An interesting note however..after some testing, the session is not killed
when run from another terminal
that you are ending your
application
Filip
-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 9:01 PM
To: Tomcat Developers List
Subject: window close session invalidate
Dear all,
May someone enlighten me on why my session is being
Dear all,
May someone enlighten me on why my session is being invalidated
when I close a browser window? I am doing this in one of two ways - the
application close icon on the top right of the window, or a simple:
a href=javascript:window.close();CLOSE/a
Does anyone have any experience
Hello All,
A simple one? I have my session defined in a servlet thus:
HttpSession session = req.getSession();
session.setAttribute(userSession, h); // (h = HashMap)
how or where do define session parameters such as expiry? I would
ideally like my session to die when I call a
Hello,
Can someone please tell me how to configure (I am assuming it is
a configuration issue) TC such that my servlets do not insist on
persisting. Even when I clear IE history, delete temporary Internet
files, cookies, delete the class its self! I literally removed the
servlet class and
-
From: Paul Wallace [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 11:21 AM
Subject: redirect from Servlet
Hello,
I have a packaged servlet (com.mypackage.servlets;) in
WEB-INF\classes\com\mypackage\servlets, where it performs its logic
Hello,
I have a packaged servlet (com.mypackage.servlets;) in
WEB-INF\classes\com\mypackage\servlets, where it performs its logic
dutifully. From the servlet I wish to redirect back to the JSP that
called it. Currently the JSP origin cannot be found (404). I have tried
all manner of variations
Hi,
I wish to retrieve / store values of multiple checkboxes checked in the
previous page. The problem here is I dont know how many boxes (a dynamic
amount of them is output), and the checkboxes must have the same name. I
wish to do something similar to Hotmail where I check an amount of
Hello,
I don't know where I heard it, or if indeed I heard it all, but can
someone clarify if Tomcat can be used in industrial strength web
applications? That is, is it able to handle for example, traffic of 100 hits
p/s? Must it be integrated with the Apache web server to make it so? Where
What is MinTC? Where can I get information on it?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I would like to use Tomcat to run my JSP, with Apache serving the HTML
output. How may I configure Tomcat and Apache to acheive this please?
Perhaps I may be directed toward / emailed an appropriate document where I
can find out how to do this.
Currently, I have Tomcat 4.0, Apache
Hi,
For the brave, can anyone guess why with this rather unsociable code:
if ((res.getString(3) == null) || (res.getString(3) == )) {
out.println(tda href=takeDetails.jsp?timeSlot= +
res.getString(2) + myDate= + myDate + + res.getString(2) +
/a/td);
}
if ((res.getString(3) !=
Hello Everyone,
Similar to a previous posting, I have some code to make a cookie:
Cookie cook = new Cookie(memberCookie, userid);
cook.setPath(/mydir);
response.addCookie(cook);
and to retreive the cookie:
Cookie cookies[] = request.getCookies();
for(int i = 0; i cookies.length; i++) {
Hi, a have a JSP page to setup a cookie (Tomcat server):
cook = new Cookie(memberCookie, userid);
cook.setPath(c:/Program Files/jakarta-tomcat-4.0/webapps/mydir/login/);
response.addCookie(cook);
response.sendRedirect(http://myhost/somelocation/mydir/bookings/enterDate.j
sp);
and the page to
25 matches
Mail list logo