Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing parameters to Servlets  RSS feed

 
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)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!