This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing parameters to Servlets  RSS feed

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)
money grubbing section goes here:
Thread Boost - a very different sort of advertising
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!