gt; (as on reload or later
> clicks through the application.)
>
> If you don't have an HTTP proxy in the middle, then
> what servlet container
> are you using? I do local development with Tomcat
> and have for years with
> it being the HTTP server, and have never had this
>
Hi All,
I have a link to a struts web application in one of
existing website like start.jsp?cntry_cd=US
start.jsp is in struts application and contains the
following line
setup action does some pre-setup stuff and forwards to
home page. The home page displays well with all
navigation links. Bu
Hi,
I am uploading a file using struts (using FormFile)
but before uploading, I want to make sure that file is
not in open state. If so, I want to display message to
the user to close the file and then try to upload. I
am able to upload the file. Just wondering , how can i
check if the file is ope
Hi All,
I have a page with multiple submit buttons. I am
using LookupDispathAction. If I use
button, then everything is working fine. Look at code1
below, which works fine. But, my application requires
to use images instead of standard submit button for
submitting the form. So, if i use the code
Thanks Puneet. I will try your solution as well.
vinod
--- Puneet Lakhina <[EMAIL PROTECTED]> wrote:
> On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> > I have hashmap with key/value but the value in
> this
> > hashmap is another h
Hi All,
I have a JSP variable declared in the tiles layout
file. Now I want to use that variable inside one of
the tile declared in this layout.
Below is the layout file and I have a JSP variable
called "test" dclared in this. Now I want to use this
variable in the "content" tile. How can i do th
;
>
> PageContext.setAttribute("cuurentMap",cuurentMap);
>
> %>
>
> collection="cuurentMap">
>
> // here u need to process the entries
>
>
>
>
>
>
>
>
> From: Vinod Kumar [ma
Hi All,
I have hashmap with key/value but the value in this
hashmap is another hashmap.
How can I iterate over all the values using
logic:iterate.
HashMap h1 = new HashMap();
String id=1;
HashMap h2 = new HashMap();
h2.put(id,"123");
h2.put("key1","456");
h2.put("key2","789");
then I make entry
- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Then you should be able to go to the outermost tile
> and use
> after
> you've imported the tiles
> taglib and all the tile variables to be available to
> the jsp and jstl tags.
> (*Chris*)
>
> On 10/4/06, Vino
anks
Vinod
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> If they are tile scope variables, you either need to
> put
> at the top of the page to
> put them in page scope or
> use the tiles tags to insert the values (like
> name="href"/>)
> (*Chris*)
>
plugin, the tile variables aren't available.
> Make that a tile instead
> and you shouldn't have a problem.
> (*Chris*)
>
> On 10/4/06, Vinod Kumar <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> >I have included printable.jsp page in th
Hi All,
I have included printable.jsp page in the
layout-tiles file. I have some jsp
variables (such as href, onchange etc see below in
file) in printable.jsp, which i want to
use inside tiles such as top.jsp, bottom.jsp but i
cannot use those variables as they are not
available. I get some
Hi All,
I am trying to create a list of html links
dynamiclly. I have a collection of links. My HyperLink
class has one linkURL field and another linkDesc field
(its a javabean).
When I iterate thru these links, the double quotes are
causing problem and i have tried every possible
combination
with latest version of tomcat later
on.
Thanks
Vinod
--- Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> Vinod Kumar ha scritto:
> > Hi Antonio,
> > When I Printed getQueryString in the action
> class
> > using the below stmt
> > System
e-
> From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
>
> Sent: segunda-feira, 2 de Outubro de 2006 11:14
> To: Struts Users Mailing List
> Subject: Re: cannot get parameter value in action
> class passed using
> html:link
>
> Vinod Kumar ha scritto:
> > this
quot;print") is returning null in the
action class.
I am using tomcat 3.3.2 and struts 1.2.9
Is there any other way to retrive this parameter other
than using getParameter?
Thanks
Vinod
--- Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> Vinod Kumar ha scritto:
> > this is the w
I have following in page definition:-
In my bottom.jsp page, I create a link like
Printable
version
When I click on the "Printable version",it should pass
parameter print=YES to the setup.do
but when I check in the action class it does not
return anything.
Hi,
Can I access a tile definition name like "loginPage"
as below directly in the browser. I have
defined them in the tiles-defs.xml as below.
Basically, I want to make the page printable
and want to access the definition name for that
purpose. Thanks in advance for your help.
Yes, but its showing null. basically,
request.getParameter("print") is returning Null even
when I pass a value of 1.
thanks
Vinod
--- Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> Vinod Kumar ha scritto:
> > <%
> >
> > String p
Can you use the formBean?
> Something like pgForm.getPrint(); // i am not sure
> though
>
> or
> you can try this.
> Declare Print as a hidden variable in the jsp page.
> That way i think
> you will be able to access the variable.
>
>
> try this. I hope that works.
>
&
I am not able to get the value of the request
parameter using request.getParameter("Print")
I am trying to get this value in the layout-tiles.jsp
file.
I use this URL to make the call
http://localhost/appname/jsp/login.jsp?print=1
below are the two files. Any help will be appreciated.
**
21 matches
Mail list logo