File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Nesting jsp scriplet inside jsp: tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Nesting jsp scriplet inside jsp: tags" Watch "Nesting jsp scriplet inside jsp: tags" New topic
Author

Nesting jsp scriplet inside jsp: tags

Suresh Koppisetti
Greenhorn

Joined: Jan 10, 2003
Posts: 3
Hi,
I'm trying to use a JSP scriplet inside a jsp:forward tag as part of the file attribute.
This is working perfectly fine on Tomcat but I'm now tring to port the app onto Weblogic 7.0 and I'm getting all sorts of errors.
Here is the code I'm trying to fix:
...
<jsp:forward page='/bpcontroller/cmd=<%= request.getParameter("cmd") %>' />
...
Are there any implementation differences between different J2EE App servers. Apparently I feel there is some difference in how Apache handles things vis a vis Welogic.
Anyone please suggest how to fix this. Awaiting a quick response..
Thanks
Suresh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Nesting jsp scriplet inside jsp: tags