Got it working. So this means that I will have to compile the war every
time I change something in HTML/JS, isn't it? Is there any config change to
allow all requests to our server so that I don't hit a CORS issue?

Bhargav Golla
Developer. Freelancer.
B.E (Hons.) Computer Science
BITS-Pilani
Github <http://www.github.com/bhargavgolla> |
LinkedIN<http://www.linkedin.com/in/bhargavgolla>
 | Website <http://www.bhargavgolla.com/>


On Tue, Jul 9, 2013 at 5:18 AM, Dan Haywood 
<d...@haywood-associates.co.uk>wrote:

> Thanks!
>
>
> On 9 July 2013 00:44, Maurizio Taverna <tavernamauri...@gmail.com> wrote:
>
>> Hello,
>>
>>> *Maurizio*: if you get a moment, could you confirm that this code
>>> sample works ok for you?
>>>
>>
>> Yep, I confirm.
>> 1. I dropped the *index.html* and script files in *
>> viewer-webapp/src/main/webapp*.
>> 2. From * viewer-webapp* directory *mvn install*
>> 3. From  *viewer-webapp/target* directory *java -jar
>> myapp-viewer-webapp-1.0-SNAPSHOT-jetty-console.war*
>> 4. Pointing the browser to http://localhost:8080/*index.html* I got the
>> index page.
>>
>> HTH
>> Maurizio
>>
>>
>> 2013/7/9 Dan Haywood <d...@haywood-associates.co.uk>
>>
>>> Bhargav,
>>> further to our quick chat this eve [2], I've uploaded a code sample to
>>> your repo [1]
>>>
>>> Note that this is in the 'dan' branch.  The README has the salient
>>> details.
>>>
>>> *Maurizio*: if you get a moment, could you confirm that this code
>>> sample works ok for you?
>>>
>>> Thx
>>> Dan
>>>
>>> ~~~
>>> [1] https://github.com/bhargavgolla/isisJavaScript/tree/dan
>>> [2] transcript:
>>>
>>> Bhargav Golla
>>> Hi Dan, I am still unable to access my html page via URL. I placed the
>>> index.html file in webapp\src\main\webapp . But I am unable to access it
>>> with localhost:8080/index.html. My request isn't giving me anything. I am
>>> just getting a blank page. I tried changing permissions of the file also.
>>> Still no luck. Any help here?
>>>
>>> Dan Haywood
>>> Can you grant me commit access to your git hub report so that I can
>>> upload a code sample?
>>>
>>> Bhargav Golla
>>> Will do that
>>> Added
>>>
>>>
>>>
>>
>

Reply via email to