This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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

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

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?
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)
I agree. Here's the link:
subject: error fowarding while calling a method
It's not a secret anymore!