Here's how it works :
1. Javascript code uses XmlHttpRequest API to start an AJAX call.
2. Browser intercepts XmlHttpRequest method invocation
3. Browser makes a http connection to the server in a *separate thread*.
This way, the main user interface thread is not blocked.
4. When
Except of course in IE6 and IE7 which do not support data: URLs; but it
wouldn't stop me if I were you (kill IE, kill IE, kill IE!) ;-)
And IE8 only supports 32KB of base64 data for security reasons, so you do
have to watch the size of the image.
--Sri
On 15 February 2011 15:38, Thomas
The correct way is to override doUnexpectedFailure(Throwable
e)http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/server/rpc/AbstractRemoteServiceServlet.html#doUnexpectedFailure(java.lang.Throwable)in
your custom RPC Servlet. That way you won't have to change GWT's code.
This answer on stackoverflow explains it nicely -
http://stackoverflow.com/questions/435391/refresh-a-div-that-has-a-google-ad-inside-it#441425
http://stackoverflow.com/questions/435391/refresh-a-div-that-has-a-google-ad-inside-it#441425
--Sri
On 31 December 2010 00:35, Deepak Singh
*re. 1 - Best way to transfer*
IMHO - Base64 encoded data in either JSON or XML, with standard gzip
compression applied. Optionally (but recommended), rename the files to
MD5.cache.xml or something similar, and set strong http cache headers.
If these files are only going to be used by a GWT
*Also, in the discussion I saw about this, it was said that it was
more secure to send the session ID in the RPC itself instead of getting
it from the header/cookie. Why is this? Does GWT add something extra like a
hash to make sure the RPC hasn't been tampered with?*
*
*
*GWT doesn't do
Following blog posts should help you pen test your app. They aren't my posts
- but I have found them useful.
*a) RPC Format - *
http://www.gdssecurity.com/l/b/2009/10/08/gwt-rpc-in-a-nutshell/
*b) How RPC can be fuzzed* -
http://www.gdssecurity.com/l/b/2010/05/06/fuzzing-gwt-rpc-requests/
*c) How
Explain me how Mallory can put in a fake/invalid/duplicate/whatever SSL
certificate when Alice and Bob are communicating.
1. Mallory can create a fake certificate and present it to Alice; but
when Alice verifies the cert with Trent (ie. Verisign) she will catch the
MITM
2. Mallory can
Hi,
I am newbie to GWT and I am trying to find the best way to communicate
a password from a GWT application's client-side to a server's-side
service without using SSL. Of course, I am thinking about account
creation and login issues. We don't want Eve and Malory to fiddle with
the
@UseTheFork
We have had similar discussions on the web security mailing lists. Here is a
relevant discussion
threadhttp://www.webappsec.org/lists/websecurity/archive/2010-09/msg00079.html.
Short summary is that SSL/TLS has its limitations, but thats the best you
can do. There are ways to get
RequestFactory (and GWT RPC as well) automatically adds a custom http header
(X-GWT-Permutation) to each request. See
DefaultRequestTransport.javahttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/requestfactory/client/DefaultRequestTransport.java#120.
In
for you.
--Sri
On 2 December 2010 00:27, PhilBeaudoin philippe.beaud...@gmail.com wrote:
On Dec 1, 2:39 am, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
RequestFactory (and GWT RPC as well) automatically adds a custom http
header
(X-GWT-Permutation) to each request. See
Thanks for these links and explanation, really useful! So, to
summarize my understanding:
- Requests issued by forms do not allow you to add custom headers
- Javascript (XMLHttpRequest) cannot be used in an XSRF attack due to
same-origin-policy
- Therefore, if you exclude mechanisms based
I don't think any truly RESTful back end can be secure with a GWT front
end, because you need the back end to keep state to protect against XSRF.
You don't need to maintain state to prevent CSRF. If you set a custom http
request header and check its value on the server side, it will prevent
2010 00:20, Sripathi Krishnan sripathi.krish...@gmail.comwrote:
I don't think any truly RESTful back end can be secure with a GWT front
end, because you need the back end to keep state to protect against XSRF.
You don't need to maintain state to prevent CSRF. If you set a custom http
request
@JuDac, @Brent Thomas,
The first step is to decide what you want to protect against.
*If you want to protect against a valid, authenticated user -*
- You can prevent him from calling services he is not authorized to
call.
- You *cannot* prevent him from reading any data that you send
tried to write a java application to examine
the javascript file. With your admission I'd try to port some
functionality
of degwt into my java application.
Best regards
Basdl
On 28 Sep., 21:29, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
Lets look at the vulnerabilities one
a tool for the analysis in java.
I'm thankful for every information I could get.
You helped me a lot.
Basdl
On 29 Sep., 13:04, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
If you have access to code, there are existing static analysis tools that
will go through the java code
on untrusted
data as
Sripathi Krishnan said.
You'd probably have better luck searching all occurrences of
HasHTML.setHTML and/or Element.setInnerHTML and/or Window.Location and
manually checking, than trying to write a robot to find holes for you.
With the knowledge of possible GWT-RPCs I can try
Lets look at the vulnerabilities one at a time.
*Cross Site Scripting (XSS)*
With GWT, the attack vectors for XSS are restricted to the following -
1. Host html/jsp page that has reflected XSS
2. Custom Javascript libraries
3. JSNI code that you have written within GWT
4. Places
Does anyone have a reason for why I should not report this a bug in the
issue tracker ?
Its a feature, not a defect.
You have to *explicitly* declare any methods you want to send to the client.
Without this declaration, GWT would have had to create javascript code for
every RuntimeException
?
How does that sound ?
On Thu, Sep 16, 2010 at 8:21 AM, Sripathi Krishnan
sripathi.krish...@gmail.com wrote:
Does anyone have a reason for why I should not report this a bug in the
issue tracker ?
Its a feature, not a defect.
You have to explicitly declare any methods you want
Or, more likely, you have enabled Google App Engine. Disable GAE, its a
preference under eclipse. GAE doesn't allow you to run system commands
--Sri
2010/8/27 André Moraes andr...@gmail.com
maybe the webserver that is hosting your file don't have permission to run
external programs.
Or the
un check the the use Google App Engine box the debugging mode wont
work.
Is there a way to tell the GAE that there are some commands which it
can execute (via a java.policy config file or something).
Thanks again for your help.
Cheers
Andrew
On Fri, Aug 27, 2010 at 11:03 AM, Sripathi
Hey Andrew,
As I mentioned earlier, you have to remove GAE jars from your classpath -
they conflict with jetty. The NoSuchMethod error indicates its a classpath
issue. If its easier, you could just create a new project and disable GAE
from the onset, and it would work as expected.
--Sri
On 28
Do you have google app engine enabled? It is a setting in Eclipse.
Google App Engine doesn't allow you to read from the file system - and
perhaps that may be your issue.
--Sri
2010/7/28 Jose Luis Estrella Campaña jlecamp...@gmail.com
Katharina,
Hi, and... No, I have not solved it.
That's why, when writing a function in GWT, I expect it to compile out
to something that doesn't exceed the size of handwritten JS for the
same purposes.
Compiling Java to Javascript has some overheads which you cannot get rid off
easily. These overheads are not much if you are building a
.
On Jun 17, 10:02 pm, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
No, you can't do that. But if you set appropriate cache headers,
there is
never a need to delete old files.
--Sri
On 18 June 2010 06:10, bhomass bhom...@gmail.com wrote:
is there any way
Disable Google App Engine in eclipse, delete all GAE jar files from your
classpath and then retry. GAE does not allow you to write or execute files.
--Sri
On 2 July 2010 07:58, Rajesh rajesh...@gmail.com wrote:
Hi,
I am trying to call a .exe file using server side code.However I keep
getting
With GWT, you are isolated to the following attack vectors -
1. Using native eval()
2. Using setInnerHTML() methods
3. Using non-gwt javascript code/thirdparty js libraries
4. XSS on the host html/jsp page
Check-list to prevent XSS for GWT applications -
- Don't EVER use eval()
a limited cache lifetime or to not cache at all?
I do normally want the javascript files to be cached for performance
purposes.
On Jun 17, 10:02 pm, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
No, you can't do that. But if you set appropriate cache headers, there is
never a need
Disable Google App Engine in your eclipse settings, and remove all GAE jars
from your classpath.
GAE doesn't allow you to open socket connections, which is exactly what
hibernate is trying to do before it fails.
--Sri
On 26 June 2010 01:15, Ruben ruben...@gmail.com wrote:
Hi,
I am running
Lets try to discuss the statement XML is declarative, and therefore not
debuggable. UIBinder uses XML, and therefore, is not debuggable.
Totally agree on the first part of the statement - XML is a mess if you put
logic into it. But, here is the key point - you cannot put logic in *.ui.xml
even if
You can't open sockets if you are using GAE, and there is no way around it.
But GWT is completely independent of GAE. If you disable GAE, you can use
sockets on your server side.
--Sri
On 22 June 2010 08:25, Big_Ali ali.fatol...@gmail.com wrote:
Hi,
I'm kinda new to GWT but I've been using
Probably because you are trying to make cross-domain requests (a different
port, domain or protocol)
See this post -
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a080757856163097
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a080757856163097
I think I disagree with you on almost all points. I have been using UIBinder
much before GWT2.0 was officially released, and I think to use GWT
straight-from-trunk to leverage UIBinder was the best architectural decision
we made.
a further language. No way to debug it
Its the language of the
I haven't tried - but if you use the XS linker, you should get the proper
referer. The XS linker doesn't use iframes, so the referer should be what
you expect.
--Sri
On 21 June 2010 22:52, Peter peterlovi...@gmail.com wrote:
When I step outside of GWT application using
The (probably satisfactory) approach is to remove the GAE jars from the
classpath. When you uncheck GAE, it doesn't remove the jars from the
classpath. There is some kind of version mismatch in one of the jetty
classes (as shown by NoClassDefFoundError), so when you remove GAE jars,
things work
Most likely, you have enabled Google App Engine. GAE doesn't allow you to
open socket connections, which is why apache httpclient did not work. It
does allow URLConnection, which is why your second approach worked.
--Sri
On 21 June 2010 08:15, AgitoM karel.m...@gmail.com wrote:
As promised,
I think you missed Thomas' post. You *CAN* keep your variables private, its
just you have to use a different linker. Its just a minor change to your
gwt.xml, and with that your entire script will be private.
-Sri
On 18 June 2010 20:04, Shedokan shedok...@gmail.com wrote:
So i'll guess I'll
No, you can't do that. But if you set appropriate cache headers, there is
never a need to delete old files.
--Sri
On 18 June 2010 06:10, bhomass bhom...@gmail.com wrote:
is there any way to programmatically get user browser to delete all
its cached javascript files in order to push down new
GWTC is a Java program that reads java files and compiles it into
Javascript. The main class of this java program is
com.google.gwt.dev.Compiler and you can invoke this program in various
ways.
ANT and Eclipse are just two possible (and most typical) ways of invoking
the GWT compiler. If you want
Hi Laurent,
You actually have an interesting idea, something I have been thinking about
for a different context for sometime.
I haven't used ANTLR before, I prefer JAVACC. When I analysed javacc
generated code, most of it was plain java that GWT could easily convert to
Javascript. The only
No, it won't.
1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is
essentially a GET request. You can't make a POST request using a script tag.
2. RPC adds custom http headers to the request (X-GWT-Permutation, or
something like that). You cannot setup custom http
would basically use JSONP as a
tunnel.
[The defense against CSRF would have to be done using a separate
technique, but let's forget about that for a moment.]
Chris
On Jun 16, 9:42 pm, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
No, it won't.
1. GWT RPC exclusively uses POST
together with all important frameworks I plan to use in the future
(will e.g. gwt-log)...
Thanks a lot for your answer!
Chris
On Jun 16, 10:53 pm, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
Just did some digging in, and I *think* it is possible with some
restrictions
Haven't tried, but should not matter.
On 6/10/10, Aditya 007aditya.b...@gmail.com wrote:
Hi,
Does renaming nocache.js affects deployment?
Cheers,
Aditya
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Do we need any GWT related libraries at Runtime? Or is just Java
script?
GWT has a mandatory client component and an optional server component. The
client component is just javascript at runtime. So, you just need to ensure
developers have JDK 1.5 at compile time. At runtime, it just doesn't
Don't think it is GWT. Although the code is obfuscated, it doesn't have any
of GWTs tell-tale signs.
@Rudolf - anything specific in the source that makes you think it is GWT?
--Sri
On 9 June 2010 15:26, rudolf michael roud...@gmail.com wrote:
yes, i can confirm this after looking at the
You have two options -
1. Use a proxy server to proxy requests from your server to the external
domain. The new url will then be something like
http://myserver.com/extserver/CallProgram. Then use regular
RequestBuilder to make the calls. Apache's mod_proxy can do this job easily,
*IMHO, once you have deployed new code, you want to tell the users to
refresh the browsers as soon as possible. Trying to get old clients working
with new code can work at times; but since there is no guarantee I prefer to
fail-fast.*
*
*
*re. Old Client, New Server*
I prefer to take a different
In addition to whatever Chris already mentioned, you should also catch
IncompatibleServiceException when you make RPC calls, and ask the user to
reload/refresh the page.
--Sri
On 7 June 2010 14:44, Chris Lercher cl_for_mail...@gmx.net wrote:
Maybe it should be said, that don't cache doesn't
It seems you are making a cross-domain request. In general, you cannot use
RequestBuilder to make cross domain calls.
--Sri
On 7 June 2010 23:39, Alex monsterno...@gmail.com wrote:
im getting empty string from response.getText()
and response.getStatusText() give OK
must the response from
java.lang.NoSuchMethodError: org.mortbay.thread.Timeout
This usual indicates problems with the classpath. Do you have multiple
versions of Jetty in your classpath by any chance?
To identify duplicate classes in eclipse, hit Ctrl+Shift+T to bring the
'Open Type' dialog. Search for the class
On iPhone/iPad, mobile safari raises touch
eventshttp://developer.apple.com/safari/library/documentation/appleapplications/reference/SafariJSRef/index.html#//apple_ref/doc/uid/TP40001482.
You can write javascript code to listen to these events. Since these events
are browser specific, GWT doesn't
Is there any way I could get the http response header information here?
No. Browsers don't allow access to response headers unless you are using
XmlHttpRequest, or you are using a plugin such as Flash.
If you want to get back some data, return it as part of the response body.
--Sri
On 4
You CANNOT connect to databases when using google app engine. GAE has
several restrictions, you should go their documentation and post follow up
questions on the GAE user forum.
--Sri
On 1 June 2010 05:16, Emma Cole emma.cole.positive.vo...@gmail.com wrote:
Hi all,
I have an application
Thanks for the link, Thomas.
I thought Safe HTML would take unsafe html, strip out any malicious code and
return safe html that can be inserted into the DOM. Turns out they are just
escaping HTML the way OWASP
In general, you should use GWT RPC; it is pretty good for most use cases.
You can always optimize later if needed.
*Comparing various methods*
GWT RPC is also a HTTP call. The only difference is in the (de)serialization
mechanisms employed by each method. There really isn't a single good
You have two options -
1. Keep all applications in the same module, and then use code-splitting
to ensure only necessary code gets downloaded
2. Maintain separate modules for each app, plus a common module that
every app reuses.
Both have advantages and disadvantages, and you should
public class MyServiceImpl extends RemoteServiceServlet implements
MyService
The above line is wrong. It should NOT extend RemoteServiceServlet.
Just extend the regular HttpServlet and it should work.
--Sri
On 3 June 2010 00:59, J-Pro jpro@gmail.com wrote:
Hello, dear GWT gurus!
Confirm that all classes participating in RPC -
1. implement Serializable
2. have a zero-argument constructor
Most of the times I forget zero-argument constructor, and that's when I get
errors similar to what you have pasted.
--Sri
On 31 May 2010 20:23, svincent shawn.vinc...@gmail.com
This isn't a GWT problem, its a GAE problem, and you are more likely to get
an answer on that forum. But from what I know ...
.. you can read files that are present in the war file, but you still cannot
read it as a File. Instead, you should read it from the classpath, like
this
Its not a GWT limitation, its a browser restriction - Same Origin Policy.
There are ways to workaround the limitation. In your case, you can setup a
proxy server to forward the requests from one domain to another. Apache
mod_proxy can help you with this.
For example, suppose you have
java.lang.Class.getCanonicalName()Ljava/lang/String;
Can you double check your JDK Version? Do you have multiple versions of JRE
libraries in your classpath?
--Sri
On 1 June 2010 15:24, Kapil Kulkarni kapilkulkarnip...@gmail.com wrote:
Hi,
I am new to GWT and in learning mode.
I working
There is a big difference between a website and a webapp, and deciding which
is more suitable for use case is more important than choosing the
technology.
*Website* is old-school. There are multiple pages, and moving from one page
to another is done via hyperlinks. Websites aren't interactive,
There are a few things that you should keep in mind before you try to
understand the MVP pattern
1. You don't have reflection or observer/observable pattern on the client
side.
2. Views depend on DOM and GWT UI Libraries, and are difficult to
mock/emulate in a pure java test case
He means 3 *lac http://en.wikipedia.org/wiki/Lakh* rows, which is 300,000
thousand rows.
This isn't really a GWT discussion - but 65536 rows is the maximum excel can
support. You can however create multiple sheets and get around that.
--Sri
On 30 May 2010 06:45, mP miroslav.poko...@gmail.com
@Kozura - No, not a constant. A constant is hard-coded data. Instead, you
need the ability to dynamically generate data, serialize it and store it in
the host jsp.
Take a look at this blog post -
http://www.techhui.com/profiles/blogs/simpler-and-speedier-gwt-with
and a follow-up
by folks at
services to support both with the same codebase, you can reuse your services
from a wide range of clients (Mobile apps / Swing / GWT etc)
--Sri
On 28 May 2010 21:07, Sripathi Krishnan sripathi.krish...@gmail.com wrote:
See http://www.gdevelop.com/w/blog/2010/01/10/testing-gwt-rpc-services
The point I do not get about this is why the browser does not react to the
content disposition by downloading the file and instead passing the
response back to the ajax-world... snip ... I read a lot about that doing
what i would like to do is not possible but no one really said why.
I don't think it is possible to minimize or maximize a browser through
javascript.
--Sri
On 26 May 2010 09:54, Subbu siva.subraman...@gmail.com wrote:
Hi,
If the browser is minimised, I am looking for an solution which
should activate and show the firefox browser by an event from the
As i mentioned on SO, you should expose your api via a shared java jar
file. That gives you reuse of code, and overheads on gwt are avoided.
As long as app1 and app 2 are completely different, the above approach
works find. But if they are two pages on the same website, you are
using gwt
I think it is the javac compiler failing, not GWTC. Also, I'd guess you are
using JDK 1.5.
In JDK 1.5, @Override annotation cannot be applied to methods that implement
an interface; they can only be applied to a method that overrides a method
from a class. In your case, the clone method is
Although it can be accomplished, please don't.
*How it can be done?*
1. RPC async interface implements ServiceDefTarget. Using this interface,
you can set a custom RpcRequestBuilder
2. In your custom RpcRequestBuilder, override the doCreate() call
super.doCreate() and get an instance
I'd certainly use Buttons.
Performance wise, calling innerHTML is a lot faster than doing DOM
manipulations. If you are using GWT widgets for every button, it is going to
slow down the site. Usability wise - use a button when you mean a button.
It makes your website more accessible and
.
The authentication could be done against the same auth module (i.e.
LDAP) but the GWT-RPC session would be a different session from the
proxy/backend-server session.
So, how does the proxy servlet 'link' the 2 sessions?
sorry if that sounds dumb, I'm not sure how to phrase it.
On May 25, 3:28 pm, Sripathi
GWT creates a hidden iframe with an id equal to whatever your module is
renamed to. In your case, you had a div with id=Hangman, and GWT inserted
an iframe with *the exact same id*. This caused the problem you were facing.
Renaming the div got rid of the duplicate id, and that's why the
Not sure about the 2 KB thing, its browser specific. AFAIK, newer browsers
allow more than 2K in the url.
But in general, there is always a limit to the state that can be stored on
the client side. After a certain point, you'd have to store opaque tokens
that can only be understood by the server.
Thomas,
Isn't this the issue
youhttp://code.google.com/p/google-web-toolkit/issues/detail?id=3946are
speaking about? I have been following that issue, and I thought they
fixed it by modifying the flute source code.
I'm still stuck on older version of GWT, so haven't really tried this
myself. Does
Its there on the trunk of GWT, don't know about the 2.0.3 branch.
See
http://google-web-toolkit.googlecode.com/svn/trunk/user/src/com/google/gwt/core/client/prefetch/
--Sri
On 21 May 2010 18:53, Andrew Hughes ahhug...@gmail.com wrote:
Hi All,
I've having a look at the source for the GWT
I'd recommend using DTO's. Whether you use Dozer or not is secondary.
The motivations for this approach are in this thread -
http://groups.google.com/group/google-web-toolkit/msg/f9290388bbf5a5f8. In
general, you want to keep your UI Model (i.e. DTO) separate from your Domain
Model (hibernate
Remove all google app engine jars from the project classpath and try again.
--Sri
On 20 May 2010 22:55, Nick Jost lordkak...@gmail.com wrote:
I'd been using App Engine since that is the default setting. However,
I need to turn that off because I need access to local file storage on
the
Are you posting to a different port on the same host? AFAIK, IE allows you
to post to the same port, but other browsers consider it a violation of same
origin policy.
--Sri
On 20 May 2010 20:32, Mike Apolis michaelgb@gmail.com wrote:
When sending the code below, everything works great in
I don't think it is possible to create an image using base64 encoded data.
Even if it were possible, you don't want to do it for a lot of reasons,
namely
a) RPC uses POST, which is not easily cacheable
b) Its a waste of bandwidh. RPC and base64 both have their overheads
c) You have to deal with
I'm not sure about adding this feature but
maybe a better documentation about the bad idea of using sync
request.
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideGettingUsedToAsyncCalls
Could somebody please explain to me why this is needed?
AFAIK, this wasn't always the case. Issue
370http://code.google.com/p/google-web-toolkit/issues/detail?id=370
has
some information on why this was introduced. The class name are required so
that you can use the getClass() method on an
On the server side, you are free to use any language you want. Several
people have been successful in using PHP as a backend server.
On the client side, only Java is supported. Since GWT is a java sourcecode
- javascript compiler, it is NOT possible to use other jvm languages. There
has been some
, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
Could somebody please explain to me why this is needed?
AFAIK, this wasn't always the case. Issue
370http://code.google.com/p/google-web-toolkit/issues/detail?id=370
has
some information on why this was introduced. The class name
When deployed to tomcat as javascript, it will always return true.
--Sri
On 16 May 2010 20:38, fonghuangyee fonghuang...@gmail.com wrote:
Returns true when running inside the normal GWT environment, either
in hosted mode or web mode. Returns false if this code is running in a
plain JVM.
successfully use App engine to load GWT.
On May 7, 6:47 pm, Chris Conroy con...@google.com wrote:
On Thu, May 6, 2010 at 11:05 PM, Sripathi Krishnan
sripathikrish...@gmail.com wrote:
Technically, in the very first request, the server already knows
user
browsers' type
I created a
utilityhttp://blog.530geeks.com/2010/05/view-gwt-metrics-in-firebug.htmlto
see GWTs lightweight metrics in the firebug console window; thought
this
group may find it useful.
gwtmetrics http://code.google.com/p/degwt/wiki/gwtmetrics is just a js
file that can be injected into any page
? My application opening a file, basically
it is just a better looking webserver. However, it doesn't look like
inheritance from servlet security restriction...
Is there more document mention why GAE do that?
On May 12, 2:14 am, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
I am
See
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideDeRPC
They won't be removed, but not many people have used it so far. If it works
for you, stick with it. If you do find a bug later (rare, I'd say), its
trivial to change to the older interfaces.
--Sri
When you hit your website, do you pass the
gwt.codesvr=127.0.0.1:9997parameter in the URL? If you don't pass that
parameter, the browser will
execute the compiled JS code, which isn't what you want.
--Sri
On 9 May 2010 11:48, Willis jameswillisweak...@gmail.com wrote:
Hi All,
I've just
Your startup url should have the url parameter gwt.codesvr=127.0.0.1:9997.
Thats the magic parameter that kicks in the GWT browser plugin which in turn
evaluates java byte code.
--Sri
On 12 May 2010 01:43, arkady arkad...@gmail.com wrote:
Hey folks,
I have a weblogic server running with my
Could they be in a separate resources directory as long as they're included
in the classpath and their packages match their corresponding UiBinder
interfaces?
Yes, it should work. Add your resources folder to source path in eclipse
(instead of classpath as you currently have it).
--Sri
The problem is that /#login and #securepage are the same page as far as
Spring is concerned. The part of the url after the # is not sent to the
server, and so Spring never really sees it.
I'd recommend creating the login page outside of GWT, as a simple html page.
Then, protect your GWT page
You can't, and you don't want to.
You can't, because javascript doesn't provide any way to read the contents
of a file that is stored locally. You can't read the http header info when
the browser submits a multi-part post request. There just isn't a way to do
it (unless you are willing to write
frank.har...@gmail.com wrote:
Because it is a much better user experience to show an error message right
away rather than letting the user wait for a long time and then telling him
the upload has failed.
On Tue, May 11, 2010 at 13:52, Sripathi Krishnan
sripathi.krish...@gmail.com wrote
1 - 100 of 352 matches
Mail list logo