i know that what is namespace in xml why it is used?
but i don't know how it is used?
in the below example i know that we are declaring a namespace(alias ) h and f for seprating the table tag but what is "room" and what the URI means
i.e "<room xmlns:h="http://www.w3.org/TR/html4/" what it means?
Can any one please explain the terms...
<room xmlns:h="http://www.w3.org/TR/html4/"...
User Profile
Collapse
-
How can we validate a XML file using DTD?
Hi I Started reading XML bcz i have to learn SOAP... but when i go learn than some things realy annoyed me.... and i m here for a satisfactory help...
So here are the Problems....
1: how we can validate a XML file using DTD? i m having a DTD file like
i m having DTD file as
<!-- employee.dtd -->
<!ELEMENT employee (name, hiredate, salary)>
<!ATTLIST employee id CDATA #REQUIRED>... -
I am Still waiting for the Reply... -
Help Regarding SOAP:Envelope
Hello Frnds I am new To SOAP actually i m reading a code which looks like;
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelop e xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/">
Can any one Explain me that what actually mean by the Second line in this XML file
as far as my Knowledge concerned, soap is namespace and it is defined by "xmlns";
but what... -
Static Methods In Interface
hello Guys I have a nice topic to discuss about,
Can we Declare a static methods in Interfaces?
when i have declared it, it gives a compile time error...
Can any one having any idea about this problem that why we are not facilitate with static methods in Interfaces? -
-
-
Sending File To Remote Server
I know that I AM HERE again for this discussion but what can i do? I am very much frustrated that i can't be able to send or post the file to remote server.
So can any one Explain me that how can i send a file using JSP? and how can i recieve that file and save that file on The Remote machine.
I just want to send the file with a JSP page and this JSP page will invoke a JSP page on the remote server and save the File... -
thanks to all of you for your kind discussion here.
I really got very useful knowledge from here....Leave a comment:
-
Sorry r0 i want to disturb you here but we can not use protected as modifier for top level class and it will give compile time error....Leave a comment:
-
Sorry sorry but i found a Quote in the link given here
http://www.thescripts. com/forum/thread641524.ht ml
and it will explaining that
Class structure
A class declaration starts with a modifier which can be any of
public, protected, private, abstract, static, strictfp, final.
To get us started we'll look at the public and protected modifiers first.
Java classes are encapsulated...Leave a comment:
-
Thanks for your Reply,
Actually I am also thinking the same from my own, but i have Posted the Question just bcz to know that my thinking is right or wrong.
But if any one wants to explain something more then, Most Welcome,
Thanks Again...Leave a comment:
-
Private Class Declaration
Can any one here who tell me that why we can not Declare a class or Interface as Private or Protected.
I have just compiled a class as
private class abc{
}
then the compiler throw an error that private is not allowed here
So can any one plz explain me the reason behind that? -
-
As i Specified in My previous posting that i have Tried much code but it is not working
So i want some Idea, about all those 3 questions...Leave a comment:
-
Sending File To Remote Server
Can Any one help me to Explain how to send a File to Remote server and how to Receive that File.
I have Tried a lot of Code but from 1 week but i m unable to find the Right logic and Right Code for that.
Some Question Are:
1. which Content Type i can use to send File?
2. Which Protocol I have to use for Transfer of File?(TCP, UDP,or HTTP)
3. How can i receive that File on Remote Server?
Can... -
No Stack Trace is there,
Actually code is not having any problem, it is executing fit and fine but the "outFile.tx t" is missing,i.e this file is not created yet.
one more thing is there, that when i executed .java file with same code then the "OutFile.tx t " is created with no problem. but jsp file is creating problem but not giving any Exception or problem at all.
PLZ do needfull...Leave a comment:
-
Hi,
Thanks for reply, but i m running the Tomcat as Supper user Account.
and i run the Tomcat as
su - tomcat -c/usr/local/tomcat/startup.sh
and as i have already set the permission to "/home" and "File " folder in which the File will be created.
am i right or Wrong?...Leave a comment:
-
Problem inCreating File from a file on Linux, With JSP Code
I m using this code to make a file on my Windows Platform, and it is working fine.
But when i run this programme on linux then it is not creating any file...
I have Replaced the path "c:\\atul.t xt" to "/home/File/atul.txt" and "d:\\outgain.tx t" with "/home/File/outgain.txt"
i have also set the permission for both File and home folder "wrx" it means full permission... -
Thanks Dear For ur Reply,
But which Method or which Class i can use To send The File?
For Example as i know about all these is that
May i have to Use Datagram to send the File? or something Else?
By which method i can send the Name of the file over network? or by which method i can send the Data?
And how will u Recieve the Data and file Name on your Side bcz i have to code for Server Also...Leave a comment:
No activity results to display
Show More
Leave a comment: