|
I assumed (and still believe) that with your knowledge and experience of CodeProject you would be able to formulate the question in a way that made it appear not as a programming question.
The best things in life are not things.
|
|
|
|
|
|
Additional problem: Eclipse RCP Bundle Localization is not able to read from UTF-8 encoded *.txt files Sometimes it's just fun...
regards
Torsten
I never finish anyth...
|
|
|
|
|
|
TorstenH. wrote: Now I'm dealing with the IDialogConstants , where the "OK" and
"Cancel" is read. Any ideas how to customize that
Don't. Instead of trying to reference the captions use control the names in your decision logic, see setName(String) and getName() , now the LOGIC and DISPLAY are nice and seperate.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
|
|
|
|
|
HI,
My Cron Expression is this 0 00 15 5 MAY ? 2011
Whats is START_TIME
Whats is END_TIME
Whats is NEXT_FIRE_TIME
Whats is PREV_FIRE_TIME
Please any one help me.
|
|
|
|
|
would this [^]help?
I looks like a single event to me.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
This is not a Java question; try posting in the correct forum.
The best things in life are not things.
|
|
|
|
|
hi how are you
<b>(sorry for my bad English)</b>
i want to built an IM program
i found that the Jabber Protocol is very useful
i want to learn about it
so please would you help me by how to write a simple program that sends a request from client to server using Jabber
thank you very much
|
|
|
|
|
The easiest thing would be to search for Jabber Tutorial using your search engine of choice. Try that and if you get stuck ask some more specific questions.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
|
|
|
|
|
Hi ,
Table 6.1. Quartz Requires the Following Tables for All JDBC-persistent JobStores, I know the all table names, but how to create the table structure i don't. if known any one please send me the table structures. it is urgent for me.
|
|
|
|
|
I don't know if this is the same quartz, but a bit of googling and i found;
"You can find table-creation SQL scripts in the "docs/dbTables" directory of the Quartz distribution."
on this page; http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson09.html[^]
If it is not the same quartz, then you need to be more specific with the product you are using!
|
|
|
|
|
Hi DaveAuld,
Thank you for giving your ans. i got the table structures.
|
|
|
|
|
Your welcome, if my answer was helpful please vote / accept answer
|
|
|
|
|
I want to store connection information to Database (username, password, port ) into a file named "WebConfig".
Then I create a java class named "Connect" use these information to connect to MS SQL Server.
But I cann't read information from "WebConfig" because I don't know it's directory.
Can you help me ? (Don't use HttpSerletContext ! )
Thanks alot !
|
|
|
|
|
tannghia wrote: But I cann't read information from "WebConfig" because I don't know it's directory.
I assume you mean that you want to store this file on the client system, which I do not think is allowed.
The best things in life are not things.
|
|
|
|
|
Files exist on file systems.
You can't find a file unless you know its location on the file system. There is no other option.
There are options as to how one might locate configuration files relative to an application or via a configuration path.
|
|
|
|
|
If your Java web application is not using HttpServletContext (and by association, the rest of the Java Servlet API), there's no robust best-practice way to configure resources outside of simple property files. You can look up any file by context, if you're aware of the layout of your application (I'll assume EAR/WAR/JAR, but since you don't seem to be using JEE based on your HttpServletContext comment, that might be a flawed assumption).
If you had a "resources" project, you should know where it will live in relation to your main web project: i.e. EAR file contains WAR file, which contains a WEB-INF/lib folder, which then contains the rest of your project jars. Based on this knowledge, you should be able to use the standard Java FileStream objects to load those files and read the connection properties you want to store.
I would recommend researching JEE best practices for web resources, however, as there are ways to store connection information for data sources (JDBC) that follow the JEE standards, and can be used with any compatible web container (Tomcat, JBoss, IBM WebSphere, etc).
Cheers!
|
|
|
|
|
could you pls help me how to parse xml file in java applets?
|
|
|
|
|
Lots of possibilities here[^].
The best things in life are not things.
|
|
|
|
|
Searching the web! Who'd have thunk it!
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
|
|
|
|
|
If you want some targeted search terms to find the information you're after, search for JAXP (Java API for XML Processing) and/or JAXB (Java API for XML Binding)* on Google. There's nothing specific to Applets that makes parsing and processing XML any different from any other Java VM environment.
[EDIT] You can also search for SAX (Simple API for XML) and StAX (Streaming API for XML), as they may be simpler to implement quickly [/EDIT]
Cheers!
*Note: XML binding is a more advanced concept, and is not necessary for simple XML parsing. It can be used to easily model XML objects in Java classes.
-- Modified Wednesday, June 8, 2011 2:47 PM
|
|
|
|
|
Hello,
what is best way to display news in jsp webpage. With asp i was using repeater, but in jsp i don't know how to. I also want to add buttons to each news so i could edit and delete it.
For any kind of help i would be thankful.
Best regards
|
|
|
|
|
Reading the data from the DB is one part. Displaying the data another. To add some button shouldn't be that difficult.
so which part is the problem?
regards
Torsten
I never finish anyth...
|
|
|
|
|
Using div and dynamically creating it with for loop would be the way i will do it. If you have any better idea with displaying it i would be thankful. Reading and adding buttons is not problems. I was just looking for display.
How to put id in session via javascript or using jsp code block?
function for getting div id:
function getParent(el, parentTagName){
var obj = el;
while(obj.tagName !== parentTagName){
obj = obj.parentNode;
}
alert(obj.id);
}
html code looks like this:
<div id="0">
<form>
<input type="submit" target="pr" value="Go" onclick="getParent(this, 'DIV')">
</form>
</div>
Thanks
modified on Friday, April 29, 2011 11:35 AM
|
|
|
|