Interesting idea. Let's do a bit of mental exploration of what
actually happens to see how practical it is. When does a Struts
custom tag actually execute? Only when the page is being rendered, as
the various HTML elements get produced. Now, when does (server side)
validation need to
I am positive that they used to have 'pdf' versions of all the
developerworks articles. The developerworks newsletters have some quite
interesting stuff in them (and most of it isnt IBM specific!)
Daniel.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 10
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
PS: It's pretty straightforward to build turbo versions of the Struts
HTML tags that have many of the same features described above. But
that doesn't begin to touch the behavior at input time, where the
component
employeeDAO.updateEmployee( employee );
From what I recall the real OO way would be...
employee.update();
and employee takes care of updating itself.
I made a BaseBO using OJB, which has the create, update, softDelete,
hardDelete, findById, findByCriteria methods. It also has an id and
eh? you can do that without the getter/setter in java as MyProperty is
public.
Daniel.
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: 05 August 2005 14:18
To: Struts Users Mailing List
Subject: Re: [OT] DTOs are evil
You don't see it?!? Have you looked?
I don't think it's a bug, as anchors should never be sent to the server, (I
believe the should never be sent in a redirect either). I remember doing
some experiments with this.
If you request a page: blah.do#someLabel, #someLabel is never sent in the
request.
If you forward on the server, then
This was the point i was making early on.
PHP is cheaper than java - in almost all ways.
Hosting: You can host php sites for a couple of pounds a month. Can you do
that with java?
Development: it's much easier to learn to make a PHP+Mysql databased web
site. Therefore programmers are cheaper.
3. PHP. I've done some PHP over the last couple years.
PHP and Struts are not antithetical. There have been several ports of
Struts to PHP, as well as Struts-like frameworks, such as Maverick and
FuseBox.
I'm not working in PHP myself, but if I were, you can bet I'd be
porting both
PHP / (origional) JSP are the same stuff really. Scripted web page. Main
difference is php not OO (well, the api isnt), and php doesnt require any
declarations/typing - which makes it nicer for less able programmers.
But the big difference is server requirements. JSP uses a lot more server
-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 09:46
To: Struts Users Mailing List
Subject: RE: Re: JSF is the beginning of the end of Struts !!!
PHP / (origional) JSP are the same stuff really. Scripted web page. Main
difference is php not OO (well, the api isnt), and php
I have an app where i need to record key user stats, which are updated by
certain struts actions. The problem is that i want to keep these in the
session, and then only save them to the database when the session is either
invalidated through logout, or when it times out and is removed by the
Technologies
http://www.omnytex.com
On Mon, July 25, 2005 12:47 pm, Daniel Perry said:
I have an app where i need to record key user stats, which are
updated by
certain struts actions. The problem is that i want to keep these in the
session, and then only save them to the database when
Again, that's a situation where you are involving consultants.
Consultants
are expected to know the technology and not learn it on their customers'
time. When a company has its own IT staff, there are rarely opportunities
for somebody else to underbid them.
Really? the majority of the work
:
Hi,
Daniel Perry wrote the following on 7/6/2005 12:49 PM:
Hah, it's the business use of web/email they fire you
for. Go read
your terms of employment, and the reference to IT acceptible use
policy that you inadvertantly agreed to.
(the below has nothing to do
UK2 dedicated linux servers. (uk2.net)
We've got a few of these, and they're cheap and reliable.
Only negative is you have to setup/manage them yourself. But with linux you
honestly have to do very little.
Daniel.
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent:
1) form beans generally should consist of String data to facilitate
round-tripping of invalid inputs. I like to constrain them to a clearly
defined role of marshaling data 'into' and 'out of' the
presentation layer,
i.e. across the boundary between presentation and application.
This i would
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 5:33 AM
To: Struts Users Mailing List
Subject: RE: [OT] Re: Fired was...Re: Struts Books
Recommendations [OT]
Applogies for being english or maybe just naive, but what the
hell
first came to America. Does that mean I can
be a fashion model? :-)
On 7/8/05, Daniel Perry [EMAIL PROTECTED] wrote:
What is an H-1B?
The H-1B is a nonimmigrant classification used by an alien who will be
employed temporarily in a specialty occupation or as a fashion model
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Thanks to whomever emailed last weeks nonsense thread to the Director
of the Board of Elections. It made me look like a racist and I was
fired this morning. The State is also looking into whether my use of
an
Hah, it's the business use of web/email they fire you for. Go read your
terms of employment, and the reference to IT acceptible use policy that
you inadvertantly agreed to.
There have been cases in the uk where they have done this as it's much
cheaper to hunt out employees who have sent dodgy
Yup. To be honest, i can handle the occasional insulting post
Be thankful that he's just distasteful and has a sense of humor, and not a
complete idiot that will never give up insulting developers.
If you're bored, have a search for this guy: Ilias Lazaridis
He came on the OJB mailing list
I took one look at ejbs and ran a mile.
Struts and EJBs seem to be at the opposite end of a scale.
Struts is sensible, nice to work with, efficient, and generally everything
that EJBs arnt!
I personally use it with OJB (made that decision 1.5 yrs ago). Hibernate
seems to be more popular, and if
No,
J2EE is a NOT EJBS!
J2EE is a collection of technologies, including servlets, jsp, EJBs, etc.
Tomcat hosts various parts of J2EE - servlets, jsps, etc, but it is not a
full J2EE container - it doesnt host EJBs. But you can use servlets, JSP and
taglibs without using EJBs. I do. I've never
If you are distributing a product to others that includes GPL
software, and you don't want to put your own work under the GPL, the
end-user has to download the GPL package separately (e.g. MySQL) and
then plug it in. (And you also have to be careful about how the
plugging in process works.)
A couple of ways to do this:
Method1 - Page1 submits to Action1 - on submitting hide main div enclosing
page, and show a div with processing... until Action1 responds with Page2
Method2 - Page1 submits to Action1. Action1 shows Page2 (Processing...), and
immediatly submits to Action2 which
Hi,
I'm trying to create a form which uses indexed properties.
My bean has two (amongst others) methods:
public List getCost() {
return cost;
}
public String getCost(int index) {
return (String) cost.get(index);
}
In the form i use the above:
c:forEach begin=0
I do exactly the same kind of thing with a site. All actions extend
BaseAction which extends Action, and implement executeAction, not execute.
The (relevant)code for BaseAction:
abstract public class BaseAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm
that
method part of the indexed property and everything will probably work. It
probably would work under JDK 1.3, but Sun tightened up on how it treats
indexed properties.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28358#c14
Niall
- Original Message -
From: Daniel Perry
:[EMAIL PROTECTED]
Sent: 06 January 2005 21:49
To: Daniel Perry
Cc: Struts Users Mailing List
Subject: Re: [OT] WinCVS problem (free beer!)
Yep, TortoiseCVS is what I'm using, as it was the only one I got working
:) Does the job though.
I was under the impression that you could browse
Give tortoisecvs a try. I personally prefer it to wincvs.
http://www.tortoisecvs.org/download.shtml
After trying both (and eclipse), i came up with the conclusions:
eclipse is the easiest (so use it if using eclipse)
tortoise provides nice shell integration that gives an almost 'human'
Well the way you dont wish to use would be the normal way to do it :)
The form will be available in the request or session (depending on where you
put the form) scope from the jsp under the form's name. So
${formName.employeeList} is the list from a JSTL perspective. From
scriptlet, either:
I think there is a difference between tieing things to struts, and ojb.
Struts is quite obtrusive - you have to use Actions if you're going to use
struts. Keeping business logic in actions ties you to struts. If you
decided to add a swing interface to your app, then you cant easily reuse
this
I've done this using a combination of things.
I think onClick gets fired if you change the value - even using keyboard,
and believe this works accross browsers.
I had onClick fill in a hidden field, and submit the form. The validate
method notices this, and throws back a single empty
Using OJB and struts is not really any different from using jdbc with
struts.
Set up ojb as per instruction on their site, and use it in the same places
where you'd normally make jdbc calls.
I;m not sure if there are any nice examples (havnt looked since i began
using ojb a long time ago). I've
But that's 5 years during which a non standards-compliant browser has had
90% of the browser market...
I dont know of any browser which gets upset at the form name attribute!
As a side note, why does struts set the form name? is it used anywhere? I
cant see any reason to use the name tag atall.
This is confusing. The bean spec / article is talking about going from a
method name into a property name. The problem here is the other way round.
Eg, decapitalise method-property will convert: getECoupon - ECoupon
But it doesnt mention property-method capitalise: eCoupon - getECoupon /
as normal,
then
* use the static method: BackgroundSender.send(Email mail) to send the
email.
*
* @author Daniel Perry
*/
public class BackgroundSender extends Thread {
Email theMail;
/**
* Constructor takes an Email object, and sends it from a background
thread
No idea if ant can do this, but i tend to put a 0 byte 'ignoreme' file in
the directory. This stops these problems happening with more than just ant!
Daniel.
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: 23 November 2004 18:31
To: [EMAIL PROTECTED]
The most common way to store more than one element in a properties file is
to have more than one entry like the following:
colour.count=3
colour.0=red
colour.1=green
colour.2=blue
So your code loads the property for colour.count and loops through the other
properties. Not very elegant, but it
I am wanting to see how Struts may help in my J2EE development. I
have purchased the O'Reilly book Jakarta Struts and want to get
started with some examples.
1) I am currently running Tomcat 4.1.31 as a standalone.
Can struts be installed with Tomcat as standalone? I saw
somewhere in
; defeating the premise behind separation of the
model and view.
-Bill Siggelkow
Daniel Perry wrote:
I think the idea that MVC architecture should have a 'dumb
view' is totally
wrong. The view should be as smart as possible.
MVC should separate the M, V and C. With a really
intermixed...
This is a simple sintaxis issue...
parameters in java are not passes as pointers.. they are passed as values
( the memory address of the object in the heap )..
emm... that's a pointer :) passing variables by reference or value is
neither here nor there.
pointer - An address,
Php is a small (in terms of memory footprint) interpreted language. Php
(running as an apache module) is kept in memory, but doesnt use anywhere as
much memory as your typical tomcat jvm. Each page is processed separately -
so you dont have the 'web-app' hanging around in memory.
You generally
Over the weekend i came accross a couple of high profile (in the uk at
least) sites using struts:
www.smile.co.uk (internet banking app uses struts)
www.vodafone.co.uk (uses portal software from broadvision which uses struts)
Daniel.
-Original Message-
From: Axel Gro? [mailto:[EMAIL
I think the idea that MVC architecture should have a 'dumb view' is totally
wrong. The view should be as smart as possible.
MVC should separate the M, V and C. With a really smart view you dont have
to do any preparation for the view in the controller. If you have a dumb
view then you have to
It uses forward (otherwise the errors get lost between requests!).
Do you get an error?
Daniel.
-Original Message-
From: Yagiz Erkan [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 09:34
To: [EMAIL PROTECTED]
Subject: Validator - Redirects or Forwards?
When the validation
To me JDNC seems like a halfway house between webapps and rich client apps.
I personally like the way that webapps work (everything is written for the
server and executed on the server then merely displayed at the client), but
I hate the interface (html - and browser).
The web interface lacks
Its the same in struts as in servlets!
The execute method of Action is passes an HttpServletRequest.
Daniel.
-Original Message-
From: Milson Fredy Cardona Echeverri [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 17:26
To: [EMAIL PROTECTED]
Subject: session variable in struts
solved the problem.
Is there also a way to get rid of the Action.do ?
Regards,
Swen
Daniel Perry schrieb:
Yep,
Change your code to:
nextPage = mapping.findForward(struts);
and change the forward to:
forward name=struts path=/WEB-INF/struts.jsp redirect=false
contextRelative=true
This is not a good idea...
As far as i'm aware anchors are not part of the http specification. They
are only implemented in html.
Eg. You type /myAnchor.do#myAnchor into the url bar in your browser, the
browser actually requests /myAnchor.do - it doesnt send the anchor - it just
uses it to show
Yes you are missing something ;)
I am saying struts doesn't need a view controller because you can
implement the post-redirect-get pattern and struts is complicated enough
already. Although no-one is arguing for or against me :)
I think it is more a case of JSF needing a better controller
List
Subject: Re: Hiding Url File Parameters
Thanks that definitely solved the problem.
Is there also a way to get rid of the Action.do ?
Regards,
Swen
Daniel Perry schrieb:
Yep,
Change your code to:
nextPage = mapping.findForward(struts);
and change the forward
So you have an action, which forwards to a jsp page, and you dont want the
users to see the blah.jsp?
Just set redirect to false. This causes it to forward the request
internally without sending a browser redirect. The jsp will be processed,
and return the result to the browser, but as far as
=struts.jsp
name=postHvForm
scope=request
validate=true
type=pack.servlets.PostHv
forward name=struts path=struts.jsp /
/action
Do you have any idea what I did wrong ?
Regards,
Peter
Daniel Perry schrieb:
So you have
hehe...
I'm lucky - i work for a small company, and as far as management is
concerned open-source=free and free=good so through the power of
transativity open-source=good and thats as far as any concern goes...
We've built several big apps using struts - all have been intranet
applications so
What OS are you using?
I use ssh to log into our linux servers and restart tomcat that way.
Can also be done using telnet into windows.
Daniel.
-Original Message-
From: Philip DONAGHY [mailto:[EMAIL PROTECTED]
Sent: 04 November 2004 11:32
To: Struts Users Mailing List
Subject: Re:
It is saying that bean:cookie should be an empty tag. As you havnt closed
the tag, it isnt empty!
So, should be:
bean:cookie id=validUser name=userCookie /
Notice the slash on the end!
Daniel.
-Original Message-
From: CCNY [mailto:[EMAIL PROTECTED]
Sent: 21 September 2004 14:04
To:
FOP works a treat. I found it better than iText.
Pretty simple to return from a struts action (see the fop example servlet
code - its basically the same).
Daniel.
-Original Message-
From: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
Sent: 15 September 2004 07:01
To: Struts Users
Having been exposed to both .NET and java i have to say i've prefered java.
My main reasons are:
1. java is free so learning it as a student was cheaper (well, legally
anyway!)
2. the amount of free stuff out there for java. There is soo much
available! Show this to most .NET developers and
If i understand your question right, you have a code
collectionElement.fskRating which represents a rating? (ie 1 = pg-13,
2=G).
I have never done this, but i dont see why you cant just put an array/map of
the full values into the request scope, then use jstl to look it up:
somthing like:
.
Tom
Daniel Perry wrote:
If you choose to keep the replaceall, then use:
c:out value=${data} escapeXml=false/
Or, for a jsp only solution:
% pageContext.setAttribute(linefeed, \n); %
c:out value=${fn:replace(data,linefeed, 'br')} escapeXml=false/
Daniel
If you choose to keep the replaceall, then use:
c:out value=${data} escapeXml=false/
Or, for a jsp only solution:
% pageContext.setAttribute(linefeed, \n); %
c:out value=${fn:replace(data,linefeed, 'br')} escapeXml=false/
Daniel.
-Original Message-
From: Tom Holmes Jr.
If you want to follow common java 'patterns' then try to find some info
about data access objects (DAOs), data transfer objects (DTOs or TOs), and
view objects (VOs). That should point you in the right direction.
Basically, they are javabeans!
Daniel.
-Original Message-
From: news
object not the model object fill the form. This is the
direction I'm
going. (We break this rule in that the DAO returns a model object).
Would appreciate opinions of the more experienced as far as how closely
this follows best practices.
Daniel Perry
[EMAIL
Whenever i come accross this, i put a 'confirmation' screen, with all the
details repeated, and a 'pay now' button that submits the (hidden) form to
the external site.
Daniel.
-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Sent: 31 August 2004 16:17
To:
I would do somthing like the following:
TABLE border=0
c:forEach items=${contacts} var=contact
TR
TD${contact.name}/TD
TD${contact.number}/TD
TDc:url var=url scope=session value=/do/modifyContact
c:param name=ID value=${contact.id}//c:url
You need to nest another iterate'er in order to iterate through the inner
list for each object:
logic:iterate id=process name=processlist
bean:write name=process property=name/
bean:write name=process property=ID/br
logic:iterate id=task name=process property=tasklist
Not sure what is wrong, but for a possible work-around, have you tried
making the target for the form (or link) a new window?
Daniel.
-Original Message-
From: Eric Hodges [mailto:[EMAIL PROTECTED]
Sent: 27 August 2004 17:17
To: Struts Users Mailing List (E-mail)
Subject: Question
hah forget the 'purist' approach!
I use jstl / struts taglibs whereever possible.
if i had a choice between writing my on taglib or scriptlet for me
scriptlet wins - much less hassel, and the code is there for you on the jsp,
and it's only normally for very simple things.
The main times i
Using scriptlets, to me is like going back to the bad old days of
out.println(html);.
Over the last two weeks, i had to do a major refactoring of an application.
This involved spiltting a person class down into person and profile, and
everything that was linked to person now linking to profile.
: philosophical question/poll about Struts/JSTL, scriptlets
--- Daniel Perry [EMAIL PROTECTED] wrote:
hah forget the 'purist' approach!
I use jstl / struts taglibs whereever possible.
if i had a choice between writing my on taglib or scriptlet for
me
scriptlet wins - much less
Below is some code i wrote to do this. is some code i wrote:
Note the doc object is specific to my app it has methods for returning the
content type, filename, and a File object pointing to the document on disk.
I have used almost identicle code for outputting pdf data. I think you can
use
,
Erik
Daniel Perry wrote:
Below is some code i wrote to do this. is some code i wrote:
Note the doc object is specific to my app it has methods for
returning the
content type, filename, and a File object pointing to the
document on disk.
I have used almost identicle code
You can also put an execute method in the base action that does the
'logged-in' check, and use a global forward to forward to login page.
If you do this, then add an abstract method eg executeAction with the same
signature as execute, and call it.
The main advantage of this is to stop you
org.quartz.SchedulerFactory;
import org.quartz.SimpleTrigger;
import
com.netcase.pdp.service.scheduledjobs.RemoveOldProvisionalTrainingJob;
/**
* @author Daniel Perry
*
*/
public class SchedulerService implements PlugIn {
Scheduler sched;
public void init(ActionServlet servlet, ModuleConfig
fop - http://xml.apache.org/fop/index.html
In my opinion better than iText - gives a bit more control. I had problems
with layout in iText - it adds funny paragraph spacing (especially with big
fonts). For fop - generate an XML file with data, write some XSL to
translate data into fop xml, and
Quartz is very easy to use. No need for thread programming.
But Job classes are created as and when they are needed (so no
initialisation and shared object).
Create a struts plug-in which initialises quartz, and sets up the jobs (very
little code needed).
Daniel.
-Original Message-
org.quartz.SimpleTrigger;
import
com.netcase.pdp.service.scheduledjobs.RemoveOldProvisionalTrainingJob;
/**
* @author Daniel Perry
*
*/
public class SchedulerService implements PlugIn {
Scheduler sched;
public void init(ActionServlet servlet, ModuleConfig moduleConf
I've come accross this problem before, and i fixed it by setting the jsp
pages to content type iso-8859-1 rather than UTF-8.
Stick the following tag at the top of the pages:
%@ page contentType=text/html;charset=iso-8859-1 language=java %
Daniel.
-Original Message-
From: Jirole,
I dont think there is any information out there of the type you're
requesting (it's not really a 'pattern').
Long URLs are long because there is a lot of information to transfer.
The big long codes given in urls are often are often hashes (eg session
id!). These are made long so that it's hard
I personally think struts is spot on. I think it does follow Java OO
principles, and many J2EE patterns.
My struts apps generally consist of DAOs which handle simple methods, and
some services which handle more complex operations. These interact with
beans which are persisted using OJB.
The
That would be jsp adding the session id. Not really a problem, so do you
really need to get rid of it?
I think it wont appear on further pages, becuase it will use a session
cookie (if i understand correctly, the first time it adds that just in case
session cookie doesn't work).
You should be
There is no need for you to use a taglib to render a link! The easiest
solution:
a href=javascript:login(); class=buttonLogin/a
-Original Message-
From: Dhruv Trivedi [mailto:[EMAIL PROTECTED]
Sent: 18 June 2004 12:45
To: Struts Users Mailing List
Subject: Re: problem with jsession
I agree with this.
I tend to find myself passing parameters to business services rather than
DTOs.
I do it for simplicity. If i use an ActionForm then you either have to add
things like getNumberAsInt as getNumber returns a string, or do the integer
parsing in the action. You then have to
Way back in April I was quite impressed by a demonstration
Visual .Net / Managed C++ / C# talking directly to a J2EE 1.4
web service. The guy demonstrated the whole thing in under
five minutes. So I have been wondering what is the state of the
art of tools under J2EE, but I guess I will find
I agree with this. Our app is IE only, and it's amazing what you can do.
IFRAME's make great scrollable tables. The use of
document.getElementById(xxx).style.display=none (or ) for
hiding/unhiding stuff is very extensive.
I disagree with the comment about layers tho. Our jsps are still only
I can see where you're going with the mixing of business logic and views.
I will admit that in parts i have done this. A quick javascript check gives
a much quicker response that submit/redisplay form. Especially when you get
some of the massive pages in our system. One solution i had was to
html:options collection=blah filter=false/
Daniel.
-Original Message-
From: John Antonakos [mailto:[EMAIL PROTECTED]
Sent: 03 June 2004 15:10
To: Struts Users Mailing List
Subject: Re: How can i avoid the use of amp in a drop down box ?
where should i put that ?
i never heard
I've been using OJB for 6 months now, and have found it works nicely.
If you do go for ojb, join the user mailing list, as it can be very helpful
when trying to figure out what's going wrong, especially to begin with!
Daniel.
-Original Message-
From: Zaid [mailto:[EMAIL PROTECTED]
Everytime i post to the struts list, i get an email back for one person:
Could an admin unscuscribe this user please :)
Daniel.
-Original Message-
From: postmaster+AEA-rave-tech.com +AFs-mailto:postmaster+AEA-rave-tech.com+AF0-
Sent: 28 May 2004 10:16
To: d.perry+AEA-netcase.co.uk
As a company we offer web design, programming, etc, etc. We have had the
exact same problems you describe, but have gone down the route of deciding
that IDE's arn't the way forward for web design, and that a text editor is a
much better solution.
So, our web designers all work with raw html.
I am a bit surprised, but there doesn't seem to be an equivalent to php's
incredibly useful nl2br in jstl...
Is there an easy method I'm missing that will output a string after
converting line breaks to br tags?
Daniel.
-
To
shortfall to me!
Daniel.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: 25 May 2004 18:17
To: Struts Users Mailing List
Subject: Re: nl2br equivalent?
http://jakarta.apache.org/taglibs/doc/string-doc/index.html#replace
- Original Message -
From: Daniel
guess i'm not the only one whoose messages are taking half a day to appear
:)
Daniel.
-Original Message-
From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
Sent: 24 May 2004 11:19
To: Struts User Apache (E-mail)
Cc: Struts Dev Apache (E-mail)
Subject: [ot] testing 1 2 3 4
testing 1
If you are calling saveToken(request) before isTokenValid like your code
suggests, you are probably overwriting the token in the session, so it is
different to the one being submitted in the form!
It should happen as follows:
In the action that gives the form:
saveToken(request);
Then in the
Mailing List'
Subject: RE: sending emails from a struts app
daniel,
perhaps here are some more ideas for you:
http://jakarta.apache.org/commons/sandbox/email/
Cheers,
Matze
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 6:55 PM
: BackgroundSender.send(Email mail) to send the
email.
*
* @author Daniel Perry
*/
public class BackgroundSender extends Thread {
Email theMail;
/**
* Constructor takes an Email object, and sends it from a background
thread.
*/
private BackgroundSender(Email mail) {
super
1) Should all my entity beans be packaged in a single jar?
no idea... i dont go in for the session beans/entity beans, i'm using OJB so
it's a bit different.
2) Different modules will probably mean different session beans, jsps and
struts actions.
This is no problem. Different modules
in a single war file so they can see
each other?
From: Daniel Perry [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Modular packaging of a large application
Date: Wed, 19 May 2004 16:18:17 +0100
1
I'm trying to use a token in a link.
I am expecting somthing like the following to work:
c:url var=book value=bookcourse.do
c:param name=%=org.apache.struts.taglib.html.Constants.TOKEN_KEY%
value=%=session.getAttribute(org.apache.struts.Globals.TRANSACTION_TOKEN_K
EY)%/
c:param
1 - 100 of 115 matches
Mail list logo