File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Setting the environment of the JSP ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Setting the environment of the JSP ?" Watch "Setting the environment of the JSP ?" New topic
Author

Setting the environment of the JSP ?

raja srinivas
Greenhorn

Joined: Jun 22, 2001
Posts: 20
Hi,
How do i set up the environment of my web application. I have my all ejb jars in a seperate directory (c:\projects\...\ejb) and not in the mydomain\applications\DefaultWebApp_myserver folder, where i have my jsp files.
When i compile my jsp, i get the "cannot resolve symbol" error for the ejb calls. Can any one give me the pointers to setting the weblogic environment to look for the ejb's in my directory ?
Thanks
Raja Srinivas
anup vachali
Ranch Hand

Joined: Oct 17, 2000
Posts: 54
Raja,
I think this is just a simple classpath problem. Put the location of ur ejb class files into ur classpath before u compile ur jsps and u should be fine.
HTH,
Anup
raja srinivas
Greenhorn

Joined: Jun 22, 2001
Posts: 20
thanks Anup... yeah thats what i thought too, but the problem persisted even even i appended the classpath in the compiler option in the Weblogic admin console, but that did not solve my problem. So i added the classpath to the startweblogic.cmd script, and now my jsp's are working fine with the EJB's. )))
Thanks
Raja Srinivas
 
 
subject: Setting the environment of the JSP ?
 
Threads others viewed
how to create new default root directory and application directory for EJB's
classpath problem..
How to set a Java Web Server for EJB?
Problem in starting tomcat
Classpath problem
MyEclipse, The Clear Choice