Ben bir DB2 veritabanına bağlanmak için PHP kullanan bir GWT projesi yapıyorum. Ben projeyi derlemek ve (üzerinde WAR dizinin içeriğini kopyalamak) sunucusuna dağıtırken, bu php script noktası üzerinde çalışırken GWT 8888 nolu portu olduğundan ben SOP sorunu içine run ana modda Açıkçası, çalışıyor 80.
I'm trying to get the -noserver option to work but I must be missing something.. I went back and created the basic sample app from the command line (webApplicationCreator -out /home/mike/gwt/sample1) I edited the build.xml to include the -noserver and -port 80 arguements for devmode. I want my app to be hosted at localhost/sample1 so I edited the -startupUrl to the whole URL I want to use: http://localhost/sample1/sample1.html
I compiled (ant), copied over the sample1.html, sample1.css from war to the webserver sample1 directory, and the (md5).gwt.rpc, clear.cache.gif, sample1.nocache.js and hosted.html files from the war/sample1 to sample1/sample1 directory as described in the GWT documentation (no history.html file was created). I then run ant devmode from the project directory (/home/mike/gwt/sample1) I can get to the sample1.html page, but when I click the button to send the name to the server it returns with
Uzaktan Yordam Çağrısı - Arıza
Server replies: An error occurred while attempting to contact the server. Please check your network connection and try again.
Ben kundakçı açık ve http://localhost/sample1/sample1/greet için 404 dönüyor. Bu ben şaşırıp nerede .. Bu dosya Açıkçası benim webserver yok .. ama neden? GWT tarafından derlenen almak gerekiyordu bu şey değil mi?
Herkes bana bir el verebilir? Teşekkürler!