please be more specific.
Which ERP Software ?
Does it use JSP for presentation ?
What database does it use ?
If the JSP is present in the external web application that you are trying to conenct to the ERP s/w, then look for the connection details in the documentation of the respective ERP software.