When we are developing web application using jsp servlet or using Struts2 or Spring then we are basically using HTML or JSP page for displaying data to the user.
But we know that JSP and HTML both are different concept. Even I also used HTML page sometimes in my project but I am getting confused why we are using HTML page instead of JSP page in web application?
Can someone explain why we are using HTML page in WEB application?
Related
First of all, I'm very new to this so sorry if this is a basic question.
I have created a website with a master page and currently 4 .aspx pages within the site and coded without the toolbox, a .master page with bootstrap for a navbar and some css.
The first time I have tried to drag a textbox from the standard toolbox I am greeted with a warning.
"Inserting an ASP.NET control will convert the HTML form in the page to an ASP.NET form and remove its current properties. Do you want to insert the ASP.NET control?"
From my understanding, I have been working within an ASP.NET form(using mainly html to design the page) as .aspx files are ASP.NET.
What are .aspx files?
And will my website be affected by converting to an ASP.NET page?(The page I'm trying to create a page for users to log in.)
Turns out it was because I didn't have the code separated into a aspx and aspx.cs file
I have a static HTML website. I wish to add a couple of ASP .net web forms to display data from a data source. Is it possible to just develop an asp web form in VS and place it in a folder location on my site. Then I am planning to have a link to the web form filename. Does anybody know if this is possible without say a web config and a login page etc.
The form will be stand alone and the only asp page on the site.
Thanks.
add this code in your html <% Put Your Asp Form Code Here %>
I have an application that consists of jsp and HTML pages. It requires a login to access the site. However that doesn't seem to work on html pages. I can copy the link to the html page and access it without having to login which is the case for the jsp pages. Any ideas on how I can authenticate the default server pages?
Is it possible how to include ASPX page in ASP.NET User Control?
I have use ajax modal popup extender in asp.net user control.in that place update panel not accept while i am running my program. It throws the error below:
Microsoft Jscript runtime error:'Sys.Extended.UI' is nul or not a object
but when I am using the same update panel in my ASPX page it works fine.
Can any one tell me how to solve this problem?
I think you misunderstand how to use an ASP.NET User Control. User Controls typically don't include a full page HTML markup since they are used for embedding in ASP.NET pages. If you try to embed a full ASP.NET page in another full ASP.NET page without an iframe, you will have page rendering issues since the DOM parser won't know how to process the page content.
http://www.codeproject.com/Articles/1739/User-controls-in-ASP-NET
I'm new to web application.
Currently i have designed 5 jsp pages, which helps my purpose.
Each jsp file, i have created a table which contains caption and name of the project.
Is there a way to design this banner separately and include in all my webpages?
Thanks in advance