Web Applications

14K

Solutions

14K

Contributors

Web applications are systems that run in browsers that perform functions normally associated with other client-based programs. One of the most commonly used web applications is email; instead of downloading individual emails to a local machine, the data is shown through a website. Other examples of web applications are collaborative systems like a wiki or an online game.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi, do you know how to make an offline dictionary to search faster? I am using offline dictionary in my website but when its searching for the meaning of a word, it takes too much time to find the meaning.

To clarify things, I did not obtain these from other offline dictionary softwares. Instead, I made the coding myself using HTML.
0
Cloud Class® Course: SQL Server Core 2016
LVL 12
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

web applications vs. custom desktop software.  These are the two scenarios that I am posed with in designing an attendance/registration system for our organization.  Are there disadvantages to web application vs. a desktop software.  I imagine there is more power in the coding aspect of most programs compared to web application development.  I know its an abstract question, but I wanted to see what the experts have to say on this subject.   Is there really no difference?  The application I will need to design will register individuals, take their daily attendance, and then output statistics.  Also any ideas on how to best develop such a program may be appreciate.
0
Can anyone please help?I have wasted almost a day on this,...Codebase I am working on has been analyzed by Checkmarks(i.e Its a tool which scan code for any security  issues), and it came back with a report containing a "Stored XSS" issue. The issue states:

Method retrieveDataTagsNames at line 47 of Correspondence
Template/sf/claims/api/correspondence/template/data/DataTagsNamesDao.java gets data from the database,
for the query element. This element’s value then flows through the code without being properly filtered or
encoded and is eventually displayed to the user in method retrieveDataTagsNamesDetails at line 52 of
Correspondence Template/sf/claims/api/correspondence/template/service/DataTagsNamesRestController.java.
This may enable a Stored Cross-Site-Scripting attack.

Code  for DataTagsNamesDao.java:-

public class DataTagsNamesDao {
    private static final Logger LOGGER = LoggerFactory.getLogger(DataTagsNamesDao.class);

    @Autowired
    private NamedParameterJdbcTemplate jdbcTemplate;

    @Autowired
    private Sql retrieveDataTagsNames;

    /**
     * This method retrieves data tags names and values  from a DB2
     * sequence object.
     * 
     * @return String (data tags names and values)
     */
    @Transactional(readOnly = true)
    public List<DataTagsNames> retrieveDataTagsNames(String templateId) {
	
	try {
	    return jdbcTemplate.query(retrieveDataTagsNames.getSql(),new MapSqlParameterSource().addValue("templateId", templateId) 

Open in new window

0
ImageHello Experts,

I have an Article Content Type that I'd like to display all of the Articles, on separate pages based on a Choice Field Item.  Any help on how I can achieve this is very much appreciative.
Using SharePoint 2013 On-Prem.  I don't need help on creating the content type, only on how to get them to display on their own pages that are page-able.  To also include the Title, an image, and part of the Body.
 
0
Hi, After logging into a site I select the page required it then goes through a load process in which several pages appear before the end page completes, however I would like to access the 2nd page that is part of the loading as it has more search facilities. Is there a way to allow me to step page by page through the loading process. If I am quick enough clicking with the mouse I can sometimes access the page but it is very random. I am using Chrome, the same load proces does'nt occur under MS Edge.
0
Hello!

We have an intranet that's behind a username/password page and one of our biggest struggles is search. We've implemented a basic search tool and it does okay at best. If searching for the word book, it'll return pages with the word book in it. However, it runs into issues when using multiple words, quotations, and does not rank the results for the user. Our intranet is using php and CodeIgniter. I looked around at codecanyon.net for php search engine scripts, but nothing really stuck out to me. Does an expert have a suggestion on what a good search solution might be for an intranet?
0
Dear EE,

We have web based application deployed on EASERVER 6.3.1.

Our application works both ways.
HTTP and HTTPS

as SSL certificate is configured on our server.

Now my technical team has following query.

WHEN EVER USER ENTER HTTP URL  for example :- http://www.abc.com it AUTOMATICALLY redirects to HTTPS.

How can we do this in this CASE.

Thanks
0
How to get currency exchange rate in ASP.NET C#  webform .
I've using the following answer but doesn't work.
Expert Exchange Solution

Maybe google currency converter not exist. is there any other way.
aaa.PNG
0
im getting this error message in my ruby on rails blog app and i have no idea why

this is my controller file:

class PostsController < ApplicationController
  def index
    @posts=Post.all.order("created_at DESC")
  end

  def new
    @post=Post.new
  end

  def show
    @post=Post.find(params[:id])
  end

  def create
    @post=Post.new(post_params)
    if @post.save
      redirect_to @post
    else
      render "new"
    end
  end

  def edit
    @post=Post.find(params[:id])
  end

  def update
    @post=Post.find(params[:id])
    if @post.update(params[:post].permit(:title, :body))
      redirect_to @post
    else
      render "edit"
    end
  end

  def destroy
    @post=Post.find(params[:id])
    @post.destroy
    redirect_to posts_path
  end

  private

  def post_params
    params.require(:post).permit(:title, :body)
  end

end

Open in new window


and this is my edit file: (i get the error when trying to delete a post and the link to the destroy path is on my edit page)

<font color="#BD004B">
    <h1 class="smallBorder">Edit Post</h1>
</font>
<br/>
<hr size="10" width="auto" color="#BD004B">

<%=render "form"%>

<ul>
  <li>
    <%=link_to "Delete", posts_path(@post), method: :destroy, data:{confirm:"Are you sure you want to delete this post?"}%>
  </li>
</ul>

Open in new window

0
When I use Google Maps for example, I automatically get the map for the location I am at. There are much more examples like this, where my location is automatically given out to someone else. How can I get more control of this, and in particular be able to completely hide my location for anyone at all times? In Windows, Android and Mac?
0
Cloud Class® Course: Ruby Fundamentals
LVL 12
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Dear Experts,

I have an asp.net website that uses identity 2.1 (I'm pretty sure > 2.0 anyways as near as I can tell). It is written in visual basic. I ran into a weird issue the other day where people were logging in and getting this viewstate error:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

So I followed the advice I found in the microsoft article and added a machine key to the web.config file so that no matter what it (hopefully) shouldn't get that error again.

Once the machine key was changed to one that I set now we had issues with anyone with an already existant authorization cookie on their computer, they were unable to login. I believe it's because the machine key that I set no longer matched the one that was used in their cookie. I'm not entirely clear how, but apparently it's part of how it's encrypted. If they clear their cookies, all is well - then they could login.

So one bit of advice I found searching on the web sounded super simple and super-easy. They recommended that you have some sort of set key in your web.config, like a guid or something and then you add it to your cookie also. Then, when you load the cookie, you can check the key and if it doesn't match your server key, somehow you invalidate the cookie.

I basically spent all day trying to figure out …
0
try
            {
                string folder = ConfigurationManager.AppSettings["Path"];
                string readline;
                if (Directory.Exists(folder))
                {
                    using (var sr = new StreamReader(folder))
                    {
                        readline = sr.ReadLine();
                        while (readline != null)
                        {
                            if (Directory.Exists(folder))
                            {
                                //DirectoryInfo d = new DirectoryInfo(folder);
                                foreach (var file in d.GetFiles("*.*"))
                                {
                                    File.Delete(file.FullName);
                                }
                                Logger.DebugFormat("Folder Path : " + folder);

                                foreach (var subDir in new DirectoryInfo(folder).GetDirectories())
                                {
                                    subDir.Delete(true);
                                }
                            }
                        }
                    }
                }
                Logger.DebugFormat("Folder Path : " + folder);
            }
            catch (IOException ex)
            {
                Console.WriteLine(ex.Message);
                return;
            }
0
We have a cloud web application developed in .net MVC c#.now I'm starting​ integrate with sage 50 desktop application. Sage 50 provide an SDK for integration. We have to pass data like create invoice,from my web application. So how to do this process? Which is the best solution? Which technology we use here? Web service and things are recommend from sage support team.but how to use this?

Please advise for this,access desktop application from web.
0
I am migrating a Magento 1 module to be used on the Magento 2 platform.  All of the code has been migrated and produces the expected results but in Magento's technical review process it fails the varnish check.Capture.PNGMy initial research into the issue shows that you should specify cachable=false on your block elements or by setting the _isScopePrivate property in your defined Block PHP file.  The only problem is that I do not have any block elements.

I have created one to try and combat this issue but the module does not require any block elements.  The module works by appending the quote results to a rateResultFactory which is then displayed on the Checkout screen.

I have also tried to use the method described here to try and retrieve any dynamic data without requiring the cacheable flag.

Any help would be tremendously appreciated.

-saige-
0
I'm looking for recommendations for a online booking / scheduling system.  Needs to be simple to use one that you can recommend because you've used it and it works.  
I'm searching Google and have come up with quite a few options though I really want to get an opinion from you guys as to what's worked for you.

Our extended family owns a holiday house. With family in different countries and towns, email just isn't cutting it when it comes to booking the place for holiday periods.

All I need is a portal where family members can put in the dates they want the house and we're all notified of that request.

Any clarifications on requirements, just ask.

Cheers,
Rob
0
Is it possible to customize the "look and feel", layout, etc for Amazon AWS's SAML Federation Landing Page?

https://signin.aws.amazon.com/saml

When we signin to our company "federation page" it redirects us to "https://signin.aws.amazon.com/saml" (as it should), which displays all of
our AWS accounts/AWS Roles to sign into. However, it's ugly and not really organized/categorized in any way (so you have to always scroll up/down
to find the account you want or do a "Ctrl-F").

I know we can customize our first landing page (company federation landing page), but can we change anything for the redirect/second SAML landing page?
0
how to validate query string parameter  and other body parameters using Fluent Validation in the same web api request.
i know to perform fluent validation for the parameters in the post body  example
https://exceptionnotfound.net/custom-validation-in-asp-net-web-api-with-fluentvalidation/
but i have web API  some thing like
 http://localhost:8087/api/myapicontroller/serachresults?id=123
(its post request with body parameters and also has question tring parameter like ID)
how to validate both questring paramerer and post body using fluent validation.

my api controller is some thing like this,
[HttpPost]
 public IHttpActionResult SearchResults(int id,SearchRequestViewModel searchRequestViewModel)
{
}
i need to validate using fluent validation both "query string" parameter "id" and "SearchRequestViewModel".
is it possible? if so please let me know
0
I have a business client who wants to give his clients the ability to schedule appointments through his website.  He's looking for an easy interface where they can book the day and time based on his availability through either his Outlook365 calendar or his Google calendar.  Can anyone recommend any software (paid or free) that can provide such a service?
0
My organization has its Applicant Tracking System outsourced and is hosted with the vendor. I will give a little idea on the setup. We have intranet portal as well as an external internet website. We have different job search pages for internal applicants (can view internal job postings + external job postings) as well as for external applicants (can only view external job postings).

If we access the internet website from any of the computer (web cache cleared) in the internal network, It loads the proper external job listings page. Then if we open the job listings page from intranet from the same machine, it will also show the proper job listing page for the internal applicants. The strange issue is:  Now if we go back to the external internet website from the same machine and open the job search page again, it opens the internal job listings page (it's not opening the proper external job listings page). Suppose if  the web cache has been cleared and then the external website will  start to show the proper page. Another Issue will arise, If I use the back and forward button on the internal page, it will open the external job listings page (which is strange). No clue why this is happening!.

If someone can help to figure out what could be the cause of this issue, that would be highly appreciated.

Thanks,

Jose
0
Cloud Class® Course: Microsoft Office 2010
LVL 12
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

There is an exit command line argument in the jvm options which is shown in apache tomcat logs but I cannot find it anywhere in the JVM options of the application

During a tomcat 8 startup the  JVM parameters are shown in the initial startup logs and it appears just above the Xms and Xmx

04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xloggc:C:\Tomcat8032\apache-tomcat-8.0.32\logs\gc.log
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-OmitStackTraceInFastThrow
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms8192m
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx8192m

I have seen this as a very common occurrence in almost all tomcat 8 apps and it appears like a tomcat's own setting as we dont have this specified anywhere in the JVM options.

I request you experts to let me know what this option is about and if its possible to remove it from the JVM options.

Our business thinks that this could be one of the reasons for the ongoing issues and I want to prove otherwise. Also I don't see any mention of this setting in apache websites. I am also looking for any apache…
0
Hi,

We have configured a SFB standard demployment with 1 Front End server, one Edge server, and one Proxy for web apps support (We have a Webapp server too)

The issue is, we are unable to get the web apps features working from outside local domain network over the internet.
We assume the problem lies with some DNS, Rev proxy, firewall rules or the topology, but can't figure out where the problem is.
When we run Microsoft Connectivity test, the legacy autodiscover works, that indicates the rev proxy is functional.

The setup is with one WAN ip to edge server, and one WAN ip to Rev proxy.

Is there someone that can explain or help with the correct DNS requirements, Firewall, and Rev proxy configurations for this simple setup?
0
Hi there,
I need a sample application to build off to accomplish the following:
Scan a ticket that has a QR code.
As the ticket gets scanned add it to a datagrid or listbox (doesn't matter)
Once all the codes are in this data repository and on button click stores it on a database.
I don't expect to someone in here write something from scratch this escenario. But if you have seen something that can get me ahead on things I will greatly appreciate it.
If you have an idea of an aspx app or windows
0
I have the following code which reads radiometric data from an image (temperature data)
     using (MemoryStream ms = new MemoryStream(Convert.FromBase64String(readTemperatureContents)))
            {

                BinaryReader br = new BinaryReader(ms);
                _temperatureData = new float[320, 240];

                for (int x = 0; x < 320; x++)
                    for (int y = 0; y < 240; y++)
                        _temperatureData[x, y] = br.ReadSingle();
            }

Open in new window



In this loop, I also need to build a semi transparent image, and depending on the value in
 _temperatureData[x, y] = br.ReadSingle();
I will need to color the pixel as white, green, blue or red (with a 50% transparency)

The overall result should see a lightly transparent color over the "hot spots"
I'm using asp.net, c#, framework 4.6

I've looked at system.drawing bmp but not sure if thats a bit old now or if there are better ways to do it
I would expect the image to be a  PNG as it can handle transparency well, and some pixel will be completely transparent, others will have a 50% transparency with a color overlay (like red)

after the loop is finished, i need to set the image on the web page:
<img runat="server" id="schemesImage" />

Open in new window


could anyone help me with this please
0
Hi

I have an image which is 320x240 pixels

When the user hovers over the image, it needs to show the selected (hovered) pixel data on the screen
I've got it working with the co-ordinates, however I have an object with other data that relates to the pixel

You can see here the pixels 0,0 = 280:
....instead of showing the coordinates, I need to show the reading which corresponds to those pixels as seen here:
pixeldata
I've attached a basic project which you should be able to fire up and instantly see it in action. (needs to be renamed as a rar file )

I'm guessing I need to write the code behind object to a Javascript object, and then use this on the hover?
any help appreciated here!
mm2Test.rar.txt
0
i'm trying to reload user privileges dynamically.

i'm trying to achieve custom authorization mechanism via MethodSecurityExpressionOperations or GrantedAuthority to secure the URL and authorize the URL based on the conditions.

i come across two flavours of Spring to handle this one is via MethodSecurityExpressionOperations and the other is via GrantedAuthority - createAuthorityList

i am not sure which one is better and which one to be used in the case of dynamic reloading of user privileges where one user privilege has been updated by another user dynamically while the user is working on...

Thanks.
0

Web Applications

14K

Solutions

14K

Contributors

Web applications are systems that run in browsers that perform functions normally associated with other client-based programs. One of the most commonly used web applications is email; instead of downloading individual emails to a local machine, the data is shown through a website. Other examples of web applications are collaborative systems like a wiki or an online game.