This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

another error on page  RSS feed

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the one who replied on my first problem

Can anyone help me to solve this problem and tell me what it is:


java.lang.NoSuchMethodErrorat _currencyconverter._jspService(_currencyconverter.java:103)[SRC:/currencyconverter.jsp:25]at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)


Thank you very much

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
acccording to your error message it appears to be you are trying to use a function/method in currencyconverter.class which doesn't exist
check again your class, your spelling cause java is a case-sensitive language, or your class directory cause you may have access the wrong class you wish
 
Jherald Lacambra
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually the method exist:

Heres the part of the class that has the method:

public String getStatus() {
return status;
}
public String getValidTag(String validTag) {
return validTag;
}


and here's the jsp that calls out the method:

String valid_tag = exporterInfo.getValidTag();<--line 23
System.out.println("validTag: " + valid_tag);
 
Jherald Lacambra
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i posted a wrong message

Heres the part of the class that has the method:

String valid_tag = exporterInfo.getValidTag();<--line 25
System.out.println("validTag: " + valid_tag);
 
evan theon
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String valid_tag = exporterInfo.getValidTag();<--line 25
System.out.println("validTag: " + valid_tag);

so you are using system.out.println inside a function and call it from jsp right?
well according to my experience in jsp programming it is not allowed cause system.out.println is used to display a text in a console, not in a browser, in other system.out.println is displaying a text in a local computer while jsp actually processes its data on a server ( including the out.println command ), so technically you can't do that

it is better you if you use the function :

public String getValidTag(String validTag) {
return validTag;
}

and use it directly in the jsp page.
maybe it helps, try it and post me later about the result...
 
Jherald Lacambra
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually System.out.println doesnt affect my program.. The browser reads it as jsp and not html.. I put it inside jsp tags<% %> so browser cannot read it as html.. I only use it so that i can view the values that was passed onto a parameter.. I see the output of these on my ide

theres no problem when running it on local side.. my problem when i deploy it to be use on the web i get that error.. i dont know what went wrong.. I tried to restart the App Server but it still won't work.. can anyone help me to solve these problem.......
 
The harder you work, the luckier you get. This tiny ad brings luck - just not good luck or bad luck.
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!