archana gangaiah

Greenhorn
+ Follow
since Nov 02, 2010
Merit badge: grant badges
For More
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 archana gangaiah

I have to decide between this below scerenio

1. Multiple threads in single class
2. Multiple threads in multiple class

Please let me know which of the above option is more efficient way

Thanks in advance,
Archana
Here is the code that worked for me. If you want the cell to be editable use EditTextCell otherwise use TextCell


12 years ago
GWT
I apologize for cross posting. I assure you that this will never happen in future.
12 years ago
GWT
here is the code I tried to make the flextable's cell editable using the below code .The flex table is loaded with db values, when user clicks on the cell of flextable, it has to become editable and the user entered value has to be stored in db after he clicks submit button which is present in each row.

I'm using EditTextCell(), to make the cell editable but it not reflecting when I test it. I have included all my codes below. Please let me know , if i'm missing anything.




12 years ago
GWT
I'm novice to GWT. I want to implement the below scenerio

when a user clicks a edit button, all the cell in that row of FlexTable should become editable after that when user clicks store button, the user entered value should be stored into database. Please help me how to start.. I have included some code snippet but I dont think this will work

12 years ago
GWT
I'm getting below error in error log after I build my project using Ant

Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
Exception Stack Trace:
java.lang.NullPointerException
at com.google.gdt.eclipse.core.MarkerUtilities.createMarker(MarkerUtilities.java:66)
at com.google.gdt.eclipse.core.MarkerUtilities.createQuickFixMarker(MarkerUtilities.java:100)
at com.google.gdt.eclipse.core.validators.WebAppProjectValidator.validateBuildClasspath(WebAppProjectValidator.java:143)
at com.google.gdt.eclipse.core.validators.WebAppProjectValidator.build(WebAppProjectValidator.java:101)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:344)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



Session Data:


eclipse.buildId=M20100909-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

I surfed in google but i didnt proper solution for this. Please help me out.


Thanks in advance.
12 years ago
I forgot to comment that line while posting ... It is working..... Thanks for pointing out
Actually, I was trying to insert too big value for that column's datatype scale....:-)
I'm using oracle 10g.

I am trying to get the sum of count of a column based on some collection column which is passed at run time using preparedStatement.
here is my code. The query works fine in sqldeveloper.


please help me....Thnks in adv
Thanks for your response.It is resolved.


I have used the below FTPClient method.
13 years ago
Actually i want to parse remote xml file so I have used FTPClient. I am able to connect to the server and but it is not picking me the remote xml file. My problem is it is giving me IO exception( The system cannot find the file specified). I have checked the remote file permission also.


outputLocation points to remote loaction (/ct-data/ald/erd/relDeletes/ )
and oct points to the file remote file which I need to parse(entity-N_CCH-61874.xml).
outDocFile.getAbsolutePath() gives me C:\ct-data\ald\erd\relDeletes\entity-N_CCH-61874.xml


13 years ago
I am trying to parse remote xml file. when i check the path of the file using outDocFile.getCanonicalFile() , it is pointing to local("C:/ct-data/ald/erd/relDeletes) but the variable(outputLocation) is pointing to "/ct-data/ald/erd/relDeletes". because of this i'm getting outDocFile.exists() =null

please let me know, if i am missing anything.


here is the code:




output:


Received Reply from FTP Connection:200
Connected Success
outputfile entity-N_CCH-61874.xml
/ct-data/ald/erd/relDeletes/
File path C:\ct-data\ald\erd\relDeletes\entity-N_CCH-61874.xml



Thanks in advance
13 years ago
Thanks for your reply. I tried the same.. it is working fine now.
I am getting the below error while starting the tomcat server.I had checked that there is nothing in tomcat-users.xml . Might be this is causing the issue. Please help me to resolve this issue.

13 years ago
I am getting the below error while starting up the remote Tomcat server 5.5.9 (which is installed in remote server). I had checked the tomcat-users.xml which is empty.I really dont know how it has become empty. Please help me.



Thanks in advance