PC RE

Greenhorn
+ Follow
since Aug 28, 2001
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 PC RE

#1Z0-007 is the first exam, which u can take it online.
#1Z0-031 is the second exam.
Thanks,-PC RE
Hey,
What are the prereqs for writing this exam.
THanks,-PC RE
Try reading the specs. Personally I don't like the way it is covered in Professional XML book and u could expect more in the exam than that is covered in the book.
Thanks,-PC RE
Shoba,
I don't think u can do that with DTD. That is one of the disadvantage of DTD over Schemas.
Thanks,-PC RE
what is the certificate that u get after completing test 483. enterprise connectivity developer or expert? or anything else. could'nt find it anywhere...
thanks,-PC RE
Check out this link it has the answer for the third question.
http://www.w3.org/TR/xslt#element-import
This directive option if 'true' flushes the buffer before including the file. Hope this helps
-PC RE
This may be because the headers are already sent to the client since there is no buffering in the page....hope this helps.
Hi,
Does anyone know of importing text files into a access database. I am doing something like 'insert into table " for each row and it is taking a long long long time.
-PC RE
20 years ago
peter,
u were right. i was using FileReader. When i used getResourceAsStream() it worked. Thanks man.
-PC RE
20 years ago

Hi,
i am having the problem of accessing resources from the jar file. Here is a test class that i wrote to access conf.properties located in the jar. I tried the ones suggested in the other 'Threads' in this forum but still having the same problem.
*******************************************************
package test;
public class Test{
public static void main(String args[]){
Test t1 = new Test();
java.net.URL url =t1.getClass().getResource("conf.properties");
if(url == null)
System.out.println("could'nt find the resource");
else
System.out.println("Yes..got it..."+url.toString());

}
}
********************************************************
I have conf.properties in the test directory i.e., same directory as the 'test' class.
Here is the output when i compile and create a jar file.
E:\projects\classes>jar cvf test.jar test
added manifest
adding: test/(in = 0) (out= 0)(stored 0%)
adding: test/dp.properties(in = 24) (out= 17)(deflated 29%)
adding: test/test.class(in = 784) (out= 470)(deflated 40%)
I get the following output.
Yes..got it...jar:file:/E:/projects/classes/test2.jar!/conf.properties
When i load this properties file i get a FileNotFoundException.
Whats up with the url string that i get from the getResource() method. Looks fishy to me...
Any help is greatly appriciated.
Thanks,-PC RE
20 years ago

check out the JSP include directive. U can include html files using this one in the JSP that ur writing
20 years ago
Kevin,
Because of the nature of the browser/HTTP it maynot be possible to send a message back to the server when the user clicks either stop or refresh. Instead the browser closes the socket connection to the server and the server will throw an IOException in such a case and u could detect this....
Not really sure of any other way other than the above.
Let me know how u solved the problem....
Thanks,-PC RE
20 years ago
where do u want to check this? on the server side or the client side?
-PC RE
20 years ago