• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help!! How can I send UDP message in a JSP page?

 
Jacket lee
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help!!I have a urgent question .
How can I send UDP message in a JSP page?
 
James Hobson
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP normally uses HTTP or HTTPS at the application layer.
UDP is a transport layer protocol, so I dont see how or why you could specify its use.
What you are asking, is like asking how to use token-ring for jsp.
JSP is a presentation technology, not a networking API.
James
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could certainly have a helper class (possibly a JavaBean style) that did the UDP, but as James says, JSP is for presentation. People keep trying to cram all sorts of computation into their actual JSP page code - I just can't understand why they try it.
Bill
 
Jacket lee
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it now. Thank James and Bill.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!