Yes, try convention first and then get on REST. You need to include
the config browser plugin, for that url to be available. I don't know
much of REST myself, but with your config settings, Convention should
be mapping
http://localhost:8080/lotmap/subdivision
to the mentioned class. Look at the l
Thanks Musachy, that page
(http://struts.apache.org/2.1.6/docs/convention-plugin.html) was very useful
and now I think I understand the "locators" property much better.
So here's my class: com.tousa.ws.rest.SubdivisionController
and I think I told Convention to use suffix "Controller" via the p
Ah the little things that drive us crazy :). Your class is
"com.tousa.ws.rest.SubdivisionController" and the locator is "rest"
which means the the action won't have a namespace, so the url will be
/subdivision instead of /rest/subdivision, because the namespace is
what follows the locator, for exam
Hi -
I am attempting to use the struts-rest-plugin, v2.1.6. I am using
struts2-rest-showcase-2.1.6 as a guide. The showcase app works fine for me,
and I have modeled my struts.xml, web.xml, and pom.xml after its example.
Still, my app always returns a 404 error for any RESTful URL request.
That, for some reason, is calling getPassword... can someone tell me why it
is not blank with the value explicitly set?
-
Mike Baranski
O: 919 788 9200
F: 919 510 0037
M: 919 395 0620
m...@secmgmt.com
CVI Authorized User Number: CVI-
Can you send sample application to sajidbig...@gmail.com.
how ajax call and how get respose using yahooUI
Thanks
--
View this message in context:
http://www.nabble.com/username-availability-check-tp22372427p22378670.html
Sent from the Struts - User mailing list archive at Nabble.com.
Which version of struts you are running? Running early version of struts like
1.1 on new web containers is problematic. I had the same issue running early
version of struts on Websphere V6+. I had to add a custom property
"prependSlashToResource = true" to my server make it run.
Since you are
Yes, u can implement with javascript, in the onClick method of the
select, something like to change the document.src with the new address.
On Fri, 2009-03-06 at 18:34 +0100, Jiří Chaloupka wrote:
> Hi, it is working now. I do not know what concrete helped, I rewrite
> web.xml mapping, implementin
Hi, it is working now. I do not know what concrete helped, I rewrite
web.xml mapping, implementing BaseAjaxServlet instead of normal servlet,
set base url, disable cache ...
Now it is working.
I have one more question -is there any way to modify autocompleter -
after selectin one record, inste
i did this using struts 2.0.11 and AJAX but for ajax i used YUI
inmy case when user was putting his/her tinnumber i was checking that
availability in the database before proceeding furthur.
if you need any help in this regard i can help you
On 3/6/09, sajidbigler wrote:
>
>
> hi friends,
>
> ca
So, I have a jsp form that uses:
and things like that.
The action's method for getUser provides an IUser (an interface).
The instantiated class is provided by a dao provider injected by Spring, but
all the jsp sees is the IUser type.
Now, it works great getting the form generated, but when sub
Hi,
I'm using Struts 1 with Weblogic 9.2.2 (Java 1.5), running on my local Win
XP machine. I'm getting this error when trying to deploy my WAR in my
Weblogic logs ...
<[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'> <> <> <>
<1236353508999>
at
2) actually assigns the value ""
1) gets the value of the property from the formbean if it has been assigned in
the formbean.
You may have an action that populates the form by hitting a database, loading
the data in the form
and the forwarding to your current page ie before editing a record.
mas
E
the input stream comes from Request
the output stream comes from Response response.getOutputStream();
http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletResponse.html#getOutputStream()
this code is problematic as it is NOT associated with output stream from
HttpServletResponse response
Hello,
I have a JSP with struts tags in it. I want to get its contents from the
struts action class. I did it using RequestDispatcher.
I wrote the following code ..
==
// Creates a response wrapper object.
BufferedHttpResponseWrapper responseWrapper = new
BufferedHttpRespons
hi friends,
can some one help me to do username availability check using struts2.1.6
and ajax.where user enter user name ajax call will check availability from
database and if user aleady in database throws error otherwise allow user
to enter other details.i tried to accomplish it by using bind
My problem is as follow :
I iterate over a map of objects and theses objects contains a property that I
want to expose in a s:radio.
Like this : I got a map "myMap" with 2 properties :
- P1, the unique identifier of the object (P1 is also the key
value of the map)
My problem is as follow :
I iterate over a map of objects and theses objects contains a property that I
want to expose in a s:radio.
Like this : I got a map "myMap" with 2 properties :
- P1, the unique identifier of the object (P1 is also the key
value of the map)
Hi,
I'm us¡ng JBoss and @EJB doesn't work either. Are you using Struts1 or
Struts2? If Struts2, You can use the extension for EJB3 for Struts2. It
works OK (interceptor).
senderj wrote:
>
> My env is Netbean with Glassfish. I am able to create a servlet to call
> EJB with this code:
>
> public
good moorning;
exuse me, i have created a new user with a form in an Action;
now I want send this user in a new jsp page; does someone know how make this
thing?
--
View this message in context:
http://www.nabble.com/data-transfer-tp22369476p22369476.html
Sent from the Struts - User mailing list
Hi all.
This line is in my Action myaction:
addFieldError("azienda", getText("error.azienda"));
This is in my myaction.properties:
error.azienda=È necessario specificare il nome ed il cognome.
Output in html is:
È necessario specificare lazienda di appartenenza.
How can I protect the È to ou
Hi,
If a Struts 2.1.6 webapp's action extension is set to nothing in
struts.properties via
struts.action.extension=
Then all the javascript files normally accessible within the Dojo plugin
become inaccessible, i.e. the Struts filter believes requests for these
files are requests for actions.
C
My env is Netbean with Glassfish. I am able to create a servlet to call EJB
with this code:
public class TryAdvise_create extends HttpServlet {
@EJB
AdviseFacadeRemote advBean;
..
protected void processRequest(HttpServletRequest request, {
..
Advise ad
Hi,
I am making an ajax call on, onchange event, here is the code I am using for
that
Depending on the value of select list, I need to populate the contents of
Div, But I am not able to get the value of "name" in my ajax action class,
it's printing nu
24 matches
Mail list logo