Chris-Huisman

Greenhorn
+ Follow
since Jan 25, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chris-Huisman

Thanks for the comment, but I reinstalled tomcat and everything is running properly now. Although the error still bothers me. If anyone knows why it occurs, I'm still interested in knowing.
c.
20 years ago
Okay, I did a little more digging, and figured out that catalina.jar is in TOMCAT_HOME/server/lib.
I don't think I should have to (because I've never had to before) put this on my classpath. Tomcat should find it, should it not?
c.
20 years ago
Hello,
I had tomcat up and running on redhat 8.0, now it will not start for some reason. here is the error i get when trying to start it:
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.core.StandardServer
java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

what is catalina.core.StandardServer? I have servlet.jar in TOMCAT_HOME/common/lib. And it was working previously. The only changes I've made are to the servlet.xml file, and that was just to add a new context.
thanks,
c.
20 years ago
So this would be valid then?
<forward name="payment" path="https://mypayment/service.html"/>
c.
20 years ago
<p>
I need to pass information to a payment service site in my struts application. To do this i have to link to another site. I would like to do this via my Action by using a forward of some type. Is this possible? Can I do it with a sendRedirect? How do you "link" to a URL in an Action class?
</p>
<p>
The other option is to put the website address in the forms action parameter, ie: <form action="https://paymentsite.html">. Is there a way to use the struts html form taglib to do this?
</p>
20 years ago
Hello,
Is there any way to set a custom image in the Java Help Browser title bar? I set the <title> tag in the *.hs file, but it doesn't have an image tag.
c.
20 years ago
ok that message didn't come out exactly how I wanted it to. I have typed & h a r r into my web page. This should write out a double arrow ↔, but instead it writes out the & h a r r. & l t and & g t write out < >, why won't & h a r r write out ↔?
c.
20 years ago
Hello,
I am using JEditorPane to display HTML documents in my application. The application reads the html page and sets that as the content of the JEditorPane.
My problem is that I am trying to display a double arrow (&harr using "↔" but instead of displaying the double arrow, it writes out "&harr" to the screen. My content type is set to "text/html", and characters like "<" and ">" print out <, and >. How do I get "&harr" to print a double arrow?
thanks,
c.
20 years ago
My JFrame instantiates a JDialog, which I want to be modal, for that JFrame. When I make the JDialog modal, it does not let me get to it's parent (which is good), but I cannot interact with the JDialog's parents parent either (which is bad).
How do I make a JDialog modal to only it's immediate parent?
Thank you,
c.
21 years ago
Hello,
Can anybody tell me where the errata for the "java 2 web developer certification study guide" by Natalie Levi is located?
Thanks,
c.
Ok, I need to convince certain people who do not know much about java, and only know a little about cold fusion why using java for web applications is better than cold fusion (besides the standard, "cold fusion sucks"). Please inundate me with valid reasons.
thanks,
c.
I like writing J2EE applications in java. I don't know much about cold fusion. How do I convince potential clients who are used to cold fusion to switch to java? Anyone want to help me out here?
thanks,
c.
I am wondering exactly how long a request object lasts for. I am submitting some form data to a servlet. In certain instances the servlet forwards the request to a different servlet, which then goes to another jsp using :
request.getRequestDispatcher("/servlet").forward(request, response);
Do I still have access to all of the request objects parameters/attributes in the second servlet? And if so, can you forward to n servlets and still keep a hold of the request parameters/attributes?
thanks,
C.
Thanks for the help, but the problem was solved by granting all privileges to chris@localhost.localdomain.
c.
Hi,
I have done a:
GRANT ALL PRIVILEGES ON therezworks.* TO chris@localhost IDENTIFIED BY 'some_pass'
but I still see the error.
I don't understand what I'm doing wrong. I am able to connect to mysql using:
mysql -u chris -p
and access all of the tables in my database, but I am not given access when attempting to get to them via a servlet.
c.