hi
why not trying to use JDeveloper by Oracle. it is a very good IDE and it
gives you the setter and getter methods ready made.
Vikramjit singh,
eAngel Team,
Global Tele-systems Ltd.
Ph. 7612929-3140
Marc-andre Thibodeau a écrit :
>
> Hi!
>
> Could anybody suggest me a tool for generating Jav
Hey folks,
The address below really does work :). I've used it recently to change email
addresses and I'm a satisfied customer. Try it, and make sure you reply to
the confirmation it asks for.
- Levi
- Original Message -
From: "Guus Holshuijsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED
If you're working with a Servlet 2.3 implementation, and your container
automatically creates sessions for each user, then you could simply
implement and register a javax.servlet.http.HttpSessionListener. From there
your container would auto-magically notify your listener when new sessions
are cre
Is there a similar thing to Servlet.init() in Actions?
I want to access EJB's in Actions and have to setup the InitialContext, look
up some Bean Remote Interfaces, etc. I don't want to do this every time my
Action is called.
If I were using a plain Servlet, I would put this stuff into init()...
T
Please unsubscribe me.
--- Eric Loeb <[EMAIL PROTECTED]> wrote:
>
> I'm having the same problem! I got overwhelmed,
> used
> the unsubscribe email feature, and discovered that
> I'm
> still being flooded by new messages.
>
> --- "Chittajallu, Vamsi" <[EMAIL PROTECTED]>
> wrote:
> > can you
How do I perform additional process in struts at the time of authentication
if container managed authentication is used?
For example, after the user has just logged on, I want to initialize some
attributes in the session by loading in some data from the database. One way
to do that is to add a ne
Hi Oleg & others,
I was more looking for something like:
... in which I do not need any scriptlets: argX tags in the body of
...
Am looking forward to any input or status.
Thanks!
Renzo
-Original Message-
From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Sent:
Hi
I am a new user of Struts. I wanted more than one resource bundles for my
application. For e.g., One resources bundle will contain all message
strings( MessageResources). Another contains all the images. (
ImageResources )
What I understand is that using Struts Img tag , I can specify key t
I'm having the same problem! I got overwhelmed, used
the unsubscribe email feature, and discovered that I'm
still being flooded by new messages.
--- "Chittajallu, Vamsi" <[EMAIL PROTECTED]>
wrote:
> can you please unscribe me from the mailing list.
>
> thanks,
> vamsi.
Ok, its not a bug, but may be a potential implementation
clarification/development consideration.
If I submit a form
action="/login.do"
the Action triggered must exactly match "/login.do" and not partial match.
That is,
action="/signup/login.do"
will not match. Now this may or may not be
Thanks again guys. It ain't pretty, but here's there important bits.
<%@ page language="java" import="java.util.Vector" %>
<%
Vector
desc=((ProjectSearchForm)session.getAttribute("ProjectSearch")).getDescripti
ons();
%>
// set to defau
I've used redirect with a full URL to switch between SSL and a
conventional connection, so it may be a Weblogic issue.
Can you come up with a quick WAR that demonstrates the issue that we can
try under different containers?
> Jonathan wrote:
>
> I can forward from an action to another action.
Struts exposes the connection pool as a javax.sql.DataSource in the
application context, and you can use that object to request a
connection. This works great with the Jakarta Taglibs dbTag, so it
should work for others as well.
The name of the Datasource attribute is
org.apache.struts.action.
"Assenza, Chris" <[EMAIL PROTECTED]> writes:
> Okay...I'll rephrase that last one I sent. :) You won't be able to deploy
> the EAR the way you want without properly using the Application Deployment
> Descriptor (application.xml). Have you tried doing this?
>
> Here's a sample one I use for JBo
Okay...I'll rephrase that last one I sent. :) You won't be able to deploy
the EAR the way you want without properly using the Application Deployment
Descriptor (application.xml). Have you tried doing this?
Here's a sample one I use for JBoss 2.0 w/ Tomcat 3.2b7, goes in META-INF of
the EAR's c
As per the bean: struts API docs, I've included an "Employee" type object
into the request scope called "emp".
emp can get/set the "mLastName" property using getLastName() and
setLastName()
However - when I try the following
I'm told that there is no "getter" method
javax.servlet.ServletExcep
Hi,
In what cases does the Struts framework remove a Session Form bean from the
Session? Is this supposed to be done explicitly by the JSP or Action object
writer?
Thanks,
-Jerome
Chuck,
thank you for the responce. The weird part is that when I start Orion I get the
following error about the struts-example.war ( I have printed the output to a
log file )
Orion/1.5.2 initialized
New org.apache.struts.webapp.example.User
Begin event threw exception
java.lang.ClassNotFoun
You could still do something I did below with
JavaScript, but have the toggle set the value
somewhere on the page for you.
David
--- DHarty <[EMAIL PROTECTED]> wrote:
> David,
>
> Thanks for the advice.
>
> I don't need a message box, just an area on the page
> that will display the
> descript
Hi,
Did you ever figure out the solution for the problem I have the exact
same problem.
Sibon Barman
SS8 Networks, Inc.
Suite 500
495 March Road, Kanata,
Ontario K2K 3G1
*: (613)592-2100 ext:3281
*: [EMAIL PROTECTED]
-Original Message-
From: Shkuro, Yuri [mailto:[EMAIL PROTECTED
David,
Thanks for the advice.
I don't need a message box, just an area on the page that will display the
description of the currently selected item.
An example would be www.cars.com Here, they have a series of selection
boxes, each of which is populated depending on what the previous selection
Hi Guys,
Just been zooming round the source and have
a question. In the property utils we cahce the property descriptors, but
then unfortunately we do a linear search (of strings!) through these returned
values to find the correct Method to call.
Instead of going through all that malark
Thanks guys, I'll work on these and let you know what happens.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 2:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and Javascript
Only other thought is could you include the description
I'm not sure what you are trying to do exactly. Do
you want to show a message box with a value based on
the choice from the select? You would need to create
a JavaScript array of the values you are looking for
in order to display them.
// Auto-generate the description that goes with the
key
fun
Only other thought is could you include the description as the value? I know
it's not perfect, but then you could pass the select object into the function,
and display the value using javascript.
If you don't have too many options, Peter's suggestion to create javascript
array may be best bet.
I don't believe that this will work.
To my understanding, JavaScript does not have access to objects within a request or
session.
By the time the javascript is run, the request is dead.
There may be a better solution than this...
One solution would be to have your JSP page generate a javascript a
hi all,
i am trying to iterate with length and offset
when length="1" all the time and offset gets incremented with each outer
iteration.
i am trying to do something like
this
<% int row=0; %>
<% row++; %>
as offset takes an string i am enlosing the int
in quotes. no errors
I know this is getting out of context for for this list, but I've got a
selection box populated with the name property of a bean. I'd like to
display the "description" property of that bean when the selection changes.
I know you can use javascript commands in the select option, but I am unsure
ho
Hello Renzo,
You can use -
Friday, July 06, 2001, 4:30:27 PM, you wrote:
RT> Hi there,
RT> First of all, I want to thank all Struts developers & contributors for
RT> creating such a nifty framework. After working with it for some time now, I
RT> really miss message masks, like 'Hi {0}, wel
Renzo,
Doesn't html:message do something like this? It allows you to specify
parametric arguments for subsitution. See
http://jakarta.apache.org/struts/struts-bean.html#message
Regards,
Ben Flaumenhaft
Principal, Sidelight Consulting
http://www.sidelight.com
> -Original Message-
> Fr
I have a situation in which I need to forward to a
certain place with a form (i.e. I need to reference an anchor in my href...). I
can code my action class to determine what the anchor needs to be, but I'm at a
loss for how I would get the ActionForward to include the anchor...
I could mayb
What does your application.xml look like?
Chris
-Original Message-
From: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 12:39 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [JBoss-user] RE: Struts & Jboss?
"Ravindran Ramaiah" <[EMAIL PROTECTED]> wrote:
www.infosphere.com
- Original Message -
From: "Eric Loeb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 3:50 PM
Subject: Re: Know of any consulting companies?
Maybe. The thing about ARS Digita is that they focus
on web applications using their open source
Hello!
I've made up a custom JSP tag that I'm using with a struts
application: It loads an organisation hierarchy from a JDBC data
source and renders it to HTML.
My question is this: How does my JSP custom tag class ask the Struts
connection pool for one of its connections?
Thanks!
Jonathan F
I was asking myself an hour ago if a "guru" did something like this.
Thanks Ravindrah. This will help a lot.
-Mensaje original-
De: Ravindran Ramaiah [mailto:[EMAIL PROTECTED]]
Enviado el: Viernes, 06 de Julio de 2001 10:17 a.m.
Para: '[EMAIL PROTECTED]'
Asunto: RE: JavaBeans creation
I can forward from an action to another
action.
Action1 (forward to
*.do)> Action2 (forward)>
I can NOT successfully redirect from an action to
another action
Action1 (redirect
to *.do)> Action2 (forward)>
The mapping gets screwed up so that the path
Marc,
I have created a code generator for Struts and is available
in http://www.husted.com/about/struts/resources.htm#extensions
Thanks,
Ravi
-Original Message-
From: Marc-andre Thibodeau [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:02 AM
To: struts
Subject: JavaBea
To remove your address from the list, send a message to:
<[EMAIL PROTECTED]>
- Original Message -
From: "Chittajallu, Vamsi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 14:35
Subject: unscribe me please!!!
> can you please unscribe me from the mailing lis
Try JBuilder, it has a bean wizard tool. Also, I don't know for sure but I'd
imagine most of the top tier java IDEs (like Forte or NetBeans or VisualAge
for Java...) would have similar features...
Troy
- Original Message -
From: "Marc-andre Thibodeau" <[EMAIL PROTECTED]>
To: "struts" <[
I use emacs JDE mode.
if you prefer more graphical IDE, I know TogetherJ does, and surely
JBuilder too.
Marc-andre Thibodeau a écrit :
>
> Hi!
>
> Could anybody suggest me a tool for generating JavaBeans setters and
> getters automatically?
> Thanks!
>
> MA
Hi!
Could anybody suggest me a tool for generating JavaBeans setters and
getters automatically?
Thanks!
MA
It looks like the servlet cant match the path
correctly when I redirect to an Action
ex.
REDIRECTING TO; http://localhost:7001/successmtgs/postsecure_jump.do
org.apache.struts.action.ActionServlet
doGet()
org.apache.struts.action.ActionServlet
processPath()
PATH -
getAttribute("javax.serv
If anyone who read my post about BravePoint and consulting tried to get to
our corporate site, please be sure to use the www.bravepoint.com url and
NOT the links at the bottom of the page. Those links were my personal stuff
and have nothing to do with the company. I didn't mean to include them...
Hi, I'm having a problem with implementing a drop-down select box using
taglibs in my jsp.code I's using:
:
I get "runtime failure in Custom Tag 'select'".any ideas or code???
Regards.
The docs on bean:define say that it will unconditionally create or replace
the bean with specified id. However I get an error if I want to replace.
For example:
... init stuff
... init stuff
... do stuff with b
... do stuff with b
When compiling I get an erro
My request triggers the servlet to use
Action1.
In the perform method I create an ActionForward
which redirects to "http://localhost:7001/successmtgs/postsecure_jump.do"
==
I get this message: "Invalid path
/successmtgs/postsecure_jump was requested"
console
Hello,
Thanks so much.
[EMAIL PROTECTED] writes:
> Hi
>
> The best description I found is in the DTD:
> http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd
> Guido Roth
>
> | Hi,
> | I'm searching detail manual of strus-config.xml to write
> | and configure it. Please tell me where it i
Indeed Michael!
That´s the one we´ve been using WinCVS for Windows, and there´s also
gCVS for linux which is found also at www.wincvs.org ;-) I
like it a lot! You can find there full documentation about it as well.
Jorge Ivan Suarez Murillo
Web Applications Engineer
Commexnet.
Med
Can anyone compare and contrast Strut's Actions with Turbines 'event based
Action handling'? I just glanced at the Turbine web page, but it looks like
you could have one Action class with a different method for each button
(each 'event') on a form. Any comments on how this differs from Strut's
a
thanx, appreciate the help
-Original Message-
From: flare [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 2:12 PM
To: [EMAIL PROTECTED]
Subject: RE: Checked radio buttons
> can anyone supply a good radio buttons example? preferably with more
> than 1 button..pLEASE!!
>
that's w
On Thu, 5 Jul 2001 13:40:06 -0700 (PDT), Eric Loeb <[EMAIL PROTECTED]>
wrote:
||| Is there an ARS-Digita-like consulting company that
||| uses the various jakarta components to build web apps
||| for clients?
My company, BravePoint (www.bravepoint.com) is an Atlanta-based company
that do
Hi
The best description I found is in the DTD:
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd
Guido Roth
UEHARA Junji
>I haven't tried to replicate DH's methods on my own stuff yet... but it's
of
>interest to note that the files must be specified relative to the template
>rather than relative to the initial JSP.
Its also of interest to note that if you call resources directly from the
template file, (ex: mailt
Take a look at http://jakarta.apache.org/turbine for further information on
the Turbine framework.
Rgds
David
-Original Message-
From: Pullakandam, Shashi [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2001 21:56
To: '[EMAIL PROTECTED]'
Subject: RE: turbine vs. struts
Is turbine is another f
Hi,
I'm searching detail manual of strus-config.xml to write
and configure it. Please tell me where it is.
I can't find it.
--
Junji Uehara
Is turbine is another framework? Can i have more info on turbine
thanks
shashi
-Original Message-
From: Chris Kmiec [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:52 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: turbine vs. struts
I am in charge of architecting a lit
can you please unscribe me from the mailing list.
thanks,
vamsi.
Hi there,
First of all, I want to thank all Struts developers & contributors for
creating such a nifty framework. After working with it for some time now, I
really miss message masks, like 'Hi {0}, welcome back'. Ok, I _could_ use a
pre and suffix, but that's not very proper.
Now I have found
If u want to put common part into all the file then
u can very well use "template" tags from struts
something like this
Here create the commonLayoutTemplate.jsp
which will responsible to show the layout .
Please send the abstract of u r code
!!
-
> can anyone supply a good radio buttons example? preferably with more
> than 1 button..pLEASE!!
>
that's what I'm using
si
no
inside the actionform just put
public class GenericForm extends ActionForm
{
protected String newsletter="si";
public void setNewslett
Oops, sorry for that extra reply, I didn't see this message. :)
Chris
-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 5:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem upgrading from struts-1.0-b1 to struts-1.0
The "can't remove attr
Guus,
See the thread from before I cut and pasted below.
--
Sure thing - I already sent it but the list refused it due to its file size.
As an alternative, I'll put it up on my personal FTP space and anyone who
wants it can download it
> When a form is first created, it does not call reset(). So you also
> need to set the default values for the attributes to the same thing as
> they would be set to in reset(). Could this be the problem?
Thanx! Now it works
> Devon
>
fla'
Hello,
I have a
common part to be put into all files. That is nothing but starting a logic tag
at the top and ending it at bottom.
Is
there any way to put the starting tag in header and end into
footer..
I
tried doing that, but it is saying "User defined tag not ended
properly".
Yes it is exactly what I've done. Cookies are enabled, but in the action
class I cannot find the same session than before.
I have missed something. Maybe when we open another window with
"window.open()" we do not use the same set of cookies and the session is
broken.
-Original Message-
Did you see my post last night? Supposedly
iPlanet implemented a piece of the servlet spec incorrectly and you need to
upgrade it with a service pack for the ActionServlets processPath() method to
get the correct value for request.getServletPath(). Mikkel, send me your
number and e-mail me
hi guys!
I know some of you have already solved this so please help!!
im trying to get struts running on iplanet 4.1 (solaris sparc) using some of
the extra information giving on the insallation docs at
jakarta.apache.org...
When i try to load the Action Servlet i get the following:
---
this should work fine:
window.open("","lookup","minimize=no,maximize=no,status=no,heig
ht=300,width=400,left=500,top=380,scrollbars=yes");
if the user has cookies activated no sessionid is added to the url. it is
stored in a cookie.
norman
-Original Message-
From: Adriano Labate [mailt
Eda Srinivasareddy writes:
> Hi
> Is there a way to set a default value to the tags text field?
> Thanks
> Eda
No way! This is not allowed in plain HTML, so Struts cannot do anything
about it. If it was allowed, it would be quite HUGE security hole in
the browser.
--
gR
Hi Ted,
Could you add www.upco.co.uk to the list of consultancies? We are a Europe
based ecommerce consultancy specializing in J2EE development.
Jon Ridgway.
www.upco.co.uk
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: 06 July 2001 10:35
To: [EMAIL PROTECTED]
Sub
u have to tweak the code a little bit , Here is how
do Something ...
Thnx
Suhas
- Original Message -
From: Vaibhav Patil <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:52 AM
Subject: Use of error in logic tag.
> Hello,
> I can see the errors if I s
Hello,
I can see the errors if I say
But I want to use 'errors' bean in logic tag. I want to perform some
operation on presence of error.
How can I achieve this??
e.g.
do something.
The above lines of code does not work. Is there any other way of doin
Thank you, it works and
var myPath = "";
gives: "/myapp/listcodes.do"
Unfortunately it does not solve my problem. I would like to find a way to
open a separate window with
window.open("/listCodes.do","lookup","minimize=no,maximize=no,status=no,heig
ht=300,width=400,left=500,top=380,scrollbars
Hi
Is there a way to set a default value to the tags text field?
Thanks
Eda
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!http://personal.mail.yahoo.com/
Hi Nicky,
We've been using Struts with Orion for a few months without any problems.
The example should work fine with 1.5.2. Make sure you are not explicitly
setting any classpath to struts.jar using "set classpath = "
Chuck
-Original Message-
From: Nicky Eshkenazi [mailto:[EMAIL PROTE
Hello,
I'm using Orion 1.5.2 and Struts 1.0 with MS-Windows 98, I've just unzipped
jakarta-struts-1.0.zip under orion/applications, added the entries in
application.xml and default-web-site.xml and the example works fine.
Let me know if you need some more detail...
Giustino De Vincentiis
>
> I want to give a default value to
> a couple of radiobutton but setting the property in reset seems not
> to have any effect.
When a form is first created, it does not call reset(). So you also
need to set the default values for the attributes to the same thing
as they would be set to in rese
I will live to regret this ;-), but based on this thread, I've added a
list of Struts Consultants to the "More About Struts" Resources page <
http://www.husted.com/about/struts/ >.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- ht
could look like this:
window.open("", "WindowName",
"resizable=no,scrollbars=no,width=300,height=300";
you just can assign the rewrite value to a javascript variable like this:
myPath = "";
hope this helps,
norman
-Ursprüngliche Nachricht-
Von: Adriano Labate [mailto:[EMAIL PROTECTED]
can anyone supply a good radio buttons example? preferably with more than 1
button..pLEASE!!
-Original Message-
From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Checked radio buttons
A radio button will be cheked
hi nicky,
we are deploying struts under orion 1.5.2. i never run the example, but
everything works fine with our own application.
i think that won't help you a lot, but it is a hint that there no major
faults merging this software.
norman
-Ursprungliche Nachricht-
Von: Nicky Eshkenazi
A radio button will be cheked if its value is equals to the value of the form property
specified.
Jean-Noel
- Original Message -
From: Guus Holshuijsen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 10:28 AM
Subject: Checked radio buttons
I'm trying to find ou
I'm using iPlanet App Server 6.0 SP2.
Is it possible to keep the Java files that are generated for the
implementation of the overridden container methods of the EJBHome interface?
These would be the Java files of the stubs that are generated during the
deployment of your app.
Regards,
Raymond P
Very much so. And not just jakarta.
Sean
--
Dr Sean Radford, MBBS, MSc
Senior Consultant
Agora Professional Services Ltd
[EMAIL PROTECTED]
http://www.agora.co.uk
--
Agora Professional Services is an
The "can't remove attribute from request scope" is due to changes in the
that makes it imcompatible with
some servlet container (WebSpehere ...).
See this message for a description of the problem:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html
A fix from Chris Assenza
I'm trying to find out if it is
possible to set a radiobutton to checked using the HTML tag library. The
documentation does not describe it.
Regards,
Guus
Guus Holshuijsen, VideturHorsten
1, unit 1.185612 AX Eindhoven
The
NetherlandsT:+31-40-2450214 F:+31-40-2939343
M:+31-6-25077204
After upgrading from struts-1.0-b1
to struts-1.0 I keep getting a servlet error with the message "can't remove
attributes from request scope". This is especially annoying because it occurs in
the login JSP of my application and thus it blocks my progress.
I checked the installation notes
sev
sorry the form been type got cutted out in
the previous email
Tortoise: very nice with a 'Clearcase-like' hook into windows explorer
At 11:45 06/07/2001 +1000, you wrote:
>WinCVS, jCVS.
>
>http://www.wincvs.org/
>
>
>- Original Message -
>From: "Pham Thanh Quan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, July 06, 2001 11:53 AM
>Subj
afaik the reset method is used to initialize the formbean but can be
used to prepopulate the input form? I want to give a default value to
a couple of radiobutton but setting the property in reset seems not
to have any effect. The bean is correctly associated with the form
(the validation wor
Please could someone tell me how to use tag?
I think it is maybe the solution to create an encoded url to use with a
"window.open()" javascript command.
I would like to create a hidden input field or a javascript variable with
its value as the result of the tag .
Thanks.
-Original Messag
91 matches
Mail list logo