1. #1
    Ext User
    Join Date
    Feb 2010
    Posts
    18
    Vote Rating
    0
    ghoshdew is on a distinguished road

      0  

    Default Can I mention a jsp file instead of php to get JSON formatted data for grid

    Can I mention a jsp file instead of php to get JSON formatted data for grid


    Is it possible to have jsp file instead of php to get JSON formatted data to populate a grid.

    Code:
    var store = new Ext.data.Store({
    proxy: new Ext.data.HttpProxy({
    url: 'http://localhost:11533/JSONSample/index.jsp'
    })
    instead of
    Code:
    var store = new Ext.data.Store({
    proxy: new Ext.data.HttpProxy({
    url: 'http://localhost:11533/extjs-2.2-src/examples/grid/data.php'
    })
    Its not working though when I am running the web application http://localhost:11533/JSONSample/index.jsp ,I can view the JSON formatted data.

    Please find attached the screen shot of web app and grid output.

    Thanks....
    Attached Images

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    You will use a servlet.

  3. #3
    Ext User
    Join Date
    Feb 2010
    Posts
    18
    Vote Rating
    0
    ghoshdew is on a distinguished road

      0  

    Default


    Its not working,I am not getting where am I failing.In server reponse I am getting the database rows and mentioned the JSON formatted content to the jsp file

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    JSPs output HTML.

    Use a servlet.

  5. #5
    Ext User
    Join Date
    Feb 2010
    Posts
    18
    Vote Rating
    0
    ghoshdew is on a distinguished road

      0  

    Default


    using servlet its working....
    Thanks a lot for your guidence....

  6. #6
    Sencha User
    Join Date
    Oct 2009
    Posts
    19
    Vote Rating
    0
    Krishna_tgkk is on a distinguished road

      0  

    Default Trying to build a use case

    Trying to build a use case


    Hi

    Could you please share your experience. I am trying to build a Grid with data coming from JSP.

    Could you please let me know how to start with.

    As of now my project has a Java class which connects to the database and brings data. My JSP calls this Java class and displays the result in an HTML table. I want the same Data to display in an EXT Grid.

    please help me out.

    Thank you
    Krishna

  7. #7
    Ext User
    Join Date
    Feb 2010
    Posts
    18
    Vote Rating
    0
    ghoshdew is on a distinguished road

      0  

    Default


    Sorry for the delay Krishna
    Please find the attachment.
    Its having a readme.txt please follow it.
    Please feel free to ask if you have any queries.

  8. #8
    Sencha User
    Join Date
    Oct 2009
    Posts
    19
    Vote Rating
    0
    Krishna_tgkk is on a distinguished road

      0  

    Default Thank you for the reply

    Thank you for the reply


    Hi

    Thank you for the Reply. I am unable to find any attachment. If possible do send me a mail to krishna_tgkk@yahoo.com

    Thank you

    Regards
    Krishna

  9. #9
    Ext User
    Join Date
    Feb 2010
    Posts
    18
    Vote Rating
    0
    ghoshdew is on a distinguished road

      0  

    Default


    I will try my best to send you the attachment asap.
    sorry for the delay.

  10. #10
    Ext User
    Join Date
    Apr 2010
    Posts
    6
    Vote Rating
    0
    mahlatst is on a distinguished road

      0  

    Default


    Hi

    Please send me the attachment too. I have the same problem.
    My email: mahlatst@gmail.com

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi