> hi
> i don't think u can use servlet tag in jsp instead use a form tag
> and call the servlet using the action property
> regards
> saravana kumar
>
Sure, why not? JSPs just create HTML, and if you can put SERVLET tags in
HTML, then you should be able to in JSP.
> > I'm using SERVLET tag inside my jsp to kick off a servlet. but the
servlet
> > is not getting loaded.
> >
> > This is my code :
> >
> > <SERVLET NAME="AccountSummaryServlet" CODE="AccountSummaryServlet"
> > CODEBASE="http://90.5.5.100/servlet/">
> > </SERVLET>
> >
> > The name of the servlet i want to Kick off is AccountSummaryServlet.Can
> > anyone tell me if there is anything wrong in this code.
I'd suspect that something is wrong, or you are not coding very nicely.
Your servlet should be in a package, though you do not seem to indicate that
such a package exists. For example, we have something like this, which
shows our SessionTracker servlet is in the com.myeastside.servlet package.
<SERVLET NAME="SessionTracker"
CODE="com.myeastside.servlet.SessionTracker"></SERVLET>
Be careful with the CODEBASE. Many JVMs won't let the codebase point to
locations other than where the HTML file was downloaded file. In our case,
we just put our servlet where we put ALL of our servlets, so the servlet
engine (JRun in our case) finds it on its own. Hope this helps since I
don't use such SERVLET tags anymore (since JSPs!).
David
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html