Was any solution, found for this. Facing the same issue. Happens for secured protocol (https) URL. The versions of Java on both machines is the same.

]]>2012-09-10T10:05:50Zhttp://developerweb.net/viewtopic.php?id=5542&action=newI am doing one program related to printer on linux.my code is into java only.i am able to send command for printing to cups and able to generate output also.

i just want to get help from cups fr notification such as paper out, printer is not working.

Were currently using the PDF Control to convert from RTF to PDF which works fine.

Im trying to add in the ability to convert from HTML/MHT to PDF will both these use the same conversion?

Ive looked all through the help files and the forums and so forth but cannot find a way to actually do this with any form of output. Can anyone help?

Thanks

]]>2009-12-17T06:40:03Zhttp://developerweb.net/viewtopic.php?id=4630&action=newI am trying to install the Flash chat using either PHP or Java Socket.

None of the instructions provided in this forum or in the documentation itself matches what I see in my newly downloaded demo.

For example, I do not have patServer folder. I do not have the a line:

enableSocketServer => true,

in inc/config.php

So since nothing matches the docs or the forum, I am not sure how to get the socket server running?

Also, does the Java socket server option need to be started with a shell command as well?

Can the PHP socket service be left on? Is there an option where the socket server is started and killed automaticaly?

]]>2009-12-16T15:37:24Zhttp://developerweb.net/viewtopic.php?id=4002&action=newI don't know about library of Alxendaria ,,but it is not loading a .so file .]]>http://developerweb.net/profile.php?id=86512009-10-30T09:53:53Zhttp://developerweb.net/viewtopic.php?id=6190&action=newI kinda forgot about Java applets, if he's making one then it's easiest to get it
from there. I also think that if he made one he wouldn't ask this question, so
if he's doing Java stuff it's probably server-side only.

I'm very happy that bloated things like client-side Java seem to be disappearing
(at least I've Java disabled and never notice missing it). The last thing we need
is Silverlight spreading around. Flash is bad enough already.

]]>http://developerweb.net/profile.php?id=42142009-08-06T16:21:52Zhttp://developerweb.net/viewtopic.php?id=6000&action=newThanks for information. I also like this solution about convert object.]]>2009-01-27T07:22:50Zhttp://developerweb.net/viewtopic.php?id=4522&action=newnice to meet you all.]]>2008-12-27T03:58:00Zhttp://developerweb.net/viewtopic.php?id=5473&action=newi3839;25551 wrote:

Considering he's using Java it's probably easier to make a multithreaded client. E.g. one thread for the GUI, and one (or more) for the network stuff.

Good point... I had forgot he was wanting Java. Although as I understand it the Java nio classes do have equivalents to select() and friends... I don't know if multiple threads make things harder or easier for this case, but in general they do make it harder to verify that the program is 100% correct.

]]>http://developerweb.net/profile.php?id=51692008-11-24T03:50:01Zhttp://developerweb.net/viewtopic.php?id=5736&action=newMay I humbly suggest... that you modify your tables for storage to something ( like ) the following:

int ( id )
foreignkey ( self id )
int ( block id )
blob ( data )

Where the first col is a generated unique id... the foreign key is pointing back to an id of an object of the same type... the block id is to allowed proper ordering of all blocks where id == self id == ( some value ) ... more or less just a simplistic inode-ish type system...

The rational is that by limiting the data blob segment to a size that you know will work on ANY ( or a large number of ) db / driver combo impls... then it - in the end - makes it much simpler for any users / maintainers of the system... though it does add ( slightly ) more load on the db...

Of course...

I'm more of a defensive programmer than most... but there is a reason... I've just had to suffer thru too many times where product 'A' required a specific dependency version... and product 'B' required the same dependency but a different version ( or range of versions )... AND the thing was I wanted to use both products A and B but couldn't... so as a programmer I want users of my code to avoid the same sort of frustration if possible...

Michael

]]>http://developerweb.net/profile.php?id=37572006-08-18T21:45:13Zhttp://developerweb.net/viewtopic.php?id=4560&action=new[color="Blue"]Thanks a lot for ur suggestion....

Now i can download the pdf files from the intranet..... & can save it as blob in the database.... and can also retrieve it. No issues....

But when i do the same thing for a public documents for example

"http://www.ncbi.org.in/workshop/pdf/Workshop_on_IndOBIS.pdf"

i can save it no issues....

But when i'm trying to retrieve it .....
It is giving the error .....
[COLOR="Red"]"There was an error opening this document. The file is damaged and could not be repaired..."[/color]
I'm not getting why i'm getting the error....

Could u plz help me....[/COLOR]

]]>http://developerweb.net/profile.php?id=57882006-07-27T06:17:46Zhttp://developerweb.net/viewtopic.php?id=4518&action=newSo you did post here... I could have sworn that last time I looked there were responses so didn't even bother to read the message... :-/

Bad news... as far as I know, there is no method available to do that in Java... since it requires opening the lower level device and sending it commands directly...

Good news... you can do it in C etc. and then wrap it via JNI...

While I haven't done anything of the sort recently, I did look thru some existing source code from other people's projects and posted some info in the C programming section...

what i wana do:i thought about a programm, which acts as a "gateway" to proxyserversexample: change proxy settings in firefox to localhost:someportand then surfmy app changes the proxy for every new connectthis means, my server (java and localhost) gets a request, checks it's list of proxies, connects to the proxy and forwards the request to the proxy and the response to the client (firefox, IE ...)

what i wana know:1. what would you think, should be configurable? what options should be available?2. since, this project is only an idea for now, i need to know: how can i check what type of proxy i have? example: i have a list of n proxies ip:Port before i connect to the proxy, it would be cool to know if the proxy is high anonym or transparent or is it a socks, or ftp, mail or http?anybody knows a "fast" and good method to know what kind of prox i have in my list?cause, afaik, there are some proxies, which only support HTTP GET and not HTTP POST3. question 1 refers to the kind of options Q: how should the options be adjustable? on the fly with a "config server" (and a GUI for it?), through config files only (how should they look like?)

what the final prog should do:1. it should know, which proxy types it has listed (socks,http, POST only)2. it should be able to search for proxies itself (or check some forum's for new proxy posts or proxy list's)3. maybe post the proxies in an IRC channel so other proxyswitcher application's know of it (it's just an idea of sharing the proxies)4. proxychaining5. configure proxy chains (how?) should be maximum flexible example: proxy1 should be socks, connecting to proxy2 which should be http ....6. ip2country function example: proxy1 should be in china, proxy2 in panama ...7. bandwith control for proxy search mechanism e.g. only a few kb of bandwith should be used for searching new proxies8. hardcoded proxies, that don't get checked maybe a proxy scoring (good proxies get 100, bad get 0)

any idea or comment would be great

btw: i wana do it in java, cause i never programmed system independant code in c/c++ and for beginning this is too much for such a projecti also wana have many windows user's so searching for new proxies will be wide spreadedand java has a "good" api for the most stuff, so the project should be relatively easy

]]>http://developerweb.net/profile.php?id=52572006-05-04T14:53:17Zhttp://developerweb.net/viewtopic.php?id=4417&action=newTell me the synchronization problem in the programme below and tell me how to modify the code accordingly so it will run properly. This programme is created for JDK 1.5 and tell me how to make it run with 1.4 . Please Reply as fast as you can.
Thanks