How to :forward Java output to JSP

V

Vivek

hi
i have a application return in Java , i need to take input to to java
app from the JSP page and display the output of the Java app in a
web browser
does anybody know how to do this !!!
 
S

sri224455

<jsp:useBean id="details1" class="testsite.beans.login" scope="page"/>
is used to attach the java app
<%
if(request.getParameter("txtUname")!=null) {
String uname=request.getParameter("txtUname");
String pass=request.getParameter("txtPass");

details1.login(uname,pass)%>used to retrive the data from jsp to java
app
 
A

Abhi

hi
i have a application return in Java , i need to take input to to java
app from the JSP page and display the output of the Java app in a
web browser
does anybody know how to do this !!!

Vivek
can u be a little more descriptive as 2 what u xactly need??
also wat u mean by this-->i have a application return in Java

Regards
 
V

Vivek

Vivek
can u be a little more descriptive as 2 what u xactly need??
also wat u mean by this-->i have a application return in Java

Regards

hi thank for the advice , i never thought about it that way ...
but the Java file that i am dealing with is really huge with many
methods . so is there any other way using which i can pass command
line arguments to the java file from the JSP file and display the
output of the java file in a web page using JSP file.

and sorry for crudely framing the question ...
http://groups.google.co.in/group/comp.lang.java.programmer/
browse_thread/thread/d900e6fd48c59281/0a8ad3ee5294dd78?
hl=en#0a8ad3ee5294dd78
i re framed the question in the aforementioned thread
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top