iyappan sankaran

Ranch Hand
+ Follow
since Aug 11, 2003
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 iyappan sankaran

HI,

I have a requirement to transfer XML file through REST POST. I am using spring with REST. Can some one guide me on how to do?

Iyappan S

6 years ago
i install one of the RMI application E:\MyProject its working fine , but if i install in c:\Program Files\ .. Then its saying MalformedURLException.

How to rectify this one.
11 years ago
i have this proerties file which has two keys (classpath,server). After changing one of the key and store it in a file , i noticed the comments are misssing. How to retain the comments afeter modifying the value.

File.properties
# Server Configuration File

# CLASSPATH - This is the classpath used by the Server
classpath=AdventNetLogging.jar:

# Location of the jserver.properties file
SERVER=myserver

I am setting value like this

_serverProperties.setProperty("classpath","anew.jar");

_serverProperties.store(new FileOutputStream("File.properties
"),null);


pls tell how to solve this one
11 years ago
Hi
I encounterd an error . i provided all the details .
please help me.

General:

An error occurred while launching/running the application.



Category: Download Error

Bad MIME type returned from server when accessing resource: http://localhost/Sample.jnlp - text/html

Lanuch File :
<?xml version="1.0" encoding="iso-8859-1"?>
<jnlp
spec="1.0+"
codebase="http://localhost/"
href="Sample.jnlp">
<information>
<title>Manager</title>
<vendor>Iyappan</vendor>
<description>Sample Application</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" />
<jar href= "Iyappan.jar" />
</resources>
<application-desc main-class="Sample">
<argument>-UserName</argument>
<argument>Administrator</argument>
<argument>-UserRole</argument>
<argument>Administrator</argument>
</application-desc>
</jnlp>


Exception:

JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)

at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.downloadResources(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)




Remedy I followed:

Configured the Web server to use the Java Web Start MIME type by adding Mime entry in mime.types file in conf folder in apache server.

The entry is “application/x-java-jnlp-file jnlp”.

Still I got the same error.


Thanks
Iyappan
11 years ago
i created one application which has a help dialog, for that i make use of javahelp2.0 api . now the problem is its lanuching fine in http mode but hanging when i try to access through https.

why ?
11 years ago
hi

i have a problem of javahelp running fine in http mode but in https mode it is not running . why ?

Thanks
11 years ago
Few explanations towards problem

Here the event is consumed by table. so we have to redirect the evnts to dialog. There is one possiblity using KeyEventDispatch interface provides option of redirect the event.

but i want to make use of "registerKeyboardAction" how to do
pls help me.
12 years ago
hi guys,

i written a Jtable within a JDialog.Using keymapping i register few keys.the problem is once i launch the application the focus is on JTable not in Jdilog .so while i press key the evnts are associted with table not with dialog.

how to change the focus to dialog from table. i always want the focus is on dialog.

thanks
12 years ago
I Created a Frame and a customised dialog box. if some of the fields in dialog box is empty i am throwing a JOptionpane dialog with a error message . The probelm is while throwing the error dilaog the focus is on the OK button but still it doesnt closing while i'm pressing the space bar.

how to close the error dialog using space bar.

pls help me.

Thanks
12 years ago
hi
i have a probelm :
In windows the text in Jlabel is displayed correctely like

HI Iyappan

while in solaris the text get truncated and displayed like this

HI Iyp. . .

i attach source
. . .
getContentPane().setLayout(null);
l1=new JLabel("HI Iyappan");
getContentPane().add(l1);
getContentPane().add(l2);
l1.setBounds(100,10,40,15);
. . .


urgent pls give solution .
12 years ago
hi
i have a probelm :
In windows the text in Jlabel is displayed correctely like

HI Iyappan

while in solaris the text get truncated and displayed like this

HI Iyp. . .

i attach source
. . .
getContentPane().setLayout(null);
l1=new JLabel("HI Iyappan");
getContentPane().add(l1);
getContentPane().add(l2);
l1.setBounds(100,10,40,15);
. . .


urgent pls give solution .
12 years ago
hi
i have a probelm :
In windows the text in Jlabel is displayed correctely like

HI Iyappan

while in solaris the text get truncated and displayed like this

HI Iyp. . .

i attach source
. . .
getContentPane().setLayout(null);
l1=new JLabel("HI Iyappan");
getContentPane().add(l1);
getContentPane().add(l2);
l1.setBounds(100,10,40,15);
. . .


urgent pls give solution .
12 years ago
hi
i have a probelm in windows the text in Jlabel is displayed correctely while in solaris the text get truncated and displayed like

for e.g
in windows : hi we are here
in solaris : hi we . . .

how to resolve it.

urgent pls.
12 years ago