Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to intepret this JSP error?  RSS feed

 
Parka Teoh
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below is the error.

insertOrder(int,java.lang.String,java.lang.String,long) in limited.ProcessBean2 cannot be applied to (int,java.lang.String,java.lang.String,java.lang.String)
processBean.insertOrder( uniqueOrderID, name, address, creditCardNumber);

----------------------------------------------------------------------

In ProcessBean2.java, there's a method accepting the parameters (int, String, String, long).

Does it mean that my ( uniqueOrderID, name, address, creditCardNumber) is actually (int, String, String, String)?
 
Parka Teoh
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. Solved.

I declared it to be a String eariler up in the JSP page. That's why.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!