Hi
we have our own framework to implement localization in J2EE application,
the framework has simple jdbc call, servlet and JSTL(fmt) tag.
is it possible to use same frame work in gwt application also.
i didnt have problem in invoking servlet which intenally calls JBDC class,
but i am facing
2) timestamp, rename, and map to appname.nocache.js** (done in linker)
We had the same problem. But instead of doing what you did, we found in the
doc that the nocache.js file should be returned by HTTP servers as
non-cachable. This solves the issue. You just write a servlet that sets
We had the same problem. But instead of doing what you did, we found in the
doc that the nocache.js file should be returned by HTTP servers as
non-cachable. This solves the issue. You just write a servlet that sets
Headers when delivering that file.
OK but I don't understand. Isn't
I do not underatand how to implement step 2 and 3, so I try to use GWT-RPC
to call servlet to export the data, to simplify the case, I just try to
hardcode the output text first, with the following code in the
RemoteServiceServlet
public void exportHistory(ArrayListString sqlHistory){
I think you're confusing two different things:
- browser cache
- Application Cache (the feature added in HTML5)
They are 2 different caches.
A browser can (and will) store nochache.js file in Application Cache
(HTML5) even if it is not storing it in regular browser cache.
--
You received this
I think you're confusing two different things:
- browser cache
- Application Cache (the feature added in HTML5)
They are 2 different caches.
A browser can (and will) store nochache.js file in Application Cache (HTML5)
even if it is not storing it in regular browser cache.
Yeah I think you
FYI:
We took the servlet for tomcat from here:
http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html
I remember GWT docs were having an example on how to do that for Apache.
After the transfere to 'developers.google.com' site, I cannot find it. I'm
sure it's there
On Monday, June 18, 2012 2:23:32 PM UTC+2, dominikz wrote:
FYI:
We took the servlet for tomcat from here:
http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html
I remember GWT docs were having an example on how to do that for Apache.
After the transfere to
I'm wondering what has darken my mind in such a way that I couldn't find it
easily.
Thanks
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
On Monday, June 18, 2012 5:54:22 PM UTC+2, dominikz wrote:
I'm wondering what has darken my mind in such a way that I couldn't find
it easily.
Don't worry, it does it to me all the time too ;-)
I know it's easy to find, but can't find it without opening at least 5
pages.
--
You
Hi,
is it possible to do a cross-site request with very little JSNI or none at
all?
I am a beginner and followed this tutorial:
https://developers.google.com/web-toolkit/doc/latest/tutorial/Xsite
Is it possible to do the same without ever writing native JS code?
Cheers,
Carsten
--
You
Sure you can do the same thing with JsonpRequestBuilder
(http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html).
-- J.
Am Montag, 18. Juni 2012 20:11:53 UTC+2 schrieb Carsten:
Hi,
is it possible to do a cross-site request with very
is the request done by post or get ?
On Mon, Jun 18, 2012 at 9:54 PM, Jens jens.nehlme...@gmail.com wrote:
Sure you can do the same thing with JsonpRequestBuilder (
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
).
-- J.
Am
is the request done by post or get ?
JSONP is always a GET request.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/8-8M9x-umF4J.
To
I had tried a POST request but perhaps I formatted it incorrectly.
Would you have an example by any chance?
What I had tried was:
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST,
URL.encode(http://genome.ucsc.edu/cgi-bin/hgCustom;));
try {
thanx
On Mon, Jun 18, 2012 at 11:14 PM, Jens jens.nehlme...@gmail.com wrote:
is the request done by post or get ?
JSONP is always a GET request.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the
Tong,
I'm not sure whether you are saying that is it throwing an exception, or
that your request is coming back with an HTTP error code:
Case 1 - Except
You are only catching IOException, which will not catch all exceptions. Try
adding another catch below that for Exception or setting Eclipse
CF,
Without running your code, I see an error with how you are sending the
parameters. You are just sending that raw, unencoded URL and you're not
setting the key for it (hgt.customText). You need to send all the expected
parameters and encode them as key/value pars. See the following example
Thomas,
Is there any way to constrict the search on the GWT
DevGuidehttps://developers.google.com/web-toolkit/doc/latest/DevGuide page to
just GWT Developer pages? I really like other docs pages where you
can just type and get the relevant pages, rather than digging. Like you,
I've read all
Are you calling this from an RPC? It looks like you are (rpc.
InvocationExceptionhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/rpc/InvocationException.html).
An RPC expects an RPC serialized response, not what it is getting. To get a
file back like this,
Thanks for your reply.
yes, I am using rpc for the previous code.
to post a form, I remember FormPanel. but the example above is just a
simplified case. in real, I need to pass a search history Map (time as the
key, criteria string as the value) to servlet and use the servlet to export
the Map
LGTM
http://gwt-code-reviews.appspot.com/1739803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1741804/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: Nick Chalko,
Description:
Added ElementType to ConstraintDescriptors and ConstraintViolations.
Used ElementType to handle edge cases of duplicate ConstraintViolations
being generated.
Fixes issues: 5798
Please review this at http://gwt-code-reviews.appspot.com/1746803/
Affected
LGTM
It isn't showing up properly here, but I assume it is the same as the
internal change.
http://gwt-code-reviews.appspot.com/1747804/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1746803/diff/1/user/src/com/google/gwt/validation/client/impl/ConstraintViolationImpl.java
File
user/src/com/google/gwt/validation/client/impl/ConstraintViolationImpl.java
(right):
26 matches
Mail list logo