Sparecreative wrote:
We use the interceptor for interrogating a legacy database where we have
no control over the execution or timing of the query.
We basically have an API we call and then wait in hope.
I have to say that I've found the interceptor to be inconsistent at best.
For
I began writing about the 2.2.1 convention plugin and naturally started
writing code. I especially like not having to code XML when my file naming
is clean and straightforward. I started off with a package named
*com.foo.actions.music* which resolves to the namespace (URL)* /music*.
Next I
Hello, I'm using Struts2 iterator to setup a list of checkbox in a
table(about 150 checkboxes). I want to have 10 checkbox per row, so I'm
doing the following:
table
tr
s:iterator value=securityMasterFields status=fieldNameStatus
var=fieldName
s:if test=#fieldNameStatus.index % 10
Hey anybody have a quick idea what would cause my URL to grow.
First time I hit the page:
http://localhost:8080//struts/locationAssign
submit the page then:
http://localhost:8080//struts/struts/locationAssign
then submit again:
Let's see your location assign jsp as well.
Beez
From: Ellson, Jared L
Sent: Tuesday, December 14, 2010 4:24 PM
Hey anybody have a quick idea what would cause my URL to grow.
First time I hit the page:
http://localhost:8080//struts/locationAssign
submit the page then:
Here you go:
%@ page language=java contentType=text/html; charset=ISO-8859-1
pageEncoding=ISO-8859-1%
%@ taglib prefix=s uri=/struts-tags%
%@ taglib prefix=t tagdir=/WEB-INF/tags %
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
Every time I've had a URL with an extra path element that I didn't
intend, it was always because I messed up the namespace for the action
- I have a bad habit of forgetting the leading / on my namespaces.
I see you don't have a namespace defined for your package, that's part
of the stock package
On Tue, Dec 14, 2010 at 4:24 PM, Ellson, Jared L wrote:
Hey anybody have a quick idea what would cause my URL to grow.
Excitement.
Dave
Nope... namespace didn't help... I was thinking it was maybe because I was
doing the submit via javascript but it happens when I use the s:submit it
happens also.
-Original Message-
From: Aaron Brown [mailto:aa...@thebrownproject.com]
Sent: Tuesday, December 14, 2010 2:34 PM
To:
After I saw the next chunk of code you posted, it looks like it really
is a namespace problem: you're referring to your action as
struts/actionName, which will continue to add struts subdirectory
to whatever URL you're currently using. Instead, try
/struts/actionName.
Alternately, and probably
Yup.. I realized that right after I sent my last email.. That was the problem
thank you everyone!
-Original Message-
From: Aaron Brown [mailto:aa...@thebrownproject.com]
Sent: Tuesday, December 14, 2010 2:53 PM
To: Struts Users Mailing List
Subject: Re: Help... My url grows...
After
I think this does the right thing if you return Action.SUCCESS in your
remove() action method instead of remove. Otherwise you'll need a
custom result mapping for that new result string.
On Tue, Dec 14, 2010 at 8:57 AM, stanl...@gmail.com wrote:
I began writing about the 2.2.1 convention
hi all
we wanna to share our new code, we put in Github also,
http://github.com/blueoxygen/cimande
this is a REST example, we will upload the REST client using Android shortly
review of code welcome
--
Frans Thamura
Director
Meruvian.
The Most Complete Java Services Provider in Indonesia
13 matches
Mail list logo