Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i pass the value from the java standalone to jsp without database

 
zita lakshmi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I need to bush a value from a standalone java application to a jsp. Currently i am using database in between java and jsp.
how can i pass the value from the java standalone to jsp without database.

please asses me. Thanks
 
Eduardo Yañez Parareda
Ranch Hand
Posts: 93
IntelliJ IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to open an HTTP connection, then send a GET or POST request to the server that serves that JSP.

The JSP has to get your value from the request as a 'Parameter' or 'Attribute'.

 
zita lakshmi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Thanks for your reply.

Please send sample link for that.



Is this process need webservice.

Please assess me. Thanks

 
Eduardo Yañez Parareda
Ranch Hand
Posts: 93
IntelliJ IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here you have a sample, but you'd have to search samples yourself using Google or whatever you like.

Sample
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Zita: I think you mean "assist" me :) "Assess" means to "evaluate or estimate the nature, ability, or quality of."

I'd consider taking some time to check out some of the basic Java web app tutorials before proceeding much further; pretty much any servlet/JSP example will do what you're asking about.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic