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

Greenhorn
+ Follow
since Aug 01, 2008
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 Rajit Patel

Thanks...
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
javax.ws.rs.WebApplicationException
at org.restlet.ext.jaxrs.internal.provider.AbstractJaxbProvider.getJaxbContext(AbstractJaxbProvider.java:65)
at org.restlet.ext.jaxrs.internal.provider.AbstractJaxbProvider.marshal(AbstractJaxbProvider.java:84)
at org.restlet.ext.jaxrs.internal.provider.JaxbProvider.writeTo(JaxbProvider.java:106)
at org.restlet.ext.jaxrs.internal.wrappers.provider.SingletonProvider.writeTo(SingletonProvider.java:335)
at org.restlet.ext.jaxrs.internal.util.JaxRsOutputRepresentation.write(JaxRsOutputRepresentation.java:105)
at com.noelios.restlet.http.HttpServerCall.writeResponseBody(HttpServerCall.java:492)
at com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:428)
at com.noelios.restlet.http.HttpServerConverter.commit(HttpServerConverter.java:391)
at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:148)
at com.noelios.restlet.http.StreamServerHelper$ConnectionHandler.run(StreamServerHelper.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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

Please anybody can help me???
12 years ago
Hi,

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
JSF
I want to add navigation rule on the fly...anybody can help???
13 years ago
JSF
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
JSF