This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Rajit Patel

+ Follow
since Aug 01, 2008
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajit Patel

If you can give the steps to enable the Global security then it would be great help.
11 years ago
Thanks Akhil...

YOu are correct...i am working with RAD7.5 and WAS 6.1... I am new with WAS...

So could you please tell me how to enable Global security ?
11 years ago
Hi I am getting same Problem...

I am surprised !!! There is no reply from any rancher...

There are must be intelligent ranchers available on this forum..

Please reply soon...
11 years ago
Hi All..

I am writting a REST based webservices using REST Easy API. Webservice is giving result in either application/xml or application/json as per accept Header. When my result is application/xml, i am gettting a below exception on console..

SEVERE: An exception occured writing the response entity
at org.restlet.ext.jaxrs.internal.provider.AbstractJaxbProvider.getJaxbContext(
at org.restlet.ext.jaxrs.internal.provider.AbstractJaxbProvider.marshal(
at org.restlet.ext.jaxrs.internal.provider.JaxbProvider.writeTo(
at org.restlet.ext.jaxrs.internal.wrappers.provider.SingletonProvider.writeTo(
at org.restlet.ext.jaxrs.internal.util.JaxRsOutputRepresentation.write(
at com.noelios.restlet.http.HttpServerCall.writeResponseBody(
at com.noelios.restlet.http.HttpServerCall.sendResponse(
at com.noelios.restlet.http.HttpServerConverter.commit(
at com.noelios.restlet.http.HttpServerHelper.handle(
at com.noelios.restlet.http.StreamServerHelper$
at java.util.concurrent.Executors$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)

One more thing, I am using Jaxb to convert object to xml..

Please anybody can help me???
12 years ago

I am new for security. I want to encrypt and decrypt sensitive information before storing in database using server certificate.

Right now i am encrypting and decrypting information using RSA algorithm and generating public and private key from KeyGenerator class..

But i dont know how to use certificate in code to encrypt and decrypt data. I have generated certificate using keytool.

if anybody can help me with code, then it will be great help for me.....

Thanks in andvance................
12 years ago
Hi Raunak,

You can use filter to fulfill your requirement. In filter, get the session from request using

HttpSession session = httpServletRequest.getSession(false);

it gives a older session, check session is valid or not, if not then you can redirect your request to Login page.
No man..its not helpful..
13 years ago
I want to add navigation rule on the fly...anybody can help???
13 years ago
I am creating a JSF page dynamically. I want to add Body and Div tag in viewRoot.
How can i add? If anybody can reply with code snippet that it will be great. Anybody can help me...............ASAP
13 years ago