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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
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: 12617

@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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i pass the value from the java standalone to jsp without database
 
Similar Threads
Passing Variable from JSP to JAVA
how can i pass the value from the java standalone to jsp without database
begining level of web service
what java technology can i use for intranet connection programs.
Session expires ,user session expires when online