At 11:04 AM 1/28/2002 -0500, you wrote:
>Aside from functional differences, it is not practical or advisable for
>everyone to adopt JDK 1.4 as soon as it hits release. For one thing, Sun
>only releases the JDK for Windows and Solaris platforms. What if you are
>using Linux? Or AIX? Or HP-UX? Or AS
On Tue, 2001-08-28 at 00:02, Bryan Field-Elliot wrote:
>
> Also, you go on to say 'ditto for objection creation", and that it's
> "more expensive to cache an object than recreate it". Where are you
> getting this information? It goes against the design considerations of
> virtually every "hig
You want to use the second one. Just remember that the WEB-INF
directory has to be at the root of your web application directory, which
in your case is /helloworld.
Calvin
On 03 Aug 2001 15:22:16 +0100, chuck amadi wrote:
> Hi , Im back again - unfortunately i am left to my own devices thus
Jakarta TagLibs also have a taglib that does XSL, have you thought about
merging your result with theirs?
What I think is the big disadvantage with using XSL it is very complex
to use, especially if you want to take advantage of its more powerful
features. If designers are going to have problem
ystem first if desired. This doesn't require an extra network call
and
> thread.
>
> Chris
>
> ----- Original Message -
> From: "Calvin Yu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 01, 2001 1:06 PM
> Subje
The easiest way would be to write a client that makes a HTTP request to
the server and captures the HTML output that way.
Calvin
On 01 Aug 2001 13:40:58 -0400, Mustapha Essalihe wrote:
>
> Hi,
> I am new to struts. In my action class (perform) I want to run a jsp
page
> in background and save
Usually when struts taglib captures an error, it is stored as a request
attribute under the key Action.EXCEPTION_KEY. What I ended up doing is
write a custom error JSP and set that as my default error page in
web.xml.
I'm not sure if the template taglibs are storing their exception there
howeve
On 30 Jul 2001 18:20:29 -0700, Tim Colson wrote:
> While a custom tag is an option; this bit of functionality would have
> required embedding javascript code and html inside the custom tag lib. To
> me, putting view specific code like inside a tag library is also a slippery
> slope in the quest
I'm not sure if this is what you're looking for, but Jakarta Taglibs has
an library called XTags that you might be interested in.
Calvin
On 30 Jul 2001 08:58:04 -0400, Will Spies/Towers Perrin wrote:
>
> This is an odd ball question but ...nothing ventured ...nothing
gained.
>
> We use stru
I think your compiler can't find the initial class declaration. Chances
are your actual syntax error occured before that line. Make sure you
don't have too many '}' and that you're making a valid class
declaration.
It seems that a lot of your problems has more to do with your
understanding of
I'm not exactly sure what you're trying to do. If your web app
directory is C:\jakarta-tomcat-3.2.2\webapps, then your structure needs
to look like this:
C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorldResources.properties
C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\
Since loadVariables is an internal flash call, I imagine the problem
will most likely be in flash, and not with JSPs.
What you can try is to reconfigure your mappings so that *.asp will be
treated as a JSP, and rename your JSP files to *.asp. If this works, it
means flash (or the flash host - I
ere a need to have
a
> PageContext Class when everything was possible without that ,in JSP .
>
> Suppose PageContext class comes in JSP , then why the same concept
was not
> in Servlet ???
>
> suhas
>
> - Original Message -
> From: Calvin Yu <[EMAIL PROTE
What exactly is the package declaration? What is the file structure?
When you compile this class, what is the error?
Calvin
On 23 Jul 2001 11:07:49 +0100, Chuck Amadi wrote:
> Hi , cheers 4 the return within the IDE when i go to
ApplicationMappings
> a mouseover prompt states invalid package
On 23 Jul 2001 16:29:52 +0530, suhas wrote:
> Better can't we get this from the container specific implementaion
> something like PageContext in the Servlet too? .
>
Why would we need to?
Calvin
Another thing you can do is use the ServiceManager extension that's
under the contrib
directory in CVS. I've just started to look at it myself. Its seems to
be a fairly
new contributions, so documentation is pretty scarse.
Calvin
19 Jul 2001 21:05:32 -0700, Fabien Le Floc'h wrote:
> Thank
If you don't figure out why ApplicationMappings.java and
ActionForward.java isn't compiling, it isn't going to help you to
compile an Action class. I imagine the problem that is causing the
compilation of those two classes is going cause the compilation failures
of many of your other classes.
T
A stack trace would be helpful.
Calvin
On 19 Jul 2001 16:45:41 -0700, Vimal Kansal wrote:
> Hi,
>
> I am getting JSP parse exception, in the following
> code snippet :
>
>
>
>
> <%-- This table
Change the 'success' forward back to PCATable.jsp. To use frames, all
you have to do is change your starting point, which should now be
PCAFrames.jsp. In your PCAFrames.jsp, make sure you have a frameset
that links to /editQuoteSummary, and not PCATables.jsp.
Calvin
On 19 Jul 2001 10:08:25 +
On 18 Jul 2001 16:09:37 -0600, Scott Ryan wrote:
> Java script has the great benefit of failing
> but not indicating where the problem is.
>
If you're not using this already, you can type 'javascript:' in the
address bar and it'll open the javascript console.
Calvin
I wouldn't do this. What kind of jars are you dealing with? If the
jars are used by Ant to run tasks, then put them in ANT_HOME/lib. If
they belong to your project and only required to build your project, I
would recommend putting them in a 'lib' directory under your project
directory. You co
us i
> have downloaded an example containing a .java file and a build.xml
file thus
> do both these file reside in a separate dir i.e
>
> VKCapture.java , sp.tif & build.xml to a new folder named C:\capture
dir.
> am i on the right lines of thinking.
> Cheers All
> Calv
It doesn't have to be. Package names have very little association with
the directory that a java file is in. With ant, all you should have to
do is point it to a source directory (C:\development), and it'll try to
compile all java files in that directory. However, you probably want to
declare
This really shouldn't be the case. You should be able to set both
TOMCAT_HOME and ANT_HOME. What you should do is not set CLASSPATH at
all b/c ant.bat and tomcat.bat should handle the classpath for you.
Empty the CLASSPATH ('set CLASSPATH='), and send the error that you are
getting when you run
This shouldn't be the case. Set both TOMCAT_HOME and ANT_HOME, empty
your CLASSPATH ('set CLASSPATH='), and send the error that you get when
you run ant.bat and tomcat.bat. It'll also be helpful if you edit the
batch files and echo the command that is being executed by those files.
Calvin
On
Ok, this means that your ant installation is
correct, but the directory in which your dos-prompt is in doesn't have a
build.xml file. 'cd' into a directory with a build.xml and (making sure
ant.bat is in your path) run ant again.
Calvin
- Original Message -
From:
Chuck Ama
I had a similar problem, where the backend delivered model data in an XML
format. We initially used XML/XSL, but we later went with JSPs. What I did
to handle the XML data was write some taglibs that accessed XML data via
XPath. I also wrote a taglib that will perform an XSL transformation and
You are aware that there are other ways to do this, instead of using XSL,
right? One way would be to use taglibs that makes a call to include a
client-specific form. I'm not sure if your reason is good enough to use
XSL.
Calvin
- Original Message -
From: "Mahesh Bhagia" <[EMAIL PROTEC
It doesn't look like you're using the right ant.bat file. Did you modify
it, or are you using an ant.bat that you wrote yourself? Make sure you use
/bin/ant.bat. Try fully declaring it ([prompt:]
C:\jakarta-ant-1.3\bin\ant.bat). It you're still seeing the problem, send
me the ant.bat file.
Ca
I'm not sure why you'll need to download netbeans, but instead of tomcat you
can get servlet.jar from
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2/bin/jakarta-s
ervletapi-3.2.2.zip
I don't think that you'll need optional.jar, as the
Chuck,
This error in NetBeans is due some other compilation error or some problem
with the way your source is setup in the project. I would recommend that
you do *not* use NetBeans for now and try to figure this thing out via the
command line. Also, one problem you might be having is that your
Is struts.jar in WEB-INF/lib? If so, check to make sure
ActionMappings.class is in it. The package name is correct, its just that
javac cannot find the struts.jar.
Calvin
- Original Message -
From: "Chuck Amadi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 9
Try HttpServletRequest.getCookies()
Calvin
- Original Message -
From:
suhas
To: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 9:15
AM
Subject: Re: question in user state
management using Session
Thanks Jon but I want some more
clarification .
I just
Well, one problem I see is that your class is
declared as ApplicationMapping and the name of your .java file is
ActionMapping.java. Either change the class declaration or rename the java
file. If that doesn't fix your other problems, then it means that javac
can't find the struts libraries
What is it exactly are you trying to do?
Compile? Run a webapp? What is the exact error output you are
getting?
Calvin
- Original Message -
From:
Chuck Amadi
To: [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 8:30 AM
Subject: pls Help Invalid Package
Declarti
If you look at FashHashMap.get(Object key), you'll
notice that the call to map.get() is not synchronized. If
FashHashMap.put() isn't implemented like this, you'll run into a race condition
when one thread calls map.put() and another calls map.get().
Calvin
- Original Message -
I imagine you'll have to parse that attribute
yourself and use reflection to get that value. I don't think Struts has
support for this. It might be difficult to keep it generic however, since
I don't think there is way you can access the imports that are declared in a JSP
page.
Of course
I think some people are missing the point you're
trying to make, so I I'm going to take a stab at it.
Yes, the Servlet and Action APIs are very similar, but
a Servlet and an Action really have are two different
entities. A Servlet's set of interfaces covers what
is required of an Action and muc
Why not have your Managers create a connection as well
as taking in a connection?
Calvin
--- Shunhui Zhu <[EMAIL PROTECTED]> wrote:
> That opens up lots of questions I also have, I'm
> sure many of you have
> some
> solutions to these:
>
> (1)I went through a similar exercise, I first
> followe
--- Vanderlei Silva <[EMAIL PROTECTED]> wrote:
> The
> problems with this approach are: the DAOs are not a
> member of the Business
> objects, but work in parallel with them. Thus, the
> controller deals with
> both the business objects and the DAOs, and makes
> all the "control", serving
> a
ke to document it, I'd be
> happy to find a
> place for it in the users guide.
>
> Calvin Yu wrote:
> >
> > I think that this potential exploit should
> probably be
> > thoroughly documented, along with potential
> > workarounds. Last thing we
I asked this question a few weeks ago and believe the
answer is to write a servlet, override init() and
destroy(), and set up the servlet to load the servlet
at server startup.
With Servlet 2.3, you can add ServletContextListeners
in the web.xml to do the same thing.
Calvin
--- Jeff Trent <[EMA
I think that this potential exploit should probably be
thoroughly documented, along with potential
workarounds. Last thing we want is to have Struts
being tagged as being unsecure.
Calvin
--- David Winterfeldt <[EMAIL PROTECTED]> wrote:
> If you share a bean between two security groups, you
>
Check out Excelon's Stylus. I looked at their beta
more than a year ago an it was very promising. I
think it only works for HTML output though.
Calvin
--- "Duffey, Kevin" <[EMAIL PROTECTED]> wrote:
> scriplets are faster from what I understand as
> taglibs require some object
> creation, and t
What are their arguments for using scriplets?
Calvin
--- Firmin David <[EMAIL PROTECTED]> wrote:
> Hi all,
> Members of my team are gradually turning against
> using the Struts taglibs
> and resorting to scriptlets.
> IMHO: scriptlets bad, tags good. I've had more
> experience in using them
> t
Here are your options:
You can deliver the interim page but hold the
connection until the action finishes. The interim
page should have javascript that onload will redirect
to a resolution page. The resolution page will look
into the session for errors and redirect to the error
page if an err
Here's my experience with this issue. We used
in-memory session failover in WL, but due to problems
with the WL proxy we switched to JDBC session
persistence. We then dropped clustering and session
persistence altogether because of performance reasons
and used switches to make sure that users al
I would prefer to have the source available. I like
the ease doing an installation without having to run a
build, and the ability to look at the source if
anything goes wrong.
I'd suggest jaring up the source in a src.jar, like
the JDK.
Calvin
--- Wong Kok Wai <[EMAIL PROTECTED]> wrote:
> Jus
erties, other static
> properties, etc). The servlet
> loads at startup before the struts servlet. I hope
> this helps. I've been
> doing struts for a whole 2 days now!
> - Original Message -
> From: "Calvin Yu" <[EMAIL PROTECTED]>
> To:
Hi,
I apologize in advance if this question has been asked
before, but I've search the mail archives and docs and
haven't come up with an answer.
Is there a place to specify system-level properties in
Struts? For example, if the the Model components
needed to retrieve environment related proper
50 matches
Mail list logo