Hi List,
I have a form where all the action are provided by link.
I am using DynaActionform so when I click on html:link I do not get
the Dynaform populated for the next page
But
If I use use html:submit then it happens as expected.
Can any one have solution for the above issue.
Tha
Hello!
I implemented a webapplication using struts with tomcat and linux. The
application is installed in the path:
/opt/apache-tomcat/webapps/portalmanagement
/opt/apache-tomcat/webapps/ROOT -> portalmanagement
is a symlink to /opt/apache-tomcat/webapps/portalmanagement.
If a user starts wit
Andreas-
What are the welcome-file-list contents of web.xml specifically the
welcome-file value as in this example
StartUpJspGoesHere.jsp
I assume the Jsp you identify in welcome-file is located in
%TOMCAT_HOME%/webapps/NameOfWebApp??
Viel Gluck,
Martin --
**
Does there will be any performance issue When using Tag libraries.
What are advantages and disadvantages in using tag libraries other then
code resusability.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 19 Aug 2006 07:47:35 -, Shailesh Barde <[EMAIL PROTECTED]> wrote:
I have a form where all the action are provided by link.
I am using DynaActionform so when I click on html:link I do not get
the Dynaform populated for the next page
...
If I use use html:submit then it happens as e
You should read the javadocs on the taglib to read about
the large number of features in the tags:
http://struts.apache.org/1.x/apidocs/index.html
As a small example, the many of the html: input tags
a) check the content and change tags to prevent cross
site scripting (see the "filter" attribu
Martin Gainty wrote:
> Andreas-
>
> What are the welcome-file-list contents of web.xml specifically the
> welcome-file value as in this example
>
> StartUpJspGoesHere.jsp
>
>
>
> I assume the Jsp you identify in welcome-file is located in
> %TOMCAT_HOME%/webapps/NameOfWebApp??
The welco
On 8/19/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
mosho wrote:
> Hi Scott,
>
> It doesn't seem to work.
>
> My submit buttons look like this:
>
>
>
>
> Now, if I have a link, how can I set the property navigation for it.
> " onClickSubmit() pic.gif "
>
Well first you
Puneet Lakhina wrote:
OK One more thing, if you need to call this javascript method even
from ur
submit button, to set the property value then you can do
/>
Notice the return false there.
In case of a link simply do
I hope this was what you wanted.
The "return false;" would have to g
Hi,
Say I set some HttpSession attributes. If I set the timeout to 30 minutes,
and the user leaves for lunch and never comes back for 3 days, does the
session attributes get garbage collected? Or do I have to explicitly
invalidate the session (ie when the user comes back say 3 days later and
hits
The HTTP Servlet spec takes care of that. You can even use listeners to
notify you when objects are being removed. That way you can perform any
cleanup you require. See:
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html
Specifically the HttpSessionBindingListener's description.
Reg
Does anyone know how to get the Struts servlet pattern at runtime? I want to
get what the servlet is mapped for, like *.do or /do/, etc.
Paul
-
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
If you are in a time crunch for an answer, you could always load the
resourceAsStream "/WEB-INF/web.xml" with a SAX parser, first findi your
servlet name, and then iterate through the mappings to match the servlet
name so you can obtain the mapping. Personally, I tried to discover the
same thing
My bad, what was I thinking? LOL. Try this:
servlet.getServletConfig().getServletContext().getAttribute(Globals.SERVLET_
KEY));
As in this example where I print out an error message:
public class DavidAction extends Action {
@Override
public ActionForward execute(ActionMapping ma
Scott,
The failed simply cuz it refered to my context not to the
other different context I wanna redirect to.
I used the simple sendRedirect and it worked fine:
String path = "http://localhost:7008/portal/main.do";;
response.sendRedirect(path);
return;
-Original Message-
From: news [
15 matches
Mail list logo