This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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)
 
 
subject: error fowarding while calling a method