hello,
will u try the new feature NamedVariablePatternMatcher
http://www.nabble.com/Some-Idea-On-REST-mapping-td19263471.html#a19263471
Leonard Broman wrote:
>
> Hey!
>
> I've been looking around quite some time for a solution how to build a
> neat REST driven web application. What I basical
for date u can use
and more common usage can be refer at
http://struts.apache.org/2.1.2/docs/formatting-dates-and-numbers.html
if u are using freemarker, it will be more flexible with ftl syntax.
nestorjb wrote:
>
> Hi
>
>
>
> Isnt there a way to apply formatting of number and dates in S
I'm sorry for that I haven't notice u r using struts 1...
here is an article which sample code contains an example using struts1 and
site mesh.
http://www.onjava.com/pub/a/onjava/2004/09/22/sitemesh.html?page=3
regards.
sa10 wrote:
>
> Thanks Ryan.
>
> Here is my web.xml could you please adv
hello...
may be the problem is the order of the filter
here is mine
set-encoding
/j_spring_security_check
struts-cleanup
/*
sitemesh
/*
I using jquery to post the request with some content and expecting a
JSON-format response
here is my code..
$.post("/socialize/tags;addTag.json",{contentType:"TOPIC",
resourceId:1,
tags:"tag"},function(data)
I think all you need is some function provide by JavaScript.
Mitxel Mitxelisimo wrote:
>
> Hi, I´m trying to make a form to fill in a questionform that is composed
> by
> some questions and one radiobutton for each, and this is the problem,
> what can i do to this in my action? how i can fill in
and besides, you could use a struts2 action with result stream, but I'm not
sure how to do it in struts 1
but the pattern is the same..
Amir Hossein Sharifzadeh-2 wrote:
>
> Dear J2ee members
> I am trying to display an image in a jsp page which is stored as a blob in
> the oracle table.
> I wro
Well, in my previous project, using JasperReports, I need to display a server
create Image to user.
I used a Image Servlet (and I believe it's the standard method) the provide
the Image data, set the response content-type to image/jpeg or what ever.
and the action of struts is just to send the key
I've used checkboxlist tag with JDK 5 enum
like:
[EMAIL PROTECTED] key="resource.requestMethod" name="requestMethods"
list="@[EMAIL PROTECTED]()" listKey="name()"
listValue="name()" /]
every thing is OK, and the data can be persist to the database correctly.
but w
Thanks so much for those replys
I got much clear about the URL patterns I could use with the plugin.
Jeromy Evans - Blue Sky Minds wrote:
>
> Ryan Wong wrote:
>> But there is still a question.
>>
>> With the namespace we have to place the parameter like prefix...
&g
accept by user, isn't it?
Jeromy Evans - Blue Sky Minds wrote:
>
> Ryan Wong wrote:
>> Thanks Jeromy...
>>
>> There is not any document about this one..
>> So i missed that feature...
>>
>>
>
> Yeah, the NamedVariablePatternMatcher is onl
Thanks Jeromy...
There is not any document about this one..
So i missed that feature...
Jeromy Evans - Blue Sky Minds wrote:
>
> Ryan Wong wrote:
>> I have changed the rest action mapper class to apply Ruby Style .
>> there is draft, post here to find a better way to buil
I have changed the rest action mapper class to apply Ruby Style .
there is draft, post here to find a better way to build RESTful app with
struts2
Rest style action mapper
Using with struts2-rest-plugin, replace the orginal RestActionMapper class.
With url patterns below to support CRUD operati
Thanks, Jeromy, that's a very useful example.
Jeromy Evans - Blue Sky Minds wrote:
>
> Ryan Wong wrote:
>> how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to
>> action
>> to show item with ontract id - 1 and sprints id - 1
>>
> H
I found org.apache.struts2.dispatcher.mapper.Restful2ActionMapper
in struts2-core support that url patern
so why should we still need a rest plugin? to simplify the configuration?
Ryan Wong wrote:
>
> how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to
> action
>
how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action
to show item with ontract id - 1 and sprints id - 1
--
View this message in context:
http://www.nabble.com/Can-anyone-help-me-with-an-example-of-REST-with-mutiple-paras-tp19154913p19154913.html
Sent from the Struts - Use
16 matches
Mail list logo