diana_brit

Greenhorn
+ Follow
since Jun 19, 2004
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 diana_brit

Hi
You need to open the firewall outgoing port 8080 for outgoing, that will make the firewall to allow the sites to open using the port 8080.
14 years ago
Dear All,
I have a web application running with Tomcat 4.1 and DOM parser to parse XML files. Recently we did some Sybase driver update and it causes some issues with the site. The site is not processing the incoming XML's and it will hang the application to process the XML, usually it takes 2minutes to process an XML and currently the processing time is more than 20minutes and sometimes it requires an tomcat server restart. Also the XML's created by the Server is not able to process by the clients. I doubted Sybase driver update causes some changes in parsing the XML. Please let me know how i can fix the issues.

Many Thanks
Diana
Dear All,
I have a web application running in Tomcat Server with SQL-SERVER Database, recently we did some Sybase driver update and it stops all the other process after the update. I am getting the following error on my tomcat logs, Please help me how to resolve the issue....

Tomcat Log:
Created catalinaLoader in: C:\Program Files\Apache\Tomcat 4.1\server\lib
Feb 14, 2006 3:26:40 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Feb 14, 2006 3:26:43 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Feb 14, 2006 3:26:43 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Feb 14, 2006 3:26:45 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Could not retrieve necessary codes from database.
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause:
java.lang.NullPointerException
at com.jnetdirect.jsql.e.a(Unknown Source)
at com.jnetdirect.jsql.JSQLDriver.acceptsURL(Unknown Source)
at java.sql.DriverManager.getDriver(Unknown Source)
at org.apache.commons.dbcp.BasicDataSource.

Many Thanks
Diana
14 years ago
Dear All,
I can i detect the IP Address of a machine using JavaScript. Is there any methods available in JavaScript.

Please let me know.

Thanks
Diana
Dear All

I am using
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;

parsers from my java application to parse xml documents from a xml file. I am able to read xml data's from an xml element using NodeList

for example
if i am parsing an element which has the following data
<sampleData>This is a sample to test parsing xml document from a xml file, which helps to identify document elements and get the text of the element in java application </sampleData>

this is working fine, it read the values of sampleData and able to read from my java application..

But i have a scenario that <sampleData> text will also contain html documents.

<sampleData> <p>This is a sample to test <u>parsing xml document</u> from a xml file</p>, which helps to identify document elements and get the text of the element in <b>java application>/b> </sampleData>

this cause the parser to read the inner html tags as child elements, can you tell is there any ways to read the values without parsing as child elements.

But my requirement is, i need the data of a element either in html tag or text.
so the value should return as
<p>This is a sample to test <u>parsing xml document</u> from a xml file</p>, which helps to identify document elements and get the text of the element in <b>java application>/b>

Please let me know

with love
diana
There is no server side javascript. Scripting is always client side. Use scriptlet for server side scripting
Hello All,
I have loaded a word document inside a iframe.When i click a button on the page a span will popup over the iframe and the word document disappears and after closing the popup word will appear immediately. if the iframe load a .txt document i am not getting this issue. this issue is occuring only in the case of word document.
Please some one advice how to avoid this issue when a span/div load over an iframe?

Thanks in advance
Diana
[ April 07, 2005: Message edited by: diana_brit ]
Hi All,

I have a iframe loading an .doc in its src. how can i identify when the iframe is clicked by the user.

Snippet
-------
Is there any chance to get the ContextPath of a servlet request in JS?
Please reply.

Thanks
Diana
Hi
I have 4 radio buttons inside a alert window, I need to get the selected radio value. could anyone please help me to read the selected radio input inside the alert.


Thanks
Diana
Hi All,

I'm using window.showModalDialog() to create some modal
dialog boxes. Is there any way to avoid the annoying
"-- Web Page Dialog"
from the title bar of the new window???

Thanks in advance
Diana
Thanks Eric for your quick response.

I need then header should scroll along its X direction(Horizontal) but no scrolling on its Y axis (Vertical), but the body should scroll both.

Please advice
Diana
Hi All,

I want to position a inner DIV/SPAN object TOP in a fixed position when outer DIV/SPAN scrolls.

Snippet

<span style="overflow:scroll">
<span id="spanHeader"> <table></table> </span>
<span id="spanData"> <table></table> <span>
</span>

Can i make the <span id="spanHeader"> to be scroll only on horizontal not vertical. but the <span id="spanData"> should moves both vertical and horizontal.
Please Advice

Thanks
Diana
Hi

I want to set some values to cookies from my JSP page and calling the cookie values on my test class?

Thanks in advance.
Diana
16 years ago
Hi
I am not able to start my tomcat server.I am getting the following error in console.

The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:
'-Dsun.io.useCanonCaches' is not recognized as an internal or external command,
operable program or batch file.

Thanks in advance
Diana
16 years ago