Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Venkata Kiran

Ranch Hand
+ Follow
since Sep 06, 2005
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 Venkata Kiran

I am new to Web services.
I am trying to access a .NET web service from a java client which is an applet.
I am using Apache Axis for this.
I was able to generate WSDL file in .NET , and using WSDL2Java I was able
to generate stubs.
Now when i try to access the newly created MyWebServiceServerSoapStub.java

I get an exception :


org.apache.axis.ConfigurationException: No engine configuration file - aborting!
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:175)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service.<init>(Service.java:113)
at org.tempuri.MyWebServiceServerSoapStub.<init>(MyWebServiceServerSoapStub.java:73)
at org.tempuri.MyWebServiceServerSoapStub.<init>(MyWebServiceServerSoapStub.java:63)
at Wrapper.setTemplateId(Wrapper.java:341)
....

Should I configure client-config.wsdd file?if yes, how?
Thanks.
[ July 12, 2006: Message edited by: Venkata Kiran ]
15 years ago
Thank You, but I am not supposed to use a signed applet.


Since i must capture only applet part from browser and send it to the server from which it is loaded i am not permitted signed applet.

So is there any round about way of doing the same?

I think my requrement is just like capturing an image from a paint brush application.
can anyone direct me to any link using PixelGrabber for this type of application?

[ April 11, 2006: Message edited by: Kiran Kumar ]
[ April 11, 2006: Message edited by: Kiran Kumar ]
15 years ago
Hai All,
I would like to know if it is possible to capture a snapshot of
"an applet with an image on it" using Robot class and save the snapshot back to the server from which the applet is loaded.

When i try to do this i get java.security.AccessControl Exception : access denied ( java.awt.AWTPermission createRobot) Exception.
Thank You.
15 years ago
Hai All,
I have an applet which displays an image.
I can allows user to display another image onto it.
& also some text.
both the image and text are draggable on the first image.
how to save the first image along with these two ,to the server from which it was loaded.
Should i use streams?
Thank You.
15 years ago
Hai All,
Is it possible to store the path & name of the image Uploaded from clients PC to server & display it onto the applet.
I can upload the image but storing the image details using Javascript
and redirecting the image onto the Applet which is on hte same page is posing problems for me.
Is it possible?
[ March 15, 2006: Message edited by: Kiran Kumar ]
Yes tried that also with no result.
I am still getting the same error.
(I am using .NET environment so my code base is Inetpub/wwwroot.)
15 years ago
The applet tag is
<APPLET height=360 width=500 name="ImgDemo" code="ImgDemo.class" archive="Img1.jar"
codebase="/Inetpub/wwwroot/Pcc">
ImgDemo.class file is in Img1.jar which is in /Inetpub/wwwroot/Pcc.
I even get a dialog box for entering Password
Saying Password Needed Network
Firewall 127.0.0.1
my applet is not signed ? I am having a multipart form upload provision within the same html page ?Is it the cause?
15 years ago
Hai All,
when I try to run my applet in webpage the applet is notinited
& i found the following stacktrace in java Console:


Requesting URL: http://localhost/PCC/Applet/ImgDemo.class

load: class ImgDemo.class not found.

java.lang.ClassNotFoundException: ImgDemo.class

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

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

Caused by: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 10 more

Is this a problem with classpath or OS or my code.
Thank you.
15 years ago
.

My environment is winxp, vs.net 2003, Java 2 runtime environment SE
1.4.2_08
I have a java applet that I want to include in an asp.net page.

I can open it in IE6 in a html page and it runs well.

If I try to open the html page (or a similar aspx page) in vs2003, visual
studio doesnt display the applet part.
I saw in a site that this is bcos Sun sued Microsoft.

So my question is can you include applets in aspx pages and still open
them in vs2003 ? In other words, does visual studio
2003 work with applets running on a Sun JVM?
Hai ,
I am working on an applet which contains an image.
i am displaying some images on the html page, when the user clicks them
using LiveConnect i am able to display them on the first image.

instead if user uploads images from his pc, i must the store the image onto the server & diplay it on the first image.

how to save this image on the server & display it back on the applet.
are there any useful links?

[ March 02, 2006: Message edited by: Kiran Kumar ]
[ March 02, 2006: Message edited by: Kiran Kumar ]
15 years ago
Hi Everyone,
Sorry for my late response. Let me explain what exactly i am doing.
I have nearly 100 records in my database and i am using JavaScript(client side)to sort these 100 records. Sorting is working fine but now i need to display these sorted records as 20 records per page
(for Ex |< < 1 2 3 4 .. > >|) i hope these explains the problem.
[ February 10, 2006: Message edited by: Gururaj ]
I am displaying an image in an applet & must display another small image or text on the first image.
How do i get the size of the image being displayed.
15 years ago
Haj,
I must allow a user to drag and drop any one of the available images from from a panel onto the Applet's area .
how can this be done using JavaScript.
15 years ago
Hello Everybody,
I am very new to javascript could any one help me out. I am retrieving data from data base and displaying data in 15 columns and i also sorted those records in javascript but now i need to do the pagination
to display 20 records in each page and i have to use JavaScript. Can any one help me out, by sending one example on this type of Pagination
Hai,
I need a layout similar to
---------------------------------------------------------
|button a,b,c in flow layout, buttons d,e in card layout
|---------------------------------------------------------
|
| Image
|---------------------------------------------------------
| Scrollbar
----------------------------------------------------------
The problem is the scrollbar is being displayed in the first panel
along with cardlayout and is not visible at the bottom.

& is it possible to have labels at both the end of scrollbars like in
ColorChooser Applet for rbg.
15 years ago