File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jsp:useBean  &   jsp:include   tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp:useBean  &   jsp:include   tags" Watch "jsp:useBean  &   jsp:include   tags" New topic

jsp:useBean & jsp:include tags

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
1) <jsp:useBean > tag
Is it necessary to have BDK installed to use <jsp:useBean > tag in JSP pages?
I have tried to use this tag in JSP (using JSWDK .0.1)
& getting an error message that the Bean class is not found.
2) <jsp:include > tag
With JSWDK 1.0.1, I am getting an error message(against the first line of the following code) that the include tag is unterminated & the code does not get compiled.
<jsp:include page="two.jsp" flush="true">
<jap aram name="attribute1" value="value1"/>
<jap aram name="attribute2" value="value2"/>

Instead of the above code, if I replace the first line by
<jsp:include page="two.jsp" flush="true"/>
then the code does get compiled but there is no use since the parameters do not get passed.
Pl. inform if it is due to a bug in JSWDK 1.0.1 or some other reason.
Pl. inform the remedy urgently.
Also, pl. inform if there are any more such problems while using syntacticaly correct codes or if there are any bugs in JSWDK 1.0.1
Also, pl. inform if there are any problems faced if I use JSP instead of Servlets for Server side Programming.
sunil roy
I agree. Here's the link:
subject: jsp:useBean & jsp:include tags
It's not a secret anymore!