Hi,
In general, you put class files into:
install_dir/domains/domain_name/lib/classes
but we would really need more details about what you are trying to do to give you more exact information.
This doc on assembling and deploying J2EE apps might help you:
http://docs.sun.com/source/817-6087/dgdeploy.html
If you are still having problems, please get back to us with a lot more detail about what you are trying to do, what problems you are having etc. Also if you could tell us which version of Sun Java System App Server you are using , it would be helpful.
Hope this helps
> Hi,
>
> In general, you put class files into:
> install_dir/domains/domain_name/lib/classes
> but we would really need more details about what you
> are trying to do to give you more exact information.
>
> This doc on assembling and deploying J2EE apps might
> help you:
> http://docs.sun.com/source/817-6087/dgdeploy.html
>
> If you are still having problems, please get back to
> us with a lot more detail about what you are trying
> to do, what problems you are having etc. Also if you
> could tell us which version of Sun Java System App
> Server you are using , it would be helpful.
>
> Hope this helps
Thanks for the reply,
I tried putting the class into install_dir/domains/domain_name/lib/classes but it still gives the same error msg java:51: cannot find symbol.
I am trying to create a session using jsptag <jsp:useBean id="user" class="UserData" scope="session"/>. The problem is the compiler is unable to find the UserData.class file... i think. Because everytime i open the page, this error msg comes out
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
[javac] C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\__default-web-modul e-server\org\apache\jsp\a\NextPage_jsp.java:51: cannot find symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.a.NextPage_jsp
[javac]UserData user = null;
[javac]^
Generated servlet error:
[javac] C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\__default-web-modul e-server\org\apache\jsp\a\NextPage_jsp.java:53: cannot find symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.a.NextPage_jsp
[javac] user = (UserData) _jspx_page_context.getAttribute("user", PageContext.SESSION_SCOPE);
[javac]^
Generated servlet error:
[javac] C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\__default-web-modul e-server\org\apache\jsp\a\NextPage_jsp.java:55: cannot find symbol
[javac] symbol : class UserData
[javac] location: class org.apache.jsp.a.NextPage_jsp
[javac]user = new UserData();
[javac] ^
[javac] 3 errors