aspose file tools*
The moose likes JSP and the fly likes error fowarding while calling a method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "error fowarding while calling a method" Watch "error fowarding while calling a method" New topic
Author

error fowarding while calling a method

daniel schulken
Ranch Hand

Joined: Sep 23, 2000
Posts: 34
here is what i am trying to do.
%>
<jsp:forward page="<%=NavigationBean.getNextJsp("Next","/jsp/itemsetup/ItemCharacteristicsList.jsp",ItemMasterInstanceBean.currentItemMaster.getType_of_item().charAt(0))%>" />
<%
I am getting a Attribute Next has no value error message at compile.
any ideas?
thanks
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
My guess is that your nested use of double-quotes ("") is getting you in trouble. Try changing the outer level to single-quotes:
<jsp:forward page='<%=NavigationBean.getNextJsp("Next","/jsp/itemsetup/ItemCharacteristicsList.jsp",ItemMasterInstanceBean.currentItemMaster.getType_of_item().charAt(0))%>' />


Ron Newman - SCJP 1.2 (100%, 7 August 2002)
 
Don't get me started about those stupid light bulbs.
 
subject: error fowarding while calling a method