What are you using a FileInputStream and InputStream for on the client
side? I don't think they would be valid for GWT client Side code. If
you want input you either have to get it from one of your widgets
(TextBox, TextArea..etc) or from the server via an RPC call or HTTP
request.

On May 20, 6:50 am, abhiram <[email protected]> wrote:
> Hi all,
>
>   I am developing a password hashing approach for my project. I first
> convert my password string into a MD5 String and and send it across to
> the server side where i compare it with the MD5 string saved in the
> database.
>
>   I used a code for doing the string conversion to MD5 at client side
> but I am getting errors for the following import statements that I
> used.
>
> import java.io.FileInputStream;
> import java.io.InputStream;
> import java.io.UnsupportedEncodingException;
> import java.security.MessageDigest;
> import java.security.NoSuchAlgorithmException;
>
>   And the error was something like "java.io.FileInputStream can not be
> found in source packages. Check the inheritance chain from
>  your module; it may not be inheriting a required module or a module
> may not be adding its source
>  path entries properly."
>
>   Please let me know if i am missing out something as I am not sure
> what i need to add in the .gwt.xml file for this.
>   First of all, is it possible to put this code in the client side?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to