166 byte By
horseliu at 2007-9-26 1:36:45
hi,all There is maybe a simple way to dispaly a XML file with a CSS file in program.But I don't know.Who can tell me?Thank you very much!
Hi,In dom parser, how do i force the parser not to ignore white spaces when writing and reading back element values ?Thanks in advanceMano
523 byte By
xerokool at 2007-9-26 1:37:34
hi allgot a question here. hope someone can help me out. :)i have a string containing xml data and i want to parse it so that i can use DOM to alter the information in the xml data. pardon me but i dont know the usage of Xalan and Xerces. i'm a student doing a major project now and my lecturer ...
I am confused about a problem. When I access the method of EJB A: such as UpdJob(),it works seccessfully,also it is successful when access EJB B: insert(...).But when I call the both methods at the same time in a method:public void bothmethod(){B.insert();..........(the method of EJB ...
291 byte By
gjkreeft at 2007-9-26 1:38:42
We have an EJBObject (Order) that has references to other EJBObjects (OrderLines). When we try to remove the Order we first have to remove the OrderLines manually. Does anybody know if it is possible to automatically remove all referenced EJBObjects together with an EJBObject?
414 byte By
Sone at 2007-9-26 1:39:37
I would like to create an instance of "com.sun.messaging.TopicConnectionFactory" simply by: TopicConnectionFactory tpc = new com.sun.messaging.TopicConnectionFactory(); instead of using this way:TopicConnectionFactory topicConnectionFactory = ...
196 byte By
cosborne at 2007-9-26 1:40:43
Does anyone know how to force DTD validation to ignore case of the xml that is being validated? i.e. I want to be able to treat <serviceIn> the same as <servicein>
If I send a html based email and Outlook receives it only one copy is displayed. However if I send the same mail to a web interface (hotmail) for some reason the html content is displayed twice within the one email.Why is this please?
Hi,I am trying to create an XML document from a DOM tree. I am using the Transformer and DOMSource interfaces to generate the XML. My question is: how do I get the !DOCTYPE to be output with the XML? I know that it is set because I am checking it prior to the transformation. I want to send the ...
763 byte By
rjolsen at 2007-9-26 1:41:19
I have a DOM document whose nodes have CDATA sections for code templates, when I write the document to a file, I'm cast the DOM document to an (XmlDocument) and call its write method. This all worked find in the JAXP1.1 early edition, we've just got around to installing the final version of ...
392 byte By
dupdup at 2007-9-26 1:42:01
I have implemented a small size project using the MVC architecture. It seems clear to me that the Model part would be some sort of EJB bean. What I am wondering about is would I need to create the servlet controler as an EJB too? Really I guess the question is if you are going EJB, is ...
342 byte By
dermotb at 2007-9-26 1:42:06
HiHas anybody got sample code for a simple entity beanthat maps 2 or 3 properties to a table in a database.I'm havaing trouble understanding how to setup a primary keyclassand how to use this class to find and instansiate a beanfrom the databaseThanksBrowne ...
524 byte By
dknkgp at 2007-9-26 1:43:05
I'm trying to send 5000+ emails per session... Each email is personalized. what would be the best way to send each mail?performance is somewhat critical...currently, i create one session, then create Message for each email, stuff the variables, then send them one by one...how about creating a ...
170 byte By
yue42 at 2007-9-26 1:43:21
doing some research on severl XML transformation tools... anyone know about XFlat tags library, and/or a site that has the tutorial?thanks in advance
Collection returned by finder methods are serialized to the clients or referenced? When a client access a EJB and invoke each finder method, the result back to the client is a collection (for every finder methods unless the findByPrimaryKey). This collection is serialized to the client o is ...
585 byte By
m_ansram at 2007-9-26 1:44:51
Hi Friends,I am using JMS to interact with a remote MQ server on a Himalaya box. The MQ Admin objects on the server have not been published thru JNDI and I cannot use a look up scheme. I am trying to write a non JNDI client to examine messages on a queue. I have the samples from the MQ ...
2143 byte By
tmonteit at 2007-9-26 1:44:57
Please Help!!! I am using xerces to try to turn an xml structure into a java object. I am getting a Class Cast Exception that I can't seem to get around. Also, I think my approach to this is very wrong. There is too much code to handle this simple task. Is there a bettter way?something ...
118 byte By
xerokool at 2007-9-26 1:45:21
hi alli would like to ask for some opinions.Xerces and JDOM which is better?thanks!
922 byte By
airfei at 2007-9-26 1:45:42
I programed a example of sesion bean whit jbuilder4.0+weblogic5.1,but when ran project,some problems were showed in the server Tab :java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager)at ...
I want to poll a particular coloumn of a table for any changes contuniously in regular interval of time thru out.How to do this.Can i use the thread to poll.How to get the return out of a thread and invoke another beanThe table is a Database table where in it consists of 4 or 5 coloumns with ...
Hi ,I need help . I need to communicate from applet to java script in the same page . the only thing i came across is netscape.javascript.JSObject which gives access to DOM object . but this thing does not work with MAc system . i am using power MAc with classic JVM MRJ 2.2.5 . If some body can ...
Hi folks.I have a really irritating problem. I am using JBoss 2.2.2 as my ejb server, and have successfully deployed the worlds most simple Session bean. I wrote a quick client app in JBuilder to test my bean and see that all was well with the world, but have come accross this problem:Everytime ...
204 byte By
zors at 2007-9-26 1:47:44
hello all! I need to realize support for authorization to SMTP server for sendin a message. are it possible using JavaMail? Please send me a sample if u have it! zvalov@kiev.relysoftware.com
300 byte By
Anjali_c at 2007-9-26 1:47:50
In JMS API the cretaeQueue() method is given for QueueSession.Can I use this method to create a Queue run time?I am getting NoSuchDestination error on using this .So what is this method for and how it should be used? Can anyone guide me?regards,Anjali ...
430 byte By
baxel at 2007-9-26 1:48:20
I am doing an S/MIME EDI thingy, and I experience differences between IMAP an POP.When I invoke getContent() on a part to create a SignedMultipart (s/mime class), I get an IOException saying "IMAPBodyPart is read-only".This only happens with IMAP ofcourse, but I get no error at all when using ...
393 byte By
misterph at 2007-9-26 1:48:48
Hello,Is there a way I can extract a stateful session bean handle and use it to obtain its EJBObject without using a jndi.properties file?I have several servlets running on a web server (Tomcat) and I would like to use differentproviders for some of them. How can I accomplish this? Without the ...
HiCMP entity beans in websphereWhat details do you need to put in the beans findbyprimarykey method when you only have one findbymethod in the homeinterfaceDo you put details in the create or load methodsThanksBrowne
I am trying to run example 3.asp from the example package that comes with j2ee-cas-com-bridge and I am getting the following error message:**********Error Type:J2EECAS.JvmControl.1 (0x80004005)The specified Environemnt variable: COMBRIDGE_HOME, is not defined./combridge/example3/example3.asp, ...
8101 byte By
Shmuliks at 2007-9-26 1:49:35
I am trying to validate an xml doc against a 'xsd' schema.I am using the DOM parser.I set the parser validation to true using :parser.setFeature" http://xml.org/sax/features/validation", true);andparser.setFeature( " http://apache.org/xml/features/validation/schema",true );I parse the ...
218 byte By
lckin at 2007-9-26 1:50:15
Did Java support Fax such like WinFax program? I would like to program fax client by using Java Technology, can someone tell me that whether it was possible? Thanks for help. Regards.
1576 byte By
m_ansram at 2007-9-26 1:50:18
Hi Friends, I am trying to retreive messages from a queue on a remote machine where MQ server has been setup correctly.(nojndi ) I am able to fetch the messages correctly when I use the MQ Base Java API. But I get an exception when I use JMS Api. I am able to put messages on the queue with both ...
494 byte By
bisineem at 2007-9-26 1:50:39
Hi!I am using JAXB to generate my java classes. I have a third party dtd which I am using in the process. I really need to change the names of the classes that the xjc compiler is generating (for eg , for a request element in the dtd xjc generates Request.java ; what i really need is ...
HiI am a newbie to XML and I have a question on XML/Java, hopefully, you guys would be able to give me some pointers to solve this problem.Here is the scenario. I need to design (might have to implement as well) a set of Java libraries that can retrieve data (basically, it's some kind of ...
Hi.After import a ejb jar to visualage for java, i open enterprise bean in EJB page, following error exist: "the type named _EJBObject_Stub is not defined"Could anyone please tell me how to fix this problem.Huge thanks in advance
Hi I am trying to use special characters like <,>,& etc in my xsl file. Does any one know how to avoid parsing this special characters in the xsl file.thanks vinayvinaymani@hotmail.com
824 byte By
arun78 at 2007-9-26 1:53:55
Hi all. I have a word document that was saved as an HTML file. But, this conversion has introduced the character encoding that Word has for certain special characters like ", ', etc. So, in the html file it gets printed out as \222 \223 etc. For ex. "An old book" in word doc comes out as ...
thanks
I want to create my own email server and for which the database is to be maintained with oracle 8i, i have created the registration form by which the email id is created successfully as oracle login, i am unable to create programs for sending and recieving emails to the databse. can someone ...
When use EJB Entity Bean Modeler Wizard to create EJB with JBuilder5,the exception occurred when connect the database:java.sql.SQLException: $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$Missing license file for: WebLogic Server 6.0$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$But I ...
714 byte By
kttan at 2007-9-26 1:55:49
I am using XSL/JSP to design the Application Form.Now I want to split header, sidebar, footer andapp form into 4 XSL files, only app form will receive dynamic data from XML, the rest are static pages.One way I can think of is using 5 JSPs to processE.g. ApplicationForm.jsp->Header.jsp-> ...
1037 byte By
bocockli at 2007-9-26 1:56:50
Still can't understand why I'm getting a cast exception when I call an object method when the object has been returned in a Collection from an EJB. The object CountryModel is a serialised object, returned in a Collection from home.findAllCountries.....I understood RMI returns the object in ...
138 byte By
Jonen at 2007-9-26 1:56:51
Is it possible to get all EJB(s) status in J2EE server.If could, what command or method can help me.TIA
Hi,I am writing a server application in Java which will read a XML file and maintain its DOM structure in memory. This DOM structure will be accessed by multiple threads simultaneously. Some of the threads may modify some nodes. I do not want any thread which is reading a part of the DOM to ...
330 byte By
pprathi at 2007-9-26 1:58:07
Hi,I am validating my XML file by means of an XSD. Can I specify in the XSD for not accepting a particular pattern.I don't want to accept the string containing pattern "'".Becuase if it tries to get inserted into database error will occur.Thanks in advanceprathibha ...
689 byte By
yue42 at 2007-9-26 1:58:34
anyone know XFlat well? How do you specify the nested element with attributes in XFlat schema, the .xfl?ie when I have:<Employees xml:ns=""blahblah.com" xml:schemaLocation="blahblah.com blah.xsd"><Employee ...
1739 byte By
mneumi at 2007-9-26 1:58:54
Hi!I have a problem with the JAXP integration of my own DOM implementation. I've written a compressed core level 1 DOM implementation and integrated it into JAXP by writing a DocumentBuilder and a DocumentBuilderFactory class. Although not 100% of all DOM methods are implemented completely, it ...
I hope someone can help me please. I keep getting the following error whenever I try and send a mail. I don't understand why as the same code functions perfectly in my dev environment(JBuilder 4), but under Tomcat 3.2.1 it throws this. I have got both the mail.jar and activation.jar in my ...
399 byte By
ossidon at 2007-9-26 1:59:42
Hi Java Gurus,I have developed the java application featuring sending, receiving emails with attachment. However how do I forward the email so that the attachment is also automatically forwarded with it? Is there any method/ code to strip the attachment from a email & put it in a vector, so ...
83 byte By
dubwai at 2007-9-26 2:00:05
Has Sun upgraded the JAXP since the w3c decided on the schema format?
I'm trying to deploy my application with J2EE v1.3 and I'm getting the following error:javax.ejb.EJBException: ERROR: SQL statement for creating table is empty. Possible cause: SQL Generator has not been run.Could someone please explain what this means?