web-project

Eclipse Download library is empty

我怕爱的太早我们不能终老 提交于 2019-12-23 15:27:21
问题 I am trying to create my first JSF web dynamic project with eclipse. In second last step, i need to select the user library in which the download library window is empty. Can anyone help how to add the library in that? 回答1: This was due to my machine was not able to connect to Internet. When i give the Preferences->Network Connections as Manual with a proxy, then it started appearing with user libraries. 回答2: For me the problem was, that I could select version 2.3 of JavaServer Faces, but

404 when running project through eclipse on Tomcat

浪尽此生 提交于 2019-12-13 06:11:44
问题 I have a Struts 2 project with following directory structure. But when I try to run this project using Eclipse on Tomcat 7, it gives me 404 error. Struts.xml : <?xml version="1.0" encoding="UTF-8"?> <struts> <action name="login" class="com.actions.LoginAction" method="execute"> <result name="success">/jsp/login.jsp</result> </action> </struts> login.jsp : <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Login Page</title> </head> <body> <s:form

Creating virtual directory for asp.net web project

泄露秘密 提交于 2019-12-12 02:46:33
问题 I have installed windows 8 on my system and I am using visual studio 2012 and IIS 8 Express. when I try to create a virtual directory for web project the message box shows the error message like "Unable to create virtual Directory. To access Websites on the local IIS Web server, You must run visual studio under an Administrator account" Please help me how to run visual studio under administrator Account, Thank you. 回答1: Right click on the shortcut then "Run as administrator" or create another

How to setup console self-host project for an existing Asp.NET Web API project

时光总嘲笑我的痴心妄想 提交于 2019-12-11 16:23:51
问题 I have ASP.NET web application. The template creates default web api controller ValuesController. I am trying to create console application to self-host using Microsoft.AspNet.WebApi.OwinSelfHost version 5.2.6. Solution structure looks like: Startup.cs in SelfHost.Server, agree! not a good name, is looks like: HttpConfiguration config = new HttpConfiguration(); config.Routes.MapHttpRoute( "DefaultApi", "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional }); app.UseWebApi

Adding a Web Project as a jar in an Eclipse Deployment Assembly

久未见 提交于 2019-12-06 13:26:18
问题 The site I'm working on now is made up of several java projects and a main web project A which references them. The IDE I'm using is Eclipse Helios. What I'm trying to accomplish is adding a new project B to the stack. The project is also referenced by the main one, but is in itself a Web Project. When I add B to the Deployment Assembly of A , when publishing, Eclipse automatically packages it as a war and deploys it to the server's WEB-INF/lib . I want it to be deployed as a jar, but also

Adding a Web Project as a jar in an Eclipse Deployment Assembly

假装没事ソ 提交于 2019-12-04 16:42:53
The site I'm working on now is made up of several java projects and a main web project A which references them. The IDE I'm using is Eclipse Helios. What I'm trying to accomplish is adding a new project B to the stack. The project is also referenced by the main one, but is in itself a Web Project. When I add B to the Deployment Assembly of A , when publishing, Eclipse automatically packages it as a war and deploys it to the server's WEB-INF/lib . I want it to be deployed as a jar, but also keep the project's web nature, as it has some features (and tests) that are run on it. I have ant tasks

Dynamic Web Project option missing in Eclipse

做~自己de王妃 提交于 2019-12-04 09:54:30
问题 The "Dynamic Web Project" option for a new project in Eclipse does not appear in the list. Also, the "web" folder does not exist. Am I missing a module from installation? I am running Eclipse Helios. 回答1: Go to Eclipse->Help menu->Install new software choose the Web, XML, Java EE plugin and install it. 回答2: Open Eclipse and go to help->Install new software.. option available. Click the down arrow available in work with field and select following link Kepler - http://download.eclipse.org

Dynamic Web Project option missing in Eclipse

ぐ巨炮叔叔 提交于 2019-12-03 04:21:11
The "Dynamic Web Project" option for a new project in Eclipse does not appear in the list. Also, the "web" folder does not exist. Am I missing a module from installation? I am running Eclipse Helios. Go to Eclipse->Help menu->Install new software choose the Web, XML, Java EE plugin and install it. Open Eclipse and go to help->Install new software.. option available. Click the down arrow available in work with field and select following link Kepler - http://download.eclipse.org/releases/kepler Now select checkbox with name Web, XML, Java EE and OSGi Enterprise Development click next -> next ->

Unable to create a new web project in Visual Studio 2013

主宰稳场 提交于 2019-11-30 15:07:06
问题 Background: I am trying to use my office machine, where I have some limited rights, from home. All products are installed through when I was connected with my network drives, where my profile exists. Now, I am at home where I don't have an access to these network drives. Problem: Whenever I am trying to create a project in visual studio I am getting the following errors: --------------------------- Microsoft Visual Studio --------------------------- Package 'ProviderPackage' failed to load. -

Deploying .NET with Jenkins/Hudson

孤街醉人 提交于 2019-11-30 10:26:23
问题 I've been using Jenkins/Hudson CI for deploying my .NET web site project. I've been using the MSbuild plugin to build my project, and then xcopy to copy it out to the server. I've noticed if I use the publish feature in Visual Studio I get a different set of files. I've got the config transforms working, but I end up with all the .cs files and a winmerge compare shows the binaries being different. So, I'd like to either get Jenkins working just like the publish feature, or confirm that an