> instead of double quoted text words.
>
> Or you can try using c:if + c:else OR the c:choose + c:when + c:otherwise
> combo as shown here:
> http://archives.java.sun.com/cgi-bin/wa?A2=ind0209&L=jsp-interest&F=&S=&P=39
> 142
>
> For 2.0 ref docs, see sec
Does anyone know if there are plans for (or if an existing library is
floating around) that allows inline conditional expressions in the
POSIX style? An example would look something like the following:
I realize it is possible to use c:choose tags for such a condition,
but often times a simple
As always, Jim and Craig, you have been a tremendous help in pointing
me in the correct direction. Your responses definitely do not go
unread. I have studied, and will continue to review, your comments so
that I can be sure to inject best practices and good engineering into
this system. Many of
This nice thing about examples is that they are so clean and pretty.
The real world just hands you a shovel and says "Start moving this
horse crap."
I have an application in which there are a handful of parameters that
are required on each page, regardless of its content, to represent the
general
Every single time I sit down to develop an application in Struts
(though the I am going to present is certainly not unique to Struts) I
find myself stuck on the same question:
"Where to go next?"
Dynamic applications are all about forms and those forms send data to
be saved. However, once the da
I want to get some feedback on how other developers handle the
management of certain common files across multiple project trees.
I am developing about a dozen different web modules right now, each
with its own project tree. However, certain resources are used in all
of the projects, such as build
I know that this might be obvious, but I am telling you all just so
that you can learn from my pain. Because of time pressure, I
accidently left an caught exception in the following state:
catch (Exception e)
{
// TODO: do something with me
}
For the last couple of days the application server
Normally we talk about preventing direct access to a JSP, but, in
contrast, have a question regarding direct access to an action.
Consider the following scenario:
A portal application hosts several portlet modules. Each of the
modules is passed certain parameters from the portal when the user
se
> Using your example I would have a form to gather the search criteria.
> Submitting the form to the first action would gather a list of employess and
> store that list in a request scope attribute. It would then forward to the
> employee list jsp which would render the list of employees. Selecting
I often times run into the conflict, when developing a Struts
application, of which form to choose for a given action. The scenario
is such that one form is being populated by the request while the
other form needs to be populated for the output. An example would be
a sequence of pages describing
Apparently, in weblogic (which is the server we are currently using)
it is possible to "hardcode" the context-root into the weblogic.xml
file (if not specified in the EAR application.xml file). All the
sysadmin needs to do is let the request come through "unscathed" and
we can at least remain unde
Often times it is necessary to make a link act as a form by appending
a whole bunch of query parameters and issuing a GET request. In
struts, it is necessary to supply a bean name which points to a Map
containing these data values. I thought of something that might be a
touch easier. Perhaps htm
> See Section SRV.4.4 of the Servlet Spec. In brief, and modulo URL
> encoding differences, the following equation is required to be true:
>
> requestURI = contextPath + servletPath + pathInfo
Thanks Craig! That definitely saved me time. I have full confidence
that with this information I wi
> Web server (ie apache) or application server (ie tomcat). Application server
> shouldn't be
> stripping off the context, and yes that would be a violation. Web server stripping
> off
> context... well if you tell it. Our webserver doesn't strip off context at all,
> because we tell it
> no
Before I go paging through the J2EE spec to find a defense, I want to
see if someone out there can offer advice in the following matter. In
our application, the configuration of the servers is such that any URL
with a context of "/apps/" is captured by the webserver, the URL is
rewritten with this
15 matches
Mail list logo