Ken,
There is an interesting discussion that seems to have gotten it working on 
communities

https://communities.bmc.com/communities/message/262335#262335

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Leihkauff, Kenneth G
Sent: Monday, January 07, 2013 3:03 PM
To: [email protected]
Subject: Java API and JSP

** 

Does anyone have experience using the BMC Java API in JSP web pages?  I am able 
to successfully write java programs that connect to ARS and query, insert, 
update data in Remedy forms, etc.  However, I am having a fundamental issue 
when trying to incorporate code within JSP pages.  I am using Eclipse IDE with 
Java 6 on a Windows platform and Apache Tomcat for the jsp engine.

 

You can see below the error "ARServerUser cannot be resolved to a type" when 
compiling.  The CLASSPATH and PATH variables have been set and the Eclipse 
Project build path is shown below too.

 

Thank you for your insight...

Ken L., SAIC

 

type Exception report

message Unable to compile class for JSP: 

description The server encountered an internal error that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP: 

 

An error occurred at line: 20 in the jsp file: /NewFile.jsp

ARServerUser cannot be resolved to a type

17: Date run: <%= new java.util.Date() %>

18: 

19: <%

20: ARServerUser connection1;

21: connection1 = new ARServerUser();

22: %>

23: 

 



 

 


In the Eclipse (screenshot), you can see where the BMC api jar file is 
referenced in the project and the package is referenced in the jsp code to the 
right.

 

 



 

 

 

_ARSlist: "Where the Answers Are" and have been for 20 years_ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to