- This topic has 3 replies, 2 voices, and was last updated 13 years, 4 months ago by support-joy.
-
AuthorPosts
-
distanceMemberHow do I rename the web context in a struts project?
How can I automatically war file everytime a run a project on my development
machine?
support-joyMemberdistance,
You have not included your OS details and installation details.
Now to answer your queries –
To change your web context root do the following – right click on the project > properties > MyEclipse > Web and change the web context-rootI am afraid we currently do not provide an option to automatically create a war file and deploy. To build war file – right click on the project > Export > JavaEE > War
You can use build automatically option to automatically deploy your project to your app server(from menu options click on Project > Build automatically). In case build automatically is not selected, right click on your project > build
distanceMemberI was able to change the context-root to project
from “prj” to prj-revised”. When I run the application
on server I get http 400
error? What is that I am missing. Installation summary follows
~~~~~~~~~~~~~~~~
*** Date:
Monday, August 8, 2011 3:54:30 PM CDT** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.1
Build id: 9.1-20110701*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 9.1
Build id: 9.1-20110701Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\usr\local\MyEclipse9\MyEclipse 9\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\usr\local\MyEclipse9\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\usr\local\MyEclipse9\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-install
C:\usr\local\MyEclipse9\MyEclipse 9
-configuration
C:\usr\local\MyEclipse9\MyEclipse 9\configuration
-vm
C:\usr\local\MyEclipse9\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
support-joyMemberdistance,
Thank you for the installation details. You seem to be hitting 400 bad request. Please check if you have syntax error. Open your problems tab and look for issues listed. If there are any, right click on the same and click on [quick-fix]. I need to look at your code to see what is the root cause. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate issue and attach the file here. Could you also include screenshot of the issue you see to help me get a visual.
-
AuthorPosts