You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2013/07/09 01:27:03 UTC
code sample added...
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
Re: code sample added...
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 9 July 2013 18:26, Bhargav Golla <bh...@gmail.com> wrote:
> Got it working.
>
good-o.
> So this means that I will have to compile the war every time I change
> something in HTML/JS, isn't it?
>
No... per the README I wrote [1], you can edit and save in your editor,
then reload (ctrl+R in chrome). Jetty will automatically detect the change.
> Is there any config change to allow all requests to our server so that I
> don't hit a CORS issue?
>
>
Don't quite follow you - but if you were thinking of hosting the scripts on
some other server for dynamic reloading, then you shouldn't need to worry
about that; see above.
Dan
[1] https://github.com/bhargavgolla/isisJavaScript/tree/dan
Re: code sample added...
Posted by Bhargav Golla <bh...@gmail.com>.
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 <da...@haywood-associates.co.uk>wrote:
> Thanks!
>
>
> On 9 July 2013 00:44, Maurizio Taverna <ta...@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 <da...@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
>>>
>>>
>>>
>>
>
Re: code sample added...
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Thanks!
On 9 July 2013 00:44, Maurizio Taverna <ta...@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 <da...@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
>>
>>
>>
>
Re: code sample added...
Posted by Maurizio Taverna <ta...@gmail.com>.
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 <da...@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
>
>
>