struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Geppert <jo...@web.de>
Subject Re: Struts2 JQuery select box
Date Thu, 04 Mar 2010 15:07:45 GMT

you can just execute your action like a normal action.

http://localhost:8080/app/json.action 

The result should be a normal textfile which you can open 
with notepad or whatever you want.

Also you can use Firebug "Network/XHR" to see your action response

Best Regards

Johannes Geppert


nani2ratna wrote:
> 
> Hi Johanes,
> 
> Thanks for reply.
> Actually I am very new to JSON.
> Action is working fine.
> 
> I went through your code and redid the same type stuff in my app.
> I don't know about JSON reponse.
> Since in your action class there no result(jsp) mapped.
> So I too did the same. I am just executing the action method. And I don't
> know how to send response.
> 
> Can you please explain or send me some links.
> So i can read and do that.
> 
> Thanks in advance
> RS
> 
> 
> 
> Johannes Geppert wrote:
>> 
>> Hello,
>> 
>> did your JSON Actions works fine? 
>> 
>> Check if you really get an JSON response and the 
>> variables inside the result have the same name.
>> 
>> Can you please POST your result with sample data?
>> 
>> Best Regards
>> 
>> Johannes Geppert
>> 
>> 
>> nani2ratna wrote:
>>> 
>>> Hi,
>>> 
>>> I am trying to use http://code.google.com/p/struts2-jquery/ for loading
>>> select box.
>>> I just followed this link
>>> http://www.weinfreund.de/struts2-jquery-showcase/index.action#.
>>> 
>>> Every thing is executing fine.
>>> But the list not loading properly.
>>> I am new to JSON.
>>> 
>>> I changed below jsp page which was working fine with normal select box.
>>> 
>>> my code is 
>>> 
>> 
>> 
> 
> 


-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: http://old.nabble.com/Struts2-JQuery-select-box-tp27780125p27781967.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message