• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing parameters to Servlets

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Friends...

I am working on an application in which i have to pass certain name/value pairs to the servlet through HTTPConnection in MIDP2...Since i dont have hands on experience in these areas i have a view in using the following;

1)setHeaderFields() in Mobile and retrieve with getHeader(and friends)in the servlet

2)setRequestProperty() in Mobile and getParameter() in servlet (can we also use request.getAttribute()?)

This is what is currently running in my mind...Please advice me on the using the above...

And how can we ensure data integrity from mobile( any encryption and stuff)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic