I've tried to use JSTL with my web app, and it's not working!
I downloaded jstl 1.1, and copied jstl.jar, and standard.jar to WEB-INF/lib.
I put the f.tld, fmt.tld, fn.tld in WEB-INF/.
In my web.xml i've got:
/WEB-INF/c.tld
/WEB-INF/c.tld
/WEB-INF/fn.tld
/WEB-INF/fn.tld
, remove the elements from
web.xml,
make sure you're using a JSP 2.0 container (like Tomcat 5), and make sure
you're using a Servlet 2.4 web.xml.
Quoting Daniel Perry <[EMAIL PROTECTED]>:
> I've tried to use JSTL with my web app, and it's not working!
> I downloaded js
Tomcat 4x) you need to use JSTL 1.0,
that only require JSP 1.2 + servlet 2.3
PS: anyways ensure that the URI you use in web.xml is the same you declare
in your page
Andrea
-Messaggio originale-----
Da: Daniel Perry [mailto:[EMAIL PROTECTED]
Inviato: lunedì 17 maggio 2004 15.50
A: Struts Us
My web.xml is version 2.4. This was one of the first things i changed to
try and fix the problems!
So, why do i need to set the struts taglibs, but not the jstl ones?
Where does it find these taglibs otherwise?
As i'm now referencing jstl core as:
http://java.sun.com/jsp/jstl/core
does this me
I started out using struts-logic, struts-html, struts-bean, but i have
recently found JSTL1.1 to be a nicer alternative.
So, i generally use JSTL core (with JSTL formatting, and JSTL functions
where necessary) and struts-html-el for actionforms, etc.
Daniel.
-Original Message-
From: Andr
My advice (from experience) would be to go with jstl.
just one value attribute instead of name and property:
name="beana" property="beanb.beanc"
...becomes...
value="${beana.beanb.beanc}"
The choose tag with multiple whens makes jsps a lot less messy. No longer
need to make complicated nestings o
I need to send out emails from a struts app.
Any comments on the best way to go about this?
As sending mail can be slow, is there an easy way to do this in the
background?
What happens if a client cancels a request part way through? is there any
way to handle this / ignore cancels?
Daniel.
--
JavaMail - no problem... found loads of examples.
With regards to the canceling of requests, i'm not sure what you're saying -
are you saying
1. your code will stop on browser cancels and there's nothing you can do
or
2. you're code will always finish running even if the user cancels (tho
obviousl
Right.
Have been a little dumb - had some cases where this seemed to be happening.
Got some errors in tomcat logs from users clicking stop part way through
somthing. On closer inspection it is because the action is outputing a pdf
itself directly.
Now knowing that the action will always complete
#x27;Struts Users 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-
> >
: 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 module
yment though?
> Will all the
> modules have to be deployed 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: "Stru
I'm trying to use a token in a link.
I am expecting somthing like the following to work:
But it gives a thread death :(
Any ideas?
Daniel.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
> 1) Am I correct in thinking that you are able to use EL under JSP 1.2
> container?
Yes
>
> 2) If yes, are there any differences in how you would use it under JSP
> 1.2?
Yes, there are things in jsp2 el that are not in jsp1.2 el. Check the specs
for details.
>
> 3) How do you set up your con
works, but uses the constants values directly. Sould any of the constants
values change, then it would stop working.
Daniel.
> -Original Message-
> From: Daniel Perry [mailto:[EMAIL PROTECTED]
> Sent: 19 May 2004 17:23
> To: Struts User List
> Subject: Using
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 act
somewhere in struts config, you have a set-property element that isnt empty
ie, it should end with /> and have no matched cose tag.
Daniel.
> -Original Message-
> From: BARBEY Stuart R [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2004 05:31
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat startup
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
>
>
> te
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 tags?
Daniel.
-
To unsu
al 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:
>
> String nl = "String with \n new line";
>
> String br = nl.replaceAll("\n","");
>
> or you can try using Commons Lang and cc-* taglibs.
>
> Henrique Viecili
> - Original Message -
> From: Daniel Perry
> To: Struts User List
>
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.
You
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
Subjec
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 & in a drop down box ?
>
>
> where should i put that ?
> i never heard of it...
>
> please give more info,
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 on
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 do
> 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 f
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 a
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 ab
There is no need for you to use a taglib to render a link! The easiest
solution:
Login
> -Original Message-
> From: Dhruv Trivedi [mailto:[EMAIL PROTECTED]
> Sent: 18 June 2004 12:45
> To: Struts Users Mailing List
> Subject: Re: problem with jsession id
>
>
> Hi Niko and all other guys,
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 retrie
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 t
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: Jiro
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-
mpleTrigger;
import
com.netcase.pdp.service.scheduledjobs.RemoveOldProvisionalTrainingJob;
/**
* @author Daniel Perry
*
*/
public class SchedulerService implements PlugIn {
Scheduler sched;
public void init(ActionServlet servlet, ModuleConfig moduleConf)
thr
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 t
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 forgett
tz.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)
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 "atta
; could you enlighten me on what I may be sacrificing?
>
> Thanks,
> 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
>
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: Questi
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 us
> Using scriptlets, to me is like going back to the bad old days of
> out.println(" -Original Message-
> From: Jim Barrows [mailto:[EMAIL PROTECTED]
> Sent: 27 August 2004 18:35
> To: Struts Users Mailing List
> Subject: RE: philosophical question/poll about Struts/JSTL, scriptlets
>
>
>
>
2004 18:48
> To: Struts Users Mailing List
> Subject: RE: philosophical question/poll about Struts/JSTL, scriptlets
>
>
>
> --- Daniel Perry <[EMAIL PROTECTED]> wrote:
>
> > hah forget the 'purist' approach!
> >
> > I use jstl / struts taglib
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 [m
at 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 PROTECTED]
>
> co.uk>
> T
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: St
I would do somthing like the following:
${contact.name}
${contact.number}
Modify
The action modifyContact should load the contact with the specified id, "ID"
is available by
String ID = request.getParameter("ID");
The action the
You need to nest another iterate'er in order to iterate through the inner
list for each object:
Daniel.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 17:48
> To: [EMAIL PROTECTED]
> Subject: Iterating over c
If you choose to keep the replaceall, then use:
Or, for a jsp only solution:
<% pageContext.setAttribute("linefeed", "\n"); %>
Daniel.
> -Original Message-
> From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
> Sent: 06 September 2004 17:08
> To: Struts Users Mailing List
> Subject: Li
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: ${fu
> data from the DTO.
>
> Which would you use?
>
> Thanks again.
>
> Tom
>
> Daniel Perry wrote:
>
> > If you choose to keep the replaceall, then use:
> >
> >
> > Or, for a jsp only solution:
> >
> > <% p
No!
Struts tags are executed on the server.
Once user has received the page, it is running on the client browser, not on
the server, so struts tags are no use!
What do you want to do on the client? You probably want to use just
javascript!
Daniel.
> -Original Message-
> From: Hadeel
Do you want to do this for a single extra field? or any number of extra
fields?
If single, then just hide it using css, and use a bit of javascript to
unhide it.
If multiple, you can achieve this using struts by having the form submit,
add extra item in a list (where each item represents a row),
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 t
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 User
Personally, i've never used shared tomcat/struts/mysql hosting.
We use uk2 (http://uk2.net/) dedicated servers. Cheapest ones are £29 per
month (3 years up front tho!) for an intel 2.4ghz, 512mb ram, 40gb hdd
server with fedora. Easy enough to set up tomcat on it, and works a treat!
Initialy bou
It is saying that bean:cookie should be an empty tag. As you havnt closed
the tag, it isnt empty!
So, should be:
Notice the slash on the end!
Daniel.
> -Original Message-
> From: CCNY [mailto:[EMAIL PROTECTED]
> Sent: 21 September 2004 14:04
> To: Struts Users Mailing List
> Subject: F
If you forward between actions without actually redirecting the browser,
then the parameters remain intact!
If you set redirect to true, then the request will be redirected at the
browser level, and parameters will be cleared.
Daniel.
-Original Message-
From: James MacKenzie [mailto:[EMA
I believe you just treat it as with any other collection:
Daniel.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Lachdanan
Sent: 06 April 2004 00:29
To: [EMAIL PROTECTED]
Subject: logic:iterate over an array of Strings
Hello, could anyone help me? I want to iterat
Basically I have a list that I want to iterate through into two columns.
I have done this in the past with some java code and a counter, checking if
the counter is divisible by two then adding a at the end if it is.
Is there an easier way to do this? using standard taglibs?
Daniel.
--
This works ok for that scenario, but what about if you need each item out of
the list? eg, to iterate through a list of names:
Gives one column
name1
name2
name3
name4
Is there an easy way to get:
This would seem a fairly common scenario to me!
name1name2
name3name4
Daniel.
-Ori
There are lots of ways to counter this. The simplest is a combination of
session + cookie. Most people wont know how to / have any desire to delete
the cookie.
IPs are useful, but be careful:
- Some of the big ISPs (eg freeserve in the uk) have 'hidden' proxy servers,
so if popular you may get mor
ot in the spec, thankfully! I'm only trying to put off the
semi-determined attacks and any security should be transparent.
On 04/13/2004 12:38 PM Daniel Perry wrote:
> There are lots of ways to counter this. The simplest is a combination
> of session + cookie. Most people wont know how to / hav
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:
I've done similar things before.
Use javascript to open an action to add it to the database. This can be in
a new window, in another frame, or in a hidden iframe!
Daniel.
-Original Message-
From: Brad Balmer [mailto:[EMAIL PROTECTED]
Sent: 12 May 2004 13:46
To: Struts Users Mailing List
r is currently looking at?
Thanks.
Daniel Perry wrote:
>I've done similar things before.
>Use javascript to open an action to add it to the database. This can be in
>a new window, in another frame, or in a hidden iframe!
>
>
>Daniel.
>
>-Original Message-
>From:
I could be a bit off the ball here, but struts actions are case sensitive.
The servlet 'case-sensitive' element mapping only tells it that it should
ignore case for the servlet mapping - ie /myApp/ would also recognise
/myapp/ or /MyApP... etc.
Struts is still case sensitive, so if it's in your st
>FYI: I don't use message resource in this context.
well there's your problem :)
You need to have the error messages in a message resource available to both
modules, so you need to add it to the second config file.
Daniel.
-Original Message-
From: Normanjaisingh pauldurai [mailto:[EMAI
Needed Using multiple struts-config.xml-
ActionErrors problem
If u specify more than one message resources file, only the last message
resources file is loaded. Isn't this a bug in struts 1.1?
>From: "Daniel Perry" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users
Not sure if there is a better way of doing this, but my suggestion would be
have no error.header entry, and instead have:
error.systemheader
error.applicationerror
with the two entries you gave, and always add one of those to the error list
first.
Daniel.
-Original Message-
From: Nimmon
Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: 13 May 2004 18:08
To: Struts Users Mailing List
Subject: RE: java.lang.OutOfMemoryError after server app start/stop
cycling
Putting up the maximum memory Xmx does help as it gives it more memory to
use up, but only delays the inevitable
ang.OutOfMemoryError after server app start/stop cycling
>
> At 6:07 PM +0100 5/13/04, Daniel Perry wrote:
> >Putting up the maximum memory Xmx does help as it gives it more memory to
> >use up, but only delays the inevitable :)
> >
> >Is this a struts issue? or doe
maximum Java heap size
-Xssset java thread stack size
I alse use this to allocate more memory to ant at build time for a large application.
'set ANT_OPTS=-Xmx512m' (in a .bat) or pop it in your environment profile.
Chris McCormack
-Original Message-----
From: Daniel Per
To: Struts Users Mailing List; Daniel Perry
Subject: Re: java.lang.OutOfMemoryError after server app start/stop
cyclin g
Daniel,
For your problem 3 you must have to set ANT_OPTS=-Xmx512m in your dos
prompt as mentioned by Chris.
-Jignesh
On Friday 14 May 2004 15:49, Daniel Perry wrote:
>
Each request to the same action subclass uses the same object. The method
is called passing all necessary parameters to it. Therefore you should not
use any class variables, only local variables.
Ie, a MyAction class is created once, and for each request to it, it's
method is called:
public Act
I've developed a struts+ojb based webapp running under tomcat 4.1.
The question is, should i go live with tomcat4?
I've been looking into the alternatives, but none seem that great.
JBoss lacks free documentation. Any comments?
Resin looks good, but the license is a bit unclear. The way its wri
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 used
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
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 a
> -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 em
with politically incorrect
> > > views)
> > > get work in Germany
> > > Vielen Danke,
> > > Martin-
> > > - Original Message -
> > > From: "Christian Bollmeyer" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing
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 wo
k visa in the US.
>
> http://uscis.gov/graphics/howdoi/h1b.htm
>
>
> > -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
Recommendations
> [OT]
>
>
> Hey, I had an H-1B when I 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 classif
> 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 w
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
serve
();
> AppHelpers.deletePDF(userID);
> }
> }
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex 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
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
reso
e but I don't want to know the answer.
> This is a Struts list and I accept JSF is vaguely relevant but I am not
> going to utter another sentence about PHP.
>
> -Original Message-
> From: Daniel Perry [mailto:[EMAIL PROTECTED]
> Sent: 26 July 2005 09:46
> To: Struts Use
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. P
> > 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 b
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 i
> 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
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 lo
> -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
> compon
1 - 100 of 142 matches
Mail list logo