rakesh sugirtharaj

Ranch Hand
+ Follow
since Dec 16, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rakesh sugirtharaj

Hi all,

I am exploring the features of GWT2.0. One of the feature seems to be using a server of our preference in the hosted mode, rather than the inbuilt jetty that comes with GWT. I have been trying to do this with no success. I read through the documentation here and searched but I am unable to do it or should I say I dont understand how to do it.

To make things more clear, I want to do the same debugging and stuff that I am able to do with Jetty, with my external container also.

Can someone please explain? And also when I run an application with Jetty I get the url appended with a parameter '?gwt.codesvr=<some port no>' . What is the significance of this?

Thanks in advance.
9 years ago
GWT
Preethi,
Can you elaborate on what you are trying to do? You want to use the java code in the web context?
9 years ago
Vinod,

The exception trace is too small.. Can you paste the entire exception. Also google for "JCE Unrestricted strength policy files". It may help.
9 years ago
I dont know the soluton but this error probably occurs because of the difference in jvms - between IBM and Sun's versions. does someone know the solution?
9 years ago
Hello,

I m new to EJB so this may sound naive. I see that the only required tag in persistence.xml is persistence unit with name and all others are optional. My question is, in such a case is persistence.xml file required? Should every project using JPA must have a persistence.xml?
The answer is simple if you know why we need xml when there is html.
10 years ago
Hello All,

I m creating a CXF client that tries to access a webservice over SSL. I have the certificate and I was able to generate the stubs by providing vm args for Trust store and keystore like -Djavax.net.ssl.keyStore=<keystore location> etc. For the actual invocation of the service i tried the method specified in CXF site which uses a 'cxf.xml' file to define a http-conduit element but it didnt work(or i did it wrong). One way i know this will work is by setting the "System.setProperty". But is this recommended? Because i have a very bad feeling about changing system properties.


Thanks in advance.
10 years ago
I dont understand your code. Why is it re dispatching/forwarding to the same page?
10 years ago
Put the <a> outside the form and let us know
10 years ago
Hi,

I m trying to do Html extraction from web pages using commons httpclient. I managed to find a way to supply credentials to sites that require Basic Authentication but sites with NTLM authentication are throwing exception(InvalidCredentialsException). I tried to search about NTLM and found that there is a TYPE1,2,3 messages that are sent between client and server. But i dont understand it much. Can some one explain NTLM and also tell if there is a way to do this html extraction from sites that have this Authentication mechanism?
Hi,

I went through that article but i find it difficult to understand the code examples and also what he means by behavior here?
10 years ago
Hi,

I would like to know what is the difference between a mock object and a stub?
10 years ago
I dont think using java for this is the best solution and i surely dont know why you are hesitating to use javascript when whole world is going ga-ga over web2.0 and RIA. Anyway, you can catch the exception and forward to an error page. Frameworks like Struts have specilaized options for this sort of validation.
10 years ago
Jeanne,

Thanks for the link. But my code worked perfectly when i used .java files in my fileset.
10 years ago

You can validate the field (may using java script) not to have null and characters.

Better option would be to validate to a number using javascript.
10 years ago