Hi
Use the following method to replace all \n to P
public String replaceAllValues(String stringValue, String oldString, String
replaceString)
{
String temp1;
String temp2;
for(; stringValue.indexOf(oldString) -1; stringValue = temp1 + replaceString
+ temp2)
Hi all,
I have an application running on weblogic 6.1 and I'm getting exceptions
with running out of memory, so I wanted to get a thread dump for the JVM,
and I used kill -3, however I cant find the javacore file that should be
created! Does anyone know where would the thread dump file get created
Hi,
IF you have done a
'kill -3 PID'
than the core dump of the memory will be in a file called 'core' that is
located in
the directory from where the killed process (java) was started.
So if your process was started (just an example) from /usr/bin/... and
you are trying to kill it from
A more elegant way, that requires JDK1.4, would be this:
import java.util.regex.Pattern;
import java.util.regex.Matcher;
public class removeIt {
public static void main(String argv[]) {
String strHtml = this is\nsome\nstring with\nchr's;
Is there any reason you don't want to just do this?:
pre
% for (i =0; i log_message.size(); i ++) { %
p Message: %out.println(log_message.get(i).toString());%
% } %
/pre
ie. just leave the \n in the text but tell the browser that it is preformatted.
-Original Message-
From: hugo
doing a ps -aef | grep java, gives me the following:
si 17621 1 0 09:10:11 pts/0 2:55
/usr/si/si_test1_20/jdk/bin/../bin/PA_RISC2.0/native_threads/ja
so I did a kill -3 17621, and did a find /-name core -print, but nothing was
found! Is there any system setting that needed to be added!?
Thank you so much, Vikram! I really appreciate your quick response.
Fer-
- Original Message -
From: Vikramjit Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 1:02 AM
Subject: Re: Tomcat SSL
-Original Message-
From: Fernando Barsoba (pradaUSA)
to see if the core file is really generated (and it is),
you may simply try the following:
from your shell:
1. in your current dir, do a 'sleep 2'
2. ps -ef|grep sleep
3. kill -3 PID of the 'long' sleep
4. you may find a core file in your current dir...this will be the prove
that the core
On Fri, 25 Oct 2002, Dror Matalon wrote:
You're right, it's sometime easy to forget that Apache's
implementation of the JSTL is just that, an implementation. It's easy
to think of it as The JSTL. I suspect that there are other
implementations. Are any widely used?
I don't believe any others
Does anyone know if Chili!Soft works on the newest versions of Apache?
TIA
Keith E. Kosmicki
Applications Consultant
State of IL Human Services
STL Technology Partners
==To
unsubscribe: mailto [EMAIL PROTECTED] with body:
I am getting the following exception:
2002-10-28 13:56:55 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
java.lang.NullPointerException
at star.DataAccessTag.doAfterBody(DataAccessTag.java:74)
Code is as follows: (exception line red)
package star;
import
I am wanting to display a popup prompt using javascript to get a value, and
then use this value in my JSP page. Is there anyway to do this?
Thanks,
Wesley Choate
Programmer / Analyst
Lavender Wyatt Systems, Inc.
[EMAIL PROTECTED]
5805 West 12th Street
Little Rock, AR 72204
(501)664-7039
Wesley,
Given that Javascript is client-side, and JSP is server side, the only
way to do this would be to submit the information (in a form perhaps)
after the user hits the popup.
On Monday, October 28, 2002, at 10:05 AM, Wesley Choate wrote:
I am wanting to display a popup prompt
On Mon, 28 Oct 2002, Luis A wrote:
I am getting the following exception:
2002-10-28 13:56:55 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
java.lang.NullPointerException
at star.DataAccessTag.doAfterBody(DataAccessTag.java:74)
[...]
public int
Thanks, I have solved it. I have changed my EVAL_BODY_INCLUDE to
EVAL_BODY_BUFFERED and it worked.
Thanks again,
Luis .
- Original Message -
From: Shawn Bayern [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 3:58 PM
Subject: Re: NullPointerException
On Mon, 28
Hi All,
I have a situation in which there is a link displayed to the user, the link is
reference to say some .exe file, that runs in some particluar software, now if the
software
exists on the Clients machine, the appropriate software will run that exe file, but
when the software doesnot
Mittal,
What you are trying to do poses a security problem. If you are not using an
applet, you will not be able to 1) read files on the client machine's hard
disk or 2) run an executatble program on the client machine.
If you choose to use an applet, then you might be able to read and execute
a
As far as I know that specific problem cannot be solved for many
reasons, one of them security. However, a more specific instance might
solve the problem. If for instance the file was a Word Document of
extension .doc; if the user did not have a particular software for
handling that file type,
in freebsd you would type `limits`
in linux you would type `ulimit -a`
as the user that your server runs as
-Original Message-
From: Shahata, Ash [mailto:Ashraf_Shahata;STERCOMM.COM]
Sent: Friday, 25 October 2002 4:25 PM
To: [EMAIL PROTECTED]
Subject: Re: java.io.IOException: Not
Hello all,
May I ask a question?
I have a servlet named FormDispatcher which I include from a JSP like
this:
jsp:include page=servlet/FormDispatcher/abc/def/
What I *want* is for the FormDispatcher servlet to be able to access the
/abc/def path info by calling request.getPathInfo().
When the
20 matches
Mail list logo