The Struts doc does suggest that should cause the
tag to be XHTML compliant but for some reason it does not. The W3C XHTML
validator also does not like the Struts output of the elements.
Struts does not close them: .
--Marty
--- Derek Broughton <[EMAIL PROTECTED]> wrote:
> On Tuesday 14 D
Niall,
I would agree with you until a customer makes XHTML conformance a
requirement in the contract. Strict XHTML conformance is very important
to some customers, for various reasons.
As previously posted, getting rid of the "name" attribute on the
tag could be troublesome. But closing the t
Agreed. That is where GoGoogleook me after I first tried to run the W3C
conformance tester against a Struts generated page. Applying the
or the tags did not cause Struts
to close the tags or to remove the name attribute from the form
tag (which I am not advocating anyway).
If someone could pr
[Curse that Yahoo Mail spell checker. Take 2]
Agreed. That is where Google took me after I first tried to run the W3C
conformance tester against a Struts generated page. Applying the
or the tags did not cause Struts
to close the tags or to remove the name attribute from the form
tag (which
Thanks to this list I just found the StrutsTestCase package. I think its
a great tool. Testing my forms and actions OUTSIDE the container has
increased my velocity 10 fold.
But it seems that not many Struts people talk about this package (aside
from page 510 of J.B.'s book). Is there something
Thanks for the tip on StrutsTestCase. This is exactly what I have been
looking for. Now I can TDD with my Actions. How cool is that? If you
want to do unit testing of your Actions and Forms without the browser,
then get StrutsTestCase. And make sure you are using at least Struts
1.2.4.
--Ma
Jakarta POI works great for binary Excel. And if you are a glutton for
punishment, you can write to the Excel XML format. It is torturous to do
so but it does indeed work. And in theory MS is headed in that direction.
--Marty
--- Derek Broughton <[EMAIL PROTECTED]> wrote:
> On Sunday 26 Dec
If you are looking to test your Actions and Forms outside of the container
then StrutsTetstCase is an excellent choice. For integration testing you
could use something HttpUnit.
--Marty
--- Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> what is the best way of testing struts action classes
+1 on www.oswd.org They are a great place to start your next web project.
--- "M. Bitner" <[EMAIL PROTECTED]> wrote:
> As a programmer with no design skills, one resource I've found to be
> helpful is Open Source Web Design:
> http://www.oswd.org/
>
> There are quite a few site designs to cho
+1 on JDOM unless you know upfront that the XML file is going to be big
(greater than a couple of MB).
--- sudip shrestha <[EMAIL PROTECTED]> wrote:
> JDOM: http://www.jdom.org/.
> If you are new to xml-java parsing, then this is the way to go. When
> I started learning about xml parsing with
I have been looking into using the jspc ant task to pre-compile our
Struts-based application. In comparing the Java code generated by the
jspc task and the Java code generated by Tomcat 4.1.x there are some
differences, in particular the package names. Also, jspc wants to
generate the fraction o
an be completely
> free of jsp files, so your war file is smaller and your client never
> sees any jsp source.
>
> woodchuck
>
>
> --- Martin Wegner <[EMAIL PROTECTED]> wrote:
>
> >
> > I have been looking into using the jspc ant task to pre-compile our
&
gt;
> to load the web fragment file.
>
> to replace the token i created in my web.xml with the entire
> contents of the web fragment.
>
> for example:
>
>
> value="${jsp_mappings}"/>
>
>
> i just had to make sure my token was in the correct pl
Check out the displaytag mailing list. It has an excellent community
which is very quick to help.
--Marty
--- Flávio Maldonado <[EMAIL PROTECTED]> wrote:
> Hello people!
>
> Has anybody here used DisplayTag lib?
> I'm trying to use here but I'm having some problems with Locale...
>
> 115609
In have a Struts PlugIn that needs to determine the URL for the containing
web application (http://localhost:8080/BlahBlahBlah/). I am unable to
find a way to determine this information. Any ideas?
Thanks.
--Marty
-
To unsu
in anyway. Can anyone prove me wrong? :)
> >
> >
> > Your looking for the application context correct?
> > In the init you are passed the ActionServlet, which inherits from
> > HttpServlet, which will give you the ServletContext. IIRC you can get
> > the context fro
l String SLASH= File.separator;
> public static final String HERE =
> Classpath.class.getClassLoader().getResource("whatever" + SLASH +
>
> "Classpath.class").getFile();
> }
the URL or the Internet Protocol address? I have some
> ideas on the latter.
>
> Jack
>
>
> On Tue, 25 Jan 2005 21:05:30 -0800 (PST), Martin Wegner
> <[EMAIL PROTECTED]> wrote:
> > Jack,
> >
> > That tells me where the JAR files are stored which is c
AIL PROTECTED]> wrote:
> why does it have to be a plugin?
>
>
> On Tue, 25 Jan 2005 22:18:20 -0800 (PST), Martin Wegner
> <[EMAIL PROTECTED]> wrote:
> >
> > I am looking for the:
> >
> > http://blahblahblah.com:8080/AppName/
> >
> > As Cr
tive depending on
> your requirements (ie. A Filter that would instantiate the objects you
> need to populate on the first request? A base action that lazy loads
> your config stuff?)
>
> Just a thought...djsuarez
>
> -----Original Message-
> From: Martin Wegner [ma
n pool. This way I know it's done before the first request
> comes in. Similar kind of idea.
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
>
> On Wed, January 26, 2005 10:12 am, Martin Wegner said
y to the
> PlugIn
> that initializes your SOAP service?
>
>
> value="http://blahblahblah.com:8080/AppName/"/>
>
>
> Niall
>
> - Original Message -
> From: "Martin Wegner" <[EMAIL PROTECTED]>
> To: "Struts Users
Cedric,
No doubt it is confusing. I admit it is an odd requirement.
The WS response has to contain the URL that was used to access the WS.
This is a requirement of the XML Schema that defines the WS response
payload. I have no control over this.
So when the WS call comes in the Axis-based cal
Agreed. That approach works more often than not. Except in this case.
The client of the WS does indeed use the URL that is sent back. That is
part of the overal protocol. So it has to be a valid URL that reaches the
WS inside of my Struts app.
One could argue that the real problem is within
ata). If the file exists, the action
> could politely return a page explaining the requested function is not
> available (to prevent someone from potentially screwing things up by
> running
> that action again).
>
> Regards,
> David, the devil's advocate today.
>
> -
have the correct data.
> >>
> >> With that in mind, the Devil's Advocate suggests:
> >>
> >> Can you provide a plug-in to check a file for the information you
> >> require?
> >> On first run, there would be no data so let them, upon first
>
s long as you saved the URL in a file so future
> restarts/reboots
> would not need that manual (first-time) URL ever again.
>
> Regards,
> David
>
> -Original Message-
> From: Martin Wegner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 26, 2005 3:39 PM
&g
CTED]>
> wrote:
> > Since this is SOAP and a dynamic feature, wouldn't and IP address work
> > as well, or better?
> >
> > Jack
> >
> > On Wed, 26 Jan 2005 07:12:03 -0800 (PST), Martin Wegner
> > <[EMAIL PROTECTED]> wrote:
> > > D
I recently saw a post about moving all web app files underneath the
WEB-INF directory. Unfortunately the search mechanism on the Struts web
site appears to be unavailable and I can't find those emails.
So I understand why some would put Javascript, JSP, images, etc. under
WEB-INF. But if you do
verything
> except the index page there, and my index page is merely a forward.
>
> Jack
>
>
> On Wed, 26 Jan 2005 21:59:53 -0800 (PST), Martin Wegner
> <[EMAIL PROTECTED]> wrote:
> >
> > I recently saw a post about moving all web app files underneath the
ill want to have everything inside WEB-INF/ here is a an
> example
> http://www.michaelmcgrady.com/eschew_url.jsp
>
>
> On Wed, 26 Jan 2005 21:59:53 -0800 (PST), Martin Wegner
> <[EMAIL PROTECTED]> wrote:
> >
> > I recently saw a post about moving all web a
However, images and javascripts, unless you have a
> custom servlet or Struts action to retrieve those artifacts, would NOT
> belong under WEB-INF - those are specific to presentation.
>
> w
>
> On Wed, 26 Jan 2005 21:59:53 -0800 (PST)
> Martin Wegner <[EMAIL PROTECTED
n" <[EMAIL PROTECTED]> wrote:
> >>Martin Wegner wrote:
> >>In have a Struts PlugIn that needs to determine the
> >> URL for the containing web application
> >> (http://localhost:8080/BlahBlahBlah/).
>
> Martin, since you seem firm on this is
David,
Also, as I said early the Axis architecture is such that it does not
provide any of the information related to the HTTP layer beneath SOAP.
The only think you know is that your dispatcher gets called. So my
problem may be considered a limitation in Axis.
--Marty
> Martin, since you see
ot of help from this group. Sorry
to have taken up so much bandwidth.
--Marty
--- Kishore Senji <[EMAIL PROTECTED]> wrote:
> On Thu, 27 Jan 2005 21:17:07 -0800 (PST), Martin Wegner
> <[EMAIL PROTECTED]> wrote:
> > David,
> >
> > Also, as I said early
+1 on that article. That is how I first learned Tiles. Then get Ted
Husted's book. His Tiles chapter (which I think is on the net) is very
good.
--- James Holmes <[EMAIL PROTECTED]> wrote:
> Hey David,
>
> I wrote an article on Tiles for Oracle Magazine that might be helpful to
> you. You
A PlugIn works nicely as well. I am not sure which is the recommended
Struts practice.
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "David Johnson" <[EMAIL PROTECTED]>
> > I have a need in an app I'm working on to cache data that is valid and
> > shared across users, like standard countr
Check out this e-book from Manning:
http://www.manning.com/goyal
It might have some info on this topic. I haven't read the book but the
blurb I got in the email was interesting.
--Marty
--- Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote:
> Well, I know it's not the right list, but s
You can also use the Jakarta Commons ID packageto generate a GUID which is
guaranteed to be unique in the universe. You could then convert the GUID
to your seed.
--- Kris Schneider <[EMAIL PROTECTED]> wrote:
> Will InetAddress.getLocalHost() work for you?
> NetworkInterface.getNetworkInterface
Frank,
I was a little hinky myself about using Common ID in production. But I've
been using it or over a year and it has performed admirably. We haven't
seen any problems with the package.
As for getting the MAC address I had to solve that problem about six
months ago. I had to resort to Runti
40 matches
Mail list logo