Cole Terry

Ranch Hand
+ Follow
since Nov 23, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Cole Terry

Merry XMas and happy new year to all ranchers!!!
12 years ago
You need give permission to your applet by signing it with a security certificate.
12 years ago

shivang sarawagi wrote:I have a doubt in the code I am having, does this gives a holistic counter of number of times a servlet is accessed. Will the counter variable retain the value even after the application is undeployed ??



Absolutely no, unless you persist the variable's value into a file or database.

shivang sarawagi wrote:
If not please anyone tell me how to get the counter variable retain the value of number of times servlet is accessed.



It always retains its value during servlet's life because it is instance variable and there is only one instance of the servlet per web app.
12 years ago

Narendra kodli wrote:Hello dear friends, i am newbie to this java forum, i have a problem given below

I want to do delete and update operations for sql table through JTable using swings, i am able to display the sql table in JTable but unable to do delete and update queries through JTable which should be reflected in sql table.

please help me



There is no direct way to sync the data in the JTable with one in the database. At least you must write some code: update the database according to data of the table's model.
12 years ago
You should make a SELECT query into the database to check if the email already exists. Struts doesn't involve anything here.
12 years ago
I found this post already asked on Eclipse's forum. Haven't you got any answer there?

Check the default page which is picked up when a request coming with the URL: /WTP-Tutorial-I/

Do you have full stack trace on the server?
Apache Common File Upload provides a ProgressListener that you can use.
Congratulations! You have done a great job!
12 years ago
Before giving a right solution, can you tell which way do you implement the upload? web or desktop?

Nijin puthiya purayil wrote:Hai all..
Is it possible to run applet in Internet Explorer where no jdk is installed in the system??Somebody told me there is a built in jvm in IE...will this jvm plugin can run the applet??
I know the applet will run only when there is jdk installed in the clients system...mozilla and chrome will show message about the missing plugin but what about the IE??
Here i don't need a solution which will work in my system...i want the applet to work in client's system...please do help me...



It is impossible today without JRE/JDK installed on client's computer. There was a Microsoft JVM but that day has gone for a long time.
12 years ago
Hi, the problem maybe at this line:



If my memory is good enough, you need to put the name of the stored procedure between "{" and "}"

Rob Micah wrote:
So my question is this: Is my original request from servlet #1 being re-sent when I use my back button to back up to servlet #2?



Probably no, because the browser may cache the previous page and it does not re-contact the server when using Back button. Unless you put "no-cache" in the response headers from the Servlet.
12 years ago

chaitanya karthikk wrote:
How can i do this? Thank you all in advance and good day.

PS: I don't want to use the SwingWorker class.



I think there are two possible options for you if you don't like the SwingWorker/SwingUtilities:

- You would use Thread.join() in the calling method, the thread that executes the calling method will wait for the callMe() thread to ends.
- You would implement the event model (publisher/consumer): upon finishing its tasks, the callMe() method fire an event which is listened by a listener. The listener then will show the message on the GUI.
12 years ago
Wow! It's an awesome structure I have ever seen. I think it's quite different to implement such table structure with regular JTable.
I have one idea: create that table in HTML put the HTML code into a JTextPane. How does that sound?
12 years ago

sandhya kale wrote:

Michael Dunn wrote:
but it did not open a required file..If any one know please do inform.



Who knows? Without posting your own code and exception/error stack trace, it's impossible to see where you are going wrong with.

12 years ago