File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp:useBean  &   jsp:include   tags" Watch "jsp:useBean  &   jsp:include   tags" New topic
Author

jsp:useBean & jsp:include tags

Anonymous
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"/>
</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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jsp:useBean & jsp:include tags
 
Similar Threads
Problem with forward and include JSP tag
Why is this code gives me compile error???/
Using JSP with servlets
JSP include and param problem !!!
Strange Behaviour of jsp:param action