If you have a good lead person on your team, that makes all the
difference. Someone has to know what they are doing, and then everyone
speeds up. That is especially true if you are using the pluses of the
Xtremists.
There are lots of good people out there to take these positions. I
Joel Wickard wrote:
Cedric Dumoulin wrote:
Hi,
The definition from the tiles file are stored in the factory.
You should use the following to insert a definition:
tiles:insert name=admin /
the above method of trying to insert the predefined defs results in
the following exception when
Hi Richard,
The scope attribute in an insert is used to specify the jsp scope from
which a definition should be retrieved. Definition can be stored in a
jsp context by the user or with the help of the tiles:definition .. tag.
Definitions declared in the tiles config file are NOT stored in
I search the [EMAIL PROTECTED] but I didn't find anything on how to setup Bitmechanic
JDBC Connection Pool.
http://www.bitmechanic.com/projects/jdbcpool/
Does someone can explain me how to setup Bitmechanic in struts-config.xml, web.xml and
how to get connection in Action?
I use MySQL:
On a side note related to contracting/consulting, do ya'll generally
attempt to get the numbers on the table when you deal with 3rd party
recruiting companies? Are you usually aware of what the recruiting
company is charging the firm you are working for? Do you feel (like I
do) that you have
Excellent piece of work - congratulations to all concerned.
db
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: 29 March 2003 06:02
To: Struts Users List
Subject: [ANN] Tablib
I just commited a new project by Mohan Kishore
[EMAIL PROTECTED]. He developed and
I have a weird problem. I am using the validator plug-in of struts for doing
validations in my form. When I start my Tomcat, an error comes. This error
does not come if I delete my work folder in Tomcat and restart Tomacat. From
then on it works fine. But as soon as I restart my Tomcat, if the
On Sat, 2003-03-29 at 02:46, Puneet Agarwal wrote:
Unfortunately, this did not work, mostly because this will substitute the
value at a later stage than required.
I can't really help, if you don't specify your requirements.
We need some other solution to this
Any more clues !!!
http://jakarta.apache.org/struts/faqs/database.html
-D
- Original Message -
From: niksa_os [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 2:28 AM
Subject: Bitmechanic JDBC Connection Pool or Struts Connection Pool
I search the [EMAIL PROTECTED] but I didn't find
Cedric, Thanks for the explanation -makes all the sense in the world. -
Richard
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 1:24 AM
To: Struts Users Mailing List
Subject: Re: REPEAT: Tiles put attribute beanScope not found in DTD
- is
James Michell is out of work? Me too. How many good ppl are in the same
situation these days?
Sorry for breaking out of the rythm.
-D
- Original Message -
From: Micael [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 12:05 AM
Subject: RE:
Cedric Dumoulin wrote:
So you have an error in your config or in your definition declaration.
Please, check the examples in the tiles-documentation.war. You can
also check one of the following articles:
* http://blogs.browsermedia.com/patrick/index.do?date=20030210#120914
*
Hello all,
I am using struts in our project. application server is JBOSS with Tomcat as servlet
container. If i set contenet type ans UTF-8
(%@ page contentType=text/html;charset=UTF-8%) in jsp i am getting the following
error.
org.apache.jasper.JasperException: null(-1,-1) Cannot read file:
I was found this for RequestProcessor
protected boolean processPreprocess( HttpServletRequest request,
HttpServletResponse response){
boolean continueProcessing = true;
HttpSession userSession = request.getSession(false);
// Check to see if there's a
I asked a similar question last week and am still having trouble with this
simple idea.
I have a form:
form-bean name=senderEditForm
type=org.apache.struts.validator.DynaValidatorForm
form-property name=id
type=java.lang.String /
Hello,
I am writing a PlugIn (subclass of org.apache.struts.action.PlugIn ) to
initialize a bunch of application-scope variables.
Several of my JSP snippets also initialize application-scope variables
(using either c:set ..scope=application /, jsp:useBean
...scope=application /, bean:define...
I dont think there is a way.
You can refactor it by moving the JSP init code to a java bean and have both
JSP and PlugIn to call the java bean
is it okie?
-D
- Original Message -
From: Brian Buckley [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003
Two questions:
1. Am I correct is using String as the form-property type?
Yes. This is a best practice approach to have form properties
be boolean or String
2. What should be used as CONDITION so that CONDITION is true if the
parameter id has been set? (I assume that my validation should
The Struts Users Guide has a simple demonstration of
validating collections under the heading
Conditionally required fields. I have been looking
for this for a few weeks now and I have been skipping
this section looking at the heading. Can a collection
related heading be added to the existing
On Sat, 2003-03-29 at 10:02, Dan Tran wrote:
James Michell is out of work? Me too. How many good ppl are in the same
situation these days?
Well, I'm not actually out of work yet, but my current contract is
almost over and I've been looking for months.
As much as I love to evangelize Struts,
Hey all,
I'm trying to make a decision as to what I am going to do. I am sucking wind on
profitable work. So, I was thinking about going to school and getting a BA in Comp
Science to make myself more attractive in the job market. Is it really worth doing?
I've been doing development for 5
There is a reality that new technology generally gets a honeymoon grace
period during which it is generally agreed that the technology has promise
but only the gurus truly understand it and everyone else simply throws
buzzwords around about it and oversells/overuses it (it can solve all our
A university degree is important for employers even though you have
experience. If nothing else it might be fun to go back to school!
David
From: Brandon Goodin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject:
Looks like you're trying to dynamically construct a variable name and assign
a value to it. Sorry, can't do that in Java; maybe in another language
you've been working with recently?
David
From: Mark Galbreath [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To:
Unfortunately, to many who are hiring, the degree is an important
screen before further consideration. and in a tough market, where
there are many applicants for each job, they can afford to be choosy.
I've known many a bright guy who did not have a degree,
and their salary always seemed lower
On 03/29/03 13:17:39 -0500 Robert Taylor wrote:
2. What should be used as CONDITION so that CONDITION is true if the
parameter id has been set? (I assume that my validation should
make sure
id is an integer if it is set.)
DynaValidatorForm dynaForm = (DynaValidatorForm)form;
String id =
Hello Brandon,
Generally degrees, diplomas, accreditation, courses and the like can only
help you in any career. But the IT career is unusual because of pace at
which things change in the IT industry. Cheaper computers, cheaper software
and cheaper programmers make it tough to see where you
Maybe I'll go become a citizen of India... They seem to be getting a lot of IT work.
Heck $20/hour over there is like $80/hour here :-))
Brandon Goodin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 1:36 PM
To: [EMAIL PROTECTED]
When deploying my Struts application I ran in to a small problem.
I had hard coded the path to an xml file used to load values into my form.
I need to get a relative path. I tried the following, but got a null
pointer.
ActionServlet as = this.getServlet();
ServletContext application =
On Sat, Mar 29,'03 (02:31 PM GMT-0600), Jeff wrote:
probably only you can
make that decision. its a tough one.
Also depends on your financial situation...sucks when you have to take
out loans for school. I think I'll be paying back my loans
forever:)(Biology major...not even computer
Hi,
At present my application is 'talking' with Jboss via specific properties
set a compile time. I would like to move those properties in a
jndi.properties file (which I would put under WEB-INF/classes). How could I
retrieve jndi.properties without specifying the exact location (which could
Brandon,
What I've been hearing more and more from my friends at larger corporate
institutions is that a degree does matter, especially in these difficult
times. It is reflected in your pay as well as potential for
advancement, let alone employment. It seems to be less important at
smaller
Hi all,
as a follow-up to my question, wanted to thank Dan Tran for his help
and also Rick Reumann for his.
I was trying to add a PlugIn in the struts-config.xml file to augment
the functionality of the BeanUtils.copyProperties function to handle
java.util.Date going from a form to a model bean.
I'm curious which is the framework of choice? What
the strengths are of each, etc.?
Thanks,
Bill
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
I've been using JDO ( Triactive JDO ) and so far I think it
has worked quite well.
I haven't actually used Hibernate but it does look quite similar
to JDO and appears to be little easier to configure since it
doesn't have to be vendor neutral - ie no vendor specific extensions.
Of course JDO
If you deploy your app as a WAR file, then it is the correct result since
there is no real directory to return
But you can use this code
InputStream is =
servlet.getServletContext().getResourceAsStream(pathName);
where pathName is the context path to your file in the WAR archive. (ie
Brandon,
If you can do the deed (which it sounds like you can), I would hazard offering
my opinion in thinking that it wouldn't be the best use of your time. By
education I'm a graphic designer, not a computer scientist. First job was web
design, programmer ever since. Results... I've only had
The following snippets may help
snippet
//place your jndi under your WEB-INF/classes
ClassLoader classLoader = getClass().getClassLoader();
InputStream in = classLoader.getResourceAsStream(jndi.properties);
if ( in == null )
throw new
When deploying my Struts application I ran in to a small problem.
I had hard coded the path to an xml file used to load values into my form.
I need to get a relative path. I tried the following, but got a null
pointer.
ActionServlet as = this.getServlet();
ServletContext application =
On 03/29/03 20:36:21 -0600 Arron Bates wrote:
If you're thinking about spending time to put yourself out there... I
reckon the best thing I ever did was while away some hours eventually
becomming a participant in an open source project. Followed with a tiny
site with some tutorials, helping a few
Hi Brandon. I thought I'd watch the responses to this thread before weighing
in with an opinion. I was interested to note that none of the responses
appear to have come from hiring managers. So I thought you might benefit
from an opinion on that side of the debate.
In my career I have hired over
I feel this might be a RTFM, but have not found an answer.
How to I populate a form with values I want edited without those values
reappearing when validation fails?
I have a chunk of JSP that I want to use for both the blank form and the
edit form that would be pre-populated with existing
Actually I am calling a funtion that loads values into the form in the
object. This load method needs to find a relative path. I cannot seem to
get a reference to the controller servlet or any other way to get the path
to my WEB-INF.
public final class ManagerForm extends ActionForm {
public
ActionServlet as = this.getServlet();
This is returning null. What is the proper way to get a reference to the
controller servlet from and Action from?
Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS Chemical Engineering
-Original
I seem to be posting 2 copies of my messages to the list, one of them
normal and the other wierd like the attached message.
WTF?
Notice the multiple received headers.
Is anybody else having similar problems?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613)
Suppose i have ids[] array and labels[] array
I need to render link a href=someaction.do?id=ids[i] label[i] /a
is it possible to do with logic:iterate ?
Brandon,
I am in the same boat. Full time job as a software contractor, 5 years
combined java and other technologies, two young kids
(www.simpsonboys.com), a house that needs more work than I am able to
do, and on and on and on.
I am currently taking one night class at Eastern Michigan
My guess about the null control serverlet, is because struts may not init
the form's control servlet after the form constructor completes.
If you can take a look at my answer to Setting external JNDI properties,
you can put your file in classpath and load it.
BTW, you might have a performance
The answer is yes. Please check struts doc
However, by place your id and label into LabelValueBean. It will make your
code easier write
thru logic:iterate
-Dan
- Original Message -
From: Slava_L [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29,
Jeff, your code suggests a better way to make date format configurable.
Thanks
-Dan
- Original Message -
From: Jeff Kyser [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 4:45 PM
Subject: Re: example of PlugIn for java.sql.Date Converter
I keep seeing double messages sending to me when I make a post to this group
Please ignore this mail
-Dan
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
On Sat, 2003-03-29 at 23:44, Dan Tran wrote:
I keep seeing double messages sending to me when I make a post to this group
I'm only seeing one.
Please ignore this mail
-Dan
_
MSN 8 helps eliminate e-mail viruses.
Please ignore
-D
_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail:
Struts doc says that only one object can be iterated inside on logic:iterate
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 12:39 PM
Subject: Re: how to logic:iterate throu serveral collections at once ?
This file is and xml file that contain that data that the form needs to be
filled with. It is in my WEB-INF/data folder. The problem is that I cannot
find a way to tell my form where to load this data from. I need need to
access to the ServletContext so I can get the real path of the web
Is your XML file static? If it does, you cam place the xml file in your
class path and use my other posted solution to have access to its
InputStream.
If you dont like to place it in classpath, you can create a Singleton
wrapper around your XML and load it up during application startup, via
logic:iterate exposes an collection's index, with can be use to access other
collection, right?
-D
- Original Message -
From: Slava_L [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 10:15 PM
Subject: Re: how to logic:iterate throu serveral
On Sat, 29 Mar 2003, Arron Bates wrote:
Date: Sat, 29 Mar 2003 20:36:21 -0600
From: Arron Bates [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Does a degree matter?
Brandon,
If you can do the deed
I have some data in an XML file.
I read it in from JSP using x:set (the JSTL X tags)
I then transfered it to a variable like so:
c:set var=somevarname
x:out ... /
/c:set
I can now dump it out happily using c:out
It turns out that this particular value (an integer) is useful in a
subsequent
It is not static. I need it to load when ActionForm is loaded. Is there no
way to load form values from an external source?
Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS Chemical Engineering
-Original Message-
From: Dan Tran
It is late too and my mind also slowing down as well ;-)
So here is my vague ans. Use Struts-el tag lib, it works well with JSTL
-Dan
- Original Message -
From: Jeff Smith [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 9:47 PM
Subject:
Hi
I am using an options tag to display a label value collection. I have an
additional propert associated with each of the values on this option which I
have stored as another boolean[]. Now in my UI, I want to have each of these
options to appear in two different colors depending on the
A clean solution is to put your label, value, and boolean flag in a Bean
then you can access all those properties as you iterating thru.
Regarding the coloring, instead of using html:options tag,
your can use logic:iterate and writing out the html code and color yourself
-Dan
- Original
Have you given a thought on my Singleton solution?
-Dan
- Original Message -
From: Jason Long [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 9:48 PM
Subject: RE: application.getRealPath(/) from ActionForm???
It is not static. I need it
I covered a similar thing in the Basebeans talk I gave today, you can
get the slides at www.strutskickstart.com
James
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 1:02 AM
To: Struts Users Mailing List
Subject: Re: how to logic:iterate
-D
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
In the reset method of the ActionForm.
Ilya
-Original Message-
From: Adam Sherman
To: [EMAIL PROTECTED]
Sent: 3/29/03 8:48 PM
Subject: Populating a Form
I feel this might be a RTFM, but have not found an answer.
How to I populate a form with values I want edited without those values
Wow, this has been some incredible insight. I can't thank you enough for
your advice. It has been extremly helpful in helping me to focus my
direction. As always you guys/girls have shown true heart in assisting a
fellow geek. Thanks again!
Brandon Goodin
Craig R. McClanahan wrote:
On Sat, 29 Mar 2003, Arron Bates wrote:
Date: Sat, 29 Mar 2003 20:36:21 -0600
From: Arron Bates [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Does a degree matter?
Brandon,
If you
69 matches
Mail list logo