Efren Lugo
|
| Posted: 06/11/2002, 12:37 PM |
|
Hi i had, installed the ANT, JDK, Tomcat, and Oracle success! all work fine...
now i made an example grid on codecharge stuido 1.0, when i publish i get success build...
but when i go live the example.jsp dont found, insted are a war file... how i make codecharge output jsps, html templates??? just like codecharge 2.0??
Any one had the same problem???
|
|
|
 |
Helen
|
| Posted: 06/12/2002, 6:06 AM |
|
Efren,
please do the following (note, that this tip for Tomcat server). Copy WAR file to Tomcat "webapps" folder and restart Tomcat. Then you can view pages in browser: http://<server_name>/<war_file_name>..._name>.jsp
|
|
|
 |
Alex Alexapolsky
|
| Posted: 06/12/2002, 6:07 AM |
|
We generate war file, because it is a standard for Web Application and all servers can work with it.
CCS always creates and publishes war file. To work with unarchived version of application you can manually perform the following steps:
1) Generate All by right clicking on your Project in Project Explorer
2) Save All
3) change directory to YourProject/CCSBuild
4) run ant. It will find build.xml, compile and build your project.
5) in folder YourProject/CCSBuild/app you find you project ready to be configured as application context in your application server.
Also in this case you will need to edit your application properties in server config file, such as context path etc. yourself.
Note: JSP version doesn't work with templates. If you want templates, choose Servlet + Templates
|
|
|
 |
Alex Alexapolsky
|
| Posted: 06/12/2002, 6:07 AM |
|
We generate war file, because it is a standard for Web Application and all servers can work with it.
CCS always creates and publishes war file. To work with unarchived version of application you can manually perform the following steps:
1) Generate All by right clicking on your Project in Project Explorer
2) Save All
3) change directory to YourProject/CCSBuild
4) run ant. It will find build.xml, compile and build your project.
5) in folder YourProject/CCSBuild/app you find you project ready to be configured as application context in your application server.
Also in this case you will need to edit your application properties in server config file, such as context path etc. yourself.
Note: JSP version doesn't work with templates. If you want templates, choose Servlet + Templates
|
|
|
 |
|