Form-bean is stored in request/session.
And in a custom tag, you can access the property pageContext.
Why not using a code like :
MyFormBean form = (MyFormBean)pageContext.getAttribute("myFormBeanName",
PageContext.SESSION_SCOPE);
or
MyFormBean form = (MyFormBe
I'm not using Struts Validator, but have the same pb with
alert('') ...
To solve it, I use a javascript regexp expression :
function message(text) {
alert(text.replace(//, ""));
}
But, this is not generic ...
--
C. Bouessay
[EMAIL PROTECTED] wrote:
> Hello,
>
>
>
> How do I set up
With mozilla (netscape),
Edit > Preferences >Navigator >Languages
--
C Bouessay
Yibing Li wrote:
> Could you tell me how to set up the locale in my browser? The only thing I
> know
> is that I have set the encoding under the view ( for IE ) to the appropriate
> language I expect.
>
> Thanks,
>
Hi,
I've added 4 lines in web.xml to tell ActionServlet not to read the DTD:
validating
false
Then, warnings disappear.
It's not a real solution, but for today, it's good :-).
Thanks, for the link.
--
C. Bouessay
Adolfo Miguelez wrote:
>
>http://www.hpmiddleware.com/SaISAPI.dll/SaS
Ida Dorum wrote:
> The error turned out to be in my mapping, I have never needed to add the
> form to my request or session in my action to make it available in my
> jsp? Why do you do that?
Neither me (?)
Could you send an extract of the JSP file? (kort_finn_kunde.jsp)
--
C. Bouessay
> -O
For all actions, you could configure the ActionServlet in web.xml, like
this:
...
nocache
true
...
--
C. Bouessay
Slimane Zouggari wrote:
> Hi,
>
> When I try to follow a link to one of My action class. Sometimes, it
> works correctly and sometimes, my browser just take the
I don't think you can sort directly with the tag iterate (maybe I'm
wrong ?).
But, you could use a TreeMap collection.
(records in the TreeMap are sorted by the key, ie the specific sorted
column would be the key).
--
C. Bouessay
Sachin wrote:
>Could anyone explain about the sorting of multip
In web.xml, you could add:
nocache
true
for Action Servlet configuration.
--
C. Bouessay
Jonathan Gibbons wrote:
> My guess is that there is proxy caching going on someplace. Setting the
>HttpServletResponse header fields should do it, not sure if there is a tag, but its
>easy enou
Have a look at:
http://www.javaworld.com/javaworld/javatips/jw-javatip118.html
(it should maybe help you (???))
--
C. Bouessay
Galbreath, Mark wrote:
> JRun's documentation sucks and it's code examples use deprecated methods.
> Does anybody know the correct means to get a JNDI reference to an
Sudhir S. Shetty wrote:
> Hi All,
> I have an Intranet application hosted on Weblogic Server , the
> application is built on STRUTS, I need to know, whenever I start up
> weblogic, the server downloads the DTD's for the application i.e. the struts
> specific DTD's and the ones specific
Reid Pinchback wrote:
> Another alternative is used by the workflow extension
> listed on the Struts resources page. You can create
> a base action class that does the checking in its
> perform method, then calls some other method
> provided by the concrete subclass to do the normal
> work if t
Ted Husted wrote:
> One approach to a wizard is to group the properties into pages, and pass
> the page number as a hidden property. The reset and validation methods
> can then use the page number to decide which set of properties to
> validate.
I'm using this approach, but don't store page n
Well, I've found one solution:
">
Is there a better way to do this?
--
C. Bouessay
Christian Bouessay wrote:
> Hi,
> I have a form with a multiple select box.
>
> class myForm1 extends ActionForm {
> String[] getFields() { ...}
>
Barry Dreckmann wrote:
> Hello there !
>
> I was wondering if anybody was using Oracle9i JDeveloper with Struts.
>
> If someone is...How do you go about configuring JDeveloper to use it ?
>
I'm using struts with JDev O9iAS RC (Win NT).
JDev seams to have some pbs using a .jar in the WEB-INF/
Hi,
I have a form with a multiple select box.
class myForm1 extends ActionForm {
String[] getFields() { ...}
void setFields(String[] fields )
...
}
When I submit the form and validate() return null, it forwards to an
other view of the same form where I would like to store
> Would it be possible to have just 1 form with a "type" property and then
> from the JSP's a hidden field that sets the type? Based on this "type"
> you can control the proper validation. Having different classes with
> the same form name could get messy.
>
Do you mean only one class (For
Hi,
I would like to use something like this:
with : Form1.java, Form2.java, Form3.java extend Form.java.
Form1, Form2 and Form3 have the same properties, but different
validate() methods.
How to write that all these forms refer the same one.
I mean, I would like struts to save these differe
17 matches
Mail list logo