Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:useBean & jsp:include tags

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>
</jsp:include>

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.
Thanks.
sunil roy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic