File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Nesting jsp scriplet inside jsp: tags" Watch "Nesting jsp scriplet inside jsp: tags" New topic

Nesting jsp scriplet inside jsp: tags

Suresh Koppisetti

Joined: Jan 10, 2003
Posts: 3
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..
I agree. Here's the link:
subject: Nesting jsp scriplet inside jsp: tags