Questions tagged [web-project]

162 questions
3
votes
1 answer

Thread of supplyAsync in java completable future uses different threads in different environments

In my webapp supplyAsync method uses forkjoin pool in cloud linux environments but in local linux machines same code uses threads like thread-1 thread-2 with class web app class loader. Is there any configuration to change the default threadpool…
3
votes
1 answer

Web project not running on server on Mac OS X in Eclipse Mars

I have Java 8 (JDK and JRE 8) on my machine. I have Eclipse Mars 4.5.1 . I am trying to create a simple Static Web Project and while running the project on HTTP Preview (or a Dynamic Web Project on Apache Tomcat for that matter), it gives the…
Gaurav51289
  • 540
  • 2
  • 7
  • 16
3
votes
1 answer

JSON.NET Serialization Behaves Differently in ApiController

We are using JSON.NET to serialize custom objects. I have written a unit test that performs JSON serialization of our custom object successfully: // Generate custom object... var settings = new JsonSerializerSettings { TypeNameHandling =…
Scotty H
  • 6,432
  • 6
  • 41
  • 94
3
votes
2 answers

What is the use of XML in web-based applications?

I was wondering is there any need to use XML for large web projects, say in a social networking site? Currently am just coding in normal PHP and HTML files. If I use XML files is that going to provide any convenience, like enhancing the processing…
user4853991
  • 99
  • 1
  • 8
3
votes
1 answer

Visual Studio - Website Vs Web Project

I previously have been involved in a lot of classic ASP based websites, so when it came to migrate to ASP.Net, I took the Website route as it is very similar. I am just about to start on a large new project and wondering if I should re-evaluate my…
Wil
  • 10,234
  • 12
  • 54
  • 81
3
votes
1 answer

Exclude a directory from loading in a web project in Visual Studio 2012

We have a CMS site, where the user has uploaded a lot of content into the content directory of the site, for a lot of articles. It takes a really long time to open this project because of loading all these sub-directories (one per article). Is…
eidylon
  • 7,068
  • 20
  • 75
  • 118
2
votes
1 answer

VS2010 Build Deployment Package + sectionGroup/custom settings + SetParameters.xml

I have been using the "Build Deployment Package" (BDP for short) from visual studios 2010 for several months now. It works great and has done the basic requirements that we have wanted. I decided to take it a step further and figure out how to get…
2
votes
3 answers

what happens when we Build a java web project

I am a newbie to J2EE and I am not able to understand the directory structure created on building the java web project. After bit of googling i understood what we store in WEB-INF but 1)i am not able to understand that what we store in META-INF…
Anupam Gupta
  • 1,591
  • 8
  • 36
  • 60
2
votes
1 answer

Unable to import classes from maven dependency of dynamic web project in eclipse

I converted a dynamic web project into a maven project by right-clicking on the project and choosing Configure -> Convert to Maven Project. I added below dependency jar in pom.xml. io.rest-assured
Priya S
  • 21
  • 1
  • 6
2
votes
1 answer

Should I put XSLT files in the App_Data folder of my ASP.NET Web Application?

I have a number of XSLT files in my ASP.NET Web Application solution. Should these go in the App_Data folder? The MSDN 'Project Folder Structure' article suggests that the App_Data folder is for 'data files'. As XSLT files are not strictly 'data…
Jonathan Williams
  • 2,015
  • 1
  • 19
  • 23
2
votes
2 answers

Maven update changing context root of project in eclipse

Working on a Spring app and using Maven 3 as a build tool. My app was working properly in Eclipse Neon on Windows machine. Now I'm using Oxygen on Mac system. My app need a specific context root i.e. /app. When I update(maven update) it after…
Yuva
  • 131
  • 1
  • 6
2
votes
3 answers

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

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…
Alex Ciminian
  • 11,398
  • 15
  • 60
  • 94
2
votes
2 answers

Issue in Developing Conceptual Model for My Website

I want to discuss a non-code related issue. Rather it's an issue with the concept or data model itself. I am building a business directory website using Laravel. I have made a packages table, implemented packages CRUD functionality for the…
Usman Hafeez
  • 357
  • 1
  • 7
  • 20
2
votes
1 answer

Jquery DataTable not centered

I'm starting to learn how to use dataTables and I used it to show some JSON data that I imported from an Excel file I have the table showing but it is not centered with the headings. I have been looking for a solution for a long time but I haven't…
Bruno Santos
  • 71
  • 2
  • 9
2
votes
1 answer

Cant expand web.config in VS 2010 after"Apply Config Transforms"

wondering if anyone has experienced this in visual 2010 professional Create a new configuration - staging. Right Click web.config in web project, Apply Config Transforms. The files web.debug, web.release, web.staging are created - but the web.config…
MikeW
  • 185
  • 1
  • 3
  • 14
1
2
3
10 11