Hi,
this may be a slightly silly
question for people working on struts etc but im facing it
and i dont have the clue why im getting it.. can anyone suggest me why
im getting proble..
while compiling a java program my
javac is unable to resolve the standard java classes like java.io.*
j
function checkAll(formName,field) {
var formtest = "document." + formName +"."+field;
var formObj= eval("document." + formName +"."+field);
var length = formObj.length;
if(length > 1){
for (i = 0; i < length ; i++)
formObj[i].c
function checkAll()
{
for ( var i=0; i Hi
aa> Probably slightly off topic
aa> but i ahve a jsp using struts that has a table with rows.each row has a check
box.I have a checkbox at the top of the table, clicking which, i want all below
checkboxes to be checked..has anyone
aa> implemented th
Hi
Probably slightly off topic
but i ahve a jsp using struts that has a table with rows.each row has a check box.I
have a checkbox at the top of the table, clicking which, i want all below checkboxes
to be checked..has anyone implemented this code..
Thanks much in advance,
sam
-
Hi
Has anyone implemented two html:form in a same jsp..
I wish to do this to implement two tables.each table displaying values in a row, of a
bean...
so there are two beans...
for some reason, it gives me error saying it cnat find getter for my second
bean...though I did add getters and sett
Struts could be used for the server portion of your client-server
application -- the server could be implemented as a standard web
application, perhaps providing XML to the client. The client would play the
role of the web browser -- be the web browser -- in interacting with the
webapplication "se
HI
I get the error belw:
javax.servlet.jsp.JspException: No getter method for property id of bean driver
while the only variable "id" taht i am using is in the line below in my jsp..
any clue why his error is coming
Thanks a lot for the help,
Sam
Title: Message
Hi all,
I've a doubt in implementing modular approach for
using multiple struts-config.xml and multimple
iles-defs.xml.
I've defined 2 diff. struts-config.xml in web.xml in a modular
way as below:
---
Hi!
Is it possible to test "isUserInRole" using JSTL 1.0 (like the struts "logic
present role" tag)?
Thanks in Advance...
Alvim.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi
when i use the DispatchAction and someone tries to access a method which
doesn't exist a NoSuchMethodException is thrown. how can i catch this
exception and redirect or at least change the output ?
regards nicolas
-
To unsu
On Friday 16 April 2004 12:08, Mu Mike wrote:
Hi,
probably I don't fully grok what's your exact
problem. What I get is that you have an
plus a jsp page that's intended to be displayed
there. Forgetting about the for the
moment, let's have a closer look at my.jsp.
I see a that calls something,
Hi,
Is there a tag library out there to do this (or is it part of the
struts taglib or JSTL and I'm just missing it... or is it a bad idea?
:-)...
I would like to allow the user to make a menu choice and
have the input forms change (I suppose a page reload or forward would
be okay) when the
This parameter is intended for CSS (Cascading Style Sheet) class name.
SB
"Teixeira, Jorge (Informaker)" <[EMAIL PROTECTED]> wrote in message news:[EMAIL
PROTECTED]
> What's up guys,
>
> I wath use the property StyleClass on TagLib of struts, I done this:
>
>
>
>
> The question is, need I
I work with JBoss 3.2.3 and Struts 1.1 and in JBoss console get the following messages:
18:32:03,227 INFO [PropertyMessageResources] Initializing,
config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
18:32:05,641 INFO [PropertyMessageResources] Initializing,
config='org.apache
"Craig McClanahan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> You don't need it at all if you're willing to let the user's language
> selection in the browser control everything (which is the default
> behavior). If you want to offer a "change Language" control, you'll
> nee
The way to configure this flexibly for each action would be to define
an extension of ActionMapping that was a bean with whatever config
properties you need (for instance, a role or list of roles permitted
to access the action.) Of course, since each path gets only one
ActionMapping, you may n
If your container supports servlet 2.3, use a filter. That's really the
best place for a check like that.
Jason
Josh Holtzman wrote:
Hello all,
I'm working on a Struts application that contains 2 modules.
Module 1 (default): a public website.
Module 2: a user and administrative logi
http://wiki.apache.org/struts/StrutsCatalogInstrumentableForms
At 10:36 PM 4/15/2004, Andrew Stevens wrote:
Hi,
I've read various threads on this mailing list about uploading files, and
uploading MULTIPLE files. There seems to be some shortcomings.
Especially as I want to offer a theoretically i
http://wiki.apache.org/struts/StrutsCatalogInstrumentableForms
At 12:03 AM 4/16/2004, Prasad, Kamakshya wrote:
Use indexed properties.
Link for the same
http://jakarta.apache.org/struts/faqs/indexedprops.html
-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED]
Sent: Friday,
I think that I provided a solution to this in the struts wiki. See under
BeanMapForms.
At 10:36 PM 4/15/2004, Andrew Stevens wrote:
Hi,
I've read various threads on this mailing list about uploading files, and
uploading MULTIPLE files. There seems to be some shortcomings.
Especially as I want
Yes, I work in a FOG environment.
<>
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 11:00 AM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] [WAS]RE: EJB+STRUTS Architecture
That's one of the Fang of Gore design patterns, if I'm not much
Hi All,
I have cought up in a basic proble
its like this .
im writing a simple program hello
words and a import java.io.* on the top
i get
jaba1.java:2: cannot resolve symbol
symbol : class io
location: class java
import java.io.*;
^
can anyone help me how to resolve
this
That's one of the Fang of Gore design patterns, if I'm not much mistaken.
On 04/16/2004 03:49 PM Mainguy, Mike wrote:
I prefer to use the Singleton Business Delegate Value Object Pattern to
implement a Service Oriented Architecture ;)
<>
-Original Message-
From: Rajesh, Harikrishnan (
Yes, why not, DTD can locally be e.g. in your WEB-INF directory but point your URI in
struts-config.xml (in DOCTYPE) to that location.
SB
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi gurus,
>
> I solved my problem.
> I put the modified struts-config_1_1.dtd back into the st
I have DTO (transfering the data from my EJB) with the following fields:
id (java.lang.Integer),
name (java.lang.String),
birth (java.sql.Date)
also I have a ActionForm bean with the same fields but of String types:
id (java.lang.String),
name (java.lang.String),
birth (j
It seems that you will have to use MappingDispatchAction type of your action where you
can define different action mappings for the same action where they will be
destingwished according to action sent from form. So for one action where Submit
defines action (e.g. action=doit) you have /doit map
Thanks Craig, to use BeanUtils and its copyProperties method was the reason why I
wanted to use FormBeans with fields other than String. After that I realized that
BeanUtils has internal conversion functionality. There are some problems when you have
to convert date written in String into java.s
Thanks Nial and others. Yes, that's it, exactly. Unfortunately I have to duplicate my
group for each language but I think copy/paste will help. BTW, I'll look at
nightly build of Validator and its inheritance feature to see how could I exploit this
new functionality.
Stjepan Brbot
"Niall Pemb
Hi there,
That would be the problem...
Makes me wish the OReilly book I'm using as a reference had mentioned that
somewhere...
Thanx to all who answered!
c'ya
Mike
Mike Boucher [EMAIL PROTECTED]
Edgil Associates www.edgil.com
"Don't take life too seriously,
Hello all.
What is the best way to deal with request parameters when the work flow
goes: page -> action -> same page?
Ok, let me see if I can more accurately describe the situation.
I have a form. Within that form, I have a table listing entities with a
column of indexed checkboxes which map to
I prefer to use the Singleton Business Delegate Value Object Pattern to
implement a Service Oriented Architecture ;)
<>
-Original Message-
From: Rajesh, Harikrishnan (H.) [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 12:01 AM
To: [EMAIL PROTECTED]
Subject: EJB+STRUTS Architec
Hi,
Thanks for all the answers. Since I have a large
amount of data -- over 1 for display, can I just
call getSession fetch first 100 rows, then when user
click "more" link then fetch the next 100 rows. But
how to fetch the next 100 rows from session object?
Thanks,
--- Matthew Ryan <[EM
My quick and dirty solution is to have everylink submit the form and set an
attribute that tells where it should go. The client side version is pretty
much the same thing, but with a popup window.
<>
-Original Message-
From: Mike Fotiou [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15
Hi,
in JSP the HttpSession is an implicit object called 'session'. You can put
objects into the 'session' like this :
session.setAttribute("key",);
in a Struts Action you can get a refence to the session from the Request
object's getSession method call.
if you were to give that HttpSession you d
Yes I have, with the remote app communicating through http requests.
The app is an added interface to an online system.
It queries the database through http requests that return XML (via struts).
Could have been done using soap, but wasn't for some reason.
Daniel.
-Original Message-
From:
request.getSession().setAttribute("myObjectName", object);
hth,
robert
> -Original Message-
> From: Julia Weaver [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 9:18 AM
> To: Struts Users Mailing List
> Subject: Re: Row
>
>
> Hi,
> Could you please tell me how to put data in s
At 3:36 PM +1000 4/16/04, Andrew Stevens wrote:
Hi,
I've read various threads on this mailing list about uploading files, and
uploading MULTIPLE files. There seems to be some shortcomings.
Especially as I want to offer a theoretically infinite number of file
uploads in one form. 0 to 5 files is re
Hi,
Could you please tell me how to put data in session?
Could you please give me an example?
Thanks,
--- Sapt <[EMAIL PROTECTED]> wrote:
> and if u don't want to use displaytag, u can put
> your data in session, and
> take only 10 data.
> - Original Message -
> From: "Sapt" <[EMAIL PROTE
No Struts is tied to the servlet API you can't reuse it for fat clients
Regards
Duncan Mills
[EMAIL PROTECTED] wrote:
Hi,
I'm new to this list and would like to say hi to everyone.
Here is my question:
I've used Struts before for web applications but at the moment I'm evaluating if i
Hi,
I'm new to this list and would like to say hi to everyone.
Here is my question:
I've used Struts before for web applications but at the moment I'm evaluating if it
would be possible to use Struts for Java Client-Server applications (Java fat client).
Any thoughts? Has some one see
We have handled a situation like this by giving the user the option to
upload a single file or a zip/jar file of multiple files and the providing
a checkbox for them to indicate if the file should be extracted or not. Of
course this approach depends on the user having the ability to zip/jar a
Hi everybody , i need to do something like this
but elem.val has a String value with a dot inside, ie:
"lalala... algo mas",
when this convert i've got a ServletException: beanutils.populate,
i think that is because it try to get a property from lalala, ...
thanks a lot in advance ...
Hi
I'm not sure if this follows the 'best practices' (for me it do) and what
kind of RDBMS you're using, but the best place for such a logic is a
database itself. Using stored procedures, you can code such a checking and
validation on the table level, and avoid code overhead.
Sergiusz
--
I mentioned this problem here days ago, and I asked the difference between
redirect and forward here yesterday, but I m still at a loss to know why I
got the exception
see: my.jsp is my jsp file , it exists in another jsp file which refers
myjsp.jsp by an
,that is
my.jsp
...
u can find it at www.jbpm.org. It is struts + hibernate + ejb.
- Original Message -
From: "Rajesh, Harikrishnan (H.)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 12:01 PM
Subject: EJB+STRUTS Architecture
Hi,
Does some body throw me light on how to architect
Steven J. Owens wrote:
>> "Another nuance, which I find comes in handy quite often, is that
>> responding to a form submit with a redirect will prevent the browser
>> from offering to re-post the parameters for the user."
On Fri, Apr 16, 2004 at 10:30:59AM +0530, [EMAIL PROTECTED] wrote:
> Even I
Search the archive and you will find I have explained a technique that
involves the use of a single FormFile setter, a session scoped form, and a
list, with the user uploading 1 file at a time to the field, submitting it,
and being returned to the form with a list of files uploaded so far and a
box
Use indexed properties.
Link for the same
http://jakarta.apache.org/struts/faqs/indexedprops.html
-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 2:37 PM
To: '[EMAIL PROTECTED]'
Subject: Multiple file uploads
Hi,
I've read various threa
48 matches
Mail list logo