wood burning stoves 2.0*
The moose likes JSP and the fly likes communication between jsp and servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "communication between jsp and servlet" Watch "communication between jsp and servlet" New topic
Author

communication between jsp and servlet

kanna kancharla
Greenhorn

Joined: Aug 23, 2012
Posts: 14



i'm new to java.
actually i want to transfer the data from jsp file which is used as an interface to servlet and then the servlet has to preform the related calculations and dispatch the result to another jsp file. following is the code which I've used for that but it's not working. any expert who sees the post please try to solve my problem
and please give the code which i should use. thanks in advance


Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272

Please give us more info. Also use code tags to post your code. If you received any exception on your console, post that .


Ashwin Sridhar
SCJP | SCWCD | OCA
kanna kancharla
Greenhorn

Joined: Aug 23, 2012
Posts: 14

thanks ashwin for replaying

i didn't got any exception on console---

the below one is the jsp code which is used for interface



this is code for displaying result from servlet


Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272

Please show your form tag in jsp. Is your action correspond to the annotation you have given in your servlet.
kanna kancharla
Greenhorn

Joined: Aug 23, 2012
Posts: 14

resolved
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: communication between jsp and servlet