# Question about executing a Webapp with webmathematica

**URL:** <https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373>\
**Category:** Questions\
**Tags:** mathematica\
**Created:** [April 9, 2015, 8:19am UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373 "2015-04-09T08:19:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![danihrzdiaz](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@danihrzdiaz](https://community.wolfram.com/u/danihrzdiaz)\
**Post date:** [April 9, 2015, 8:19am UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/1 "2015-04-09T08:19:33Z")

</div>

Hi everybody,

I’m trying to verify whether my Webapp works properly or not but, i don’t really know what extension my file should have.  
.nb  
.jsp  
.html  
Could somebody please help me?

---

<div class="post-metadata">

**Author:** ![seanc](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/seanc/32/34005_2.png) [@seanc](https://community.wolfram.com/u/seanc)\
**Post date:** [April 10, 2015, 4:02pm UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/2 "2015-04-10T16:02:27Z")

</div>

I’m sorry. I’m not sure I understand. Which file are you talking about? When you say Webapp, do you just mean a webpage made with webMathematica?

---

<div class="post-metadata">

**Author:** ![danihrzdiaz](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@danihrzdiaz](https://community.wolfram.com/u/danihrzdiaz)\
**Post date:** [April 20, 2015, 10:06am UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/3 "2015-04-20T10:06:30Z")

</div>

Hi Sean,

If i want to make a webpage with webmathematica, i don’t really know what program the code is supposed to be developed with. When i installed webmathematica, i saw that all the examples were made with jsp language. If you go to the webMathematica webpage and look at the examples, the code can only be downloaded in Wolfram language. So, i developed code with Mathematica and then i tried to verify whether the webpage works properly, but webmathematica did not execute the code. It only showed the code as CDF.  
How may i verify the code i developed?

---

<div class="post-metadata">

**Author:** ![seanc](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/seanc/32/34005_2.png) [@seanc](https://community.wolfram.com/u/seanc)\
**Post date:** [April 20, 2015, 3:02pm UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/4 "2015-04-20T15:02:58Z")

</div>

WebMathematica and CDF are separate things. You said:

> If you go to the webMathematica webpage and look at the examples, the  
> code can only be downloaded in Wolfram language.

What webpage are you refering to? Can you link me to specific example? It sounds like you are talking about a CDF example - not a webMathematica example.

Before making your own webpage, please make sure you can get basic examples like the following to work:  
[Basic Examples—Wolfram Language Documentation](http://reference.wolfram.com/webMathematica/tutorial/BasicExamples.html#9976049)

If you have trouble getting the basic webMathematica examples to work in webMathematica, I would consider contacting Wolfram Technical Support.

---

<div class="post-metadata">

**Author:** ![danihrzdiaz](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@danihrzdiaz](https://community.wolfram.com/u/danihrzdiaz)\
**Post date:** [April 20, 2015, 8:56pm UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/5 "2015-04-20T20:56:46Z")

</div>

I meant the webMathematica website. I’m sorry!  
Here you can find the webMathematica website and an example on it:

> **[webMathematica: Add Dynamic Computation and Visualization to Your Website](https://www.wolfram.com/products/webmathematica/)**
>
> Use webMathematica to create websites where users can compute and visualize results directly in a web browser.

And here a link to a specific example:  
[http://demonstrations.wolfram.com/PicturePuzzle/](http://demonstrations.wolfram.com/PicturePuzzle/)  
I think it is just a WebApp, am i wrong?

Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![jfriedman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/jfriedman/32/35953_2.png) [@jfriedman](https://community.wolfram.com/u/jfriedman)\
**Post date:** [April 20, 2015, 9:37pm UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/6 "2015-04-20T21:37:21Z")

</div>

Demonstrations on the Wolfram Demonstrations Project are displayed as CDF files. CDF files are essentially _Mathematica_ notebooks without input functionality, and on the Demonstrations project they’re just single Manipulate output cells. If you want to make a CDF, you just need Mathematica.

The _webMathematica_ demos are very dated, likely created well before CDF was even in development. All three interactive demos can be easily recreated with Manipulate and CDF. If you want to make a webpage, you can try embedding a CDF in HTML, or using the Wolfram Programming Cloud.

It should be noted that _webMathematica_ is essentially a legacy product, as Wolfram has refocused its web efforts on new technology like the Programming Cloud.

---

<div class="post-metadata">

**Author:** ![danihrzdiaz](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@danihrzdiaz](https://community.wolfram.com/u/danihrzdiaz)\
**Post date:** [April 21, 2015, 11:15am UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/7 "2015-04-21T11:15:20Z")

</div>

I just want to make a single Manipulate output cell and put it on our Website, just like the contributors did on the webMathematica website.

---

<div class="post-metadata">

**Author:** ![jfriedman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/jfriedman/32/35953_2.png) [@jfriedman](https://community.wolfram.com/u/jfriedman)\
**Post date:** [April 21, 2015, 11:30am UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/8 "2015-04-21T11:30:56Z")

</div>

I’m glad to say that’s quite easy with CDF, but the cell will only be available to users with the CDF Player installed.

Select the output cell in Mathematica, and go to File \> CDF Export \> Web Embeddable. Make sure Current selection is selected in Step 2. Choose a location to save the file, preferably somewhere in the directory of your site. The rest should be pretty easy to follow.

If you need the file to be accessible to users without CDF Player installed, you do indeed have to use webMathematica. It looks like the brain-segmentation example uses a combination of webMathematica and a Flash applet.

---

<div class="post-metadata">

**Author:** ![danihrzdiaz](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@danihrzdiaz](https://community.wolfram.com/u/danihrzdiaz)\
**Post date:** [April 29, 2015, 9:42am UTC](https://community.wolfram.com/t/question-about-executing-a-webapp-with-webmathematica/5373/9 "2015-04-29T09:42:46Z")

</div>

Thank you so much, Jesse.  
You have no idea how grateful i am.
