Re: communicate servlet from jsp

Sireesha Beeram <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
To send the call to the servlet page:

1.In your jsp page, put
<FORM action="aa" method="post">-->"aa" servlet's doPost() method will be
called. From here you can direct the call to different places

or
2. You can include java beans in the jsp page using->
<jsp:usebean id="bean" class="bb"..>
and you can call methods on this included bean
${bean.property}

You can also check:
http://www.javaworld.com/javaworld/jw-05-2003/jw-0523-calltag.html

hope this is what  you are asking for..





>From: Shiva Kumar <[email protected]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>         Servlet API Technology." <[email protected]>
>To: [email protected]
>Subject: communicate servlet from jsp
>Date: Wed, 16 Jun 2004 01:29:22 -0600
>
>hi all,
>
>my servlet has some methods,and it has deployed in webserver .i want to
>call that servlet methods from a jsp page.
>plz help me how to call servlet methods from a jsp.
>the path is like this.webapps is webserver root folder.
>individual jsp files and servlets are working fine.
>
>webapps--->*.jsp
>webapps-->WEB-INF-->web.xml    (description of all servlets)
>webapps-->WEB-INF-->classes-->*.class    (servlet classes)
>
>
>
>thanks in advance
>shiva kumar
>
>___________________________________________________________________________
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

_________________________________________________________________
Getting married? Find great tips, tools and the latest trends at MSN Life
Events. http://lifeevents.msn.com/category.aspx?cid=married

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.