File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes how can i pass the value from the java standalone to jsp without database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how can i pass the value from the java standalone to jsp without database" Watch "how can i pass the value from the java standalone to jsp without database" New topic
Author

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

zita lakshmi
Ranch Hand

Joined: Nov 13, 2009
Posts: 37
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

Joined: Oct 09, 2008
Posts: 92

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'.


http://serfj.sourceforge.net - Simplest Ever REST Framework for Java
zita lakshmi
Ranch Hand

Joined: Nov 13, 2009
Posts: 37
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

Joined: Oct 09, 2008
Posts: 92

Here you have a sample, but you'd have to search samples yourself using Google or whatever you like.

Sample
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
@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.
 
 
subject: how can i pass the value from the java standalone to jsp without database
 
Threads others viewed
what java technology can i use for intranet connection programs.
begining level of web service
Passing Variable from JSP to JAVA
Session expires ,user session expires when online
how can i pass the value from the java standalone to jsp without database
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture