Questions tagged [webproject]

30 questions
40
votes
5 answers

publish empty directories to a web application in VS2010 web project

Often I need to publish a web project preserving a directory tree even if the directories are empty, for example, directories to hold uploaded files. If I publish my app using the VS2010 publish command, the empty directories are not created on the…
pomarc
  • 2,194
  • 3
  • 23
  • 30
5
votes
3 answers

Maven: Combine web projects

I have following Maven projects set up: PM-Core PM-Web (with a dependency to PM-Core) Now, this project is used for several clients but for each client there are some small differences: mostly differences in configuration files but some clients…
Stijn Geukens
  • 15,454
  • 8
  • 66
  • 101
3
votes
3 answers

How Can I Use NUnit with ASP.NET Website (Not Web Project)?

I am new to unit testing and I wanted to give NUnit a try. In an ASP.NET Web Project, I can create a new project in my web project solution for unit testing and add a reference to my original project and in NUnit I can load the dll file for my unit…
bahith
  • 441
  • 10
  • 18
2
votes
3 answers

technology for new webproject?

i am planing to set up a new webproject which has to use a database and a model which can be presented in a browser. I looked at a lot of technologies (JSF, PHP, ..) but i could not find a free and easy framework/technology for me (in the end i…
elCapitano
  • 23
  • 2
2
votes
1 answer

How to add web project module in existing java project in eclipse

I have existing Java project and want to add web module to it. Is there any way to add dynamic web project as a module in a Java project using Eclipse?
user3841837
  • 53
  • 1
  • 7
2
votes
3 answers

Loading data from a (MySQL) database into Django without models

This might sound like a bit of an odd question - but is it possible to load data from a (in this case MySQL) table to be used in Django without the need for a model to be present? I realise this isn't really the Django way, but given my current…
djbp
  • 714
  • 8
  • 24
2
votes
1 answer

Why session in cs class file is null ? (web project .net 2010)

i have a cs class file in a web project in vs 2010. in class,i read and wirte session variables. but my Session property is null! i use this: public static int UserID { get { if…
2
votes
0 answers

Hosting Java Web Project on IIS

Possible Duplicate: Running a java web application in IIS I have a web project created and running fine on MyEclipse. Can I host this on IIS Server? If so, do I need to have any plug-in? Please tell me the proceadure to do…
2
votes
2 answers

Running an MVC application through IIS results in "Directory listing denied"

I have an .Net MVC application which runs fine if I use the build in Visual Studio Webserver. If I use the projects property pages to switch to IIS as the webserver and create a virtual directory for my project, any request I send to the server…
Mats
  • 14,902
  • 33
  • 78
  • 110
1
vote
2 answers

Change web project to class library

Is there any way but copying the .cs files? Changing the .csproj file? But how? There is a related question, but I'm not satisfied with the answer: link
Bertvan
  • 4,943
  • 5
  • 40
  • 61
1
vote
0 answers

Change the value of resx resource of Web controls from DLL

I'm having a hard time on changing the resx value from a referenced .NET web control This is my scenario. I have a XXX web control from YYY Project, i have a label that is getting the value from a resource file UIControl.resx I have also a ZZZ web…
jersoft
  • 478
  • 2
  • 9
  • 20
1
vote
2 answers

IIS Express Visual Studio - Cannot debug localhost

Been trying to resolve this issue for a few days now. I've done a ton of searching and tried several solutions - nothing has helped thus far. I have a Visual Studio 2017 project. It has been running and debugging fine for years now. Suddenly, the…
1
vote
2 answers

Duplicate source folder when creating a maven web project

When I am trying to create a new web application project using maven, I am getting duplicate src folder in the project directory structure. Is it expected or I am doing anything wrong? If it is expected why is it creating two directories with the…
Bruce
  • 78
  • 7
1
vote
2 answers

How to secure the war file deployed in tomcat server?

I am developing web application and i host the application as a .war file in tomcat server. it was located in webapps folder of tomcat server.but i need to secure my hosted file.in webapps folder i found .war file and extracted folder of my…
KVK
  • 1,257
  • 2
  • 17
  • 48
1
vote
1 answer

what's the difference between the installed version of tomcat 7 and the myeclipse's tomcat 7?

too much similar versions they looks like each other. Sometimes i dont know to choose a suitable version for my project. just like myeclipse tomcat and the installed version of tomcat 7 or some version just like core version , extra, or....
1
2