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 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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error fowarding while calling a method
 
Similar Threads
A formatting question with radio buttons
Realm question
textbox values with dynamic datas with struts
Exception in JSP
Handle all error codes other than one