Re: jsessionid appended to URL and page not found`

2007-02-07 Thread Vinod Kumar
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 >

jsessionid appended to URL and page not found`

2007-02-07 Thread Vinod Kumar
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

check if a file is OPEN status before uploading

2007-01-26 Thread Vinod Kumar
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

Multiple submit buttons using

2006-10-16 Thread Vinod Kumar
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

Re: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Vinod Kumar
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

How to access JSP variable declared in layout file into a tile

2006-10-13 Thread Vinod Kumar
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

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Vinod Kumar
; > > PageContext.setAttribute("cuurentMap",cuurentMap); > > %> > > collection="cuurentMap"> > > // here u need to process the entries > > > > > > > > > From: Vinod Kumar [ma

iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Vinod Kumar
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

Re: How to access JSP variables inside Tiles

2006-10-05 Thread Vinod Kumar
- 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

Re: How to access JSP variables inside Tiles

2006-10-04 Thread Vinod Kumar
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*) >

Re: How to access JSP variables inside Tiles

2006-10-04 Thread Vinod Kumar
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

How to access JSP variables inside Tiles

2006-10-04 Thread Vinod Kumar
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

how to escape double quotes in html:link

2006-10-03 Thread Vinod Kumar
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

Re: cannot get parameter value in action class passed using html:link

2006-10-03 Thread Vinod Kumar
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

RE: cannot get parameter value in action class passed using html:link

2006-10-02 Thread Vinod Kumar
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

Re: cannot get parameter value in action class passed using html:link

2006-10-02 Thread Vinod Kumar
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

cannot get parameter value in action class passed using html:link

2006-09-29 Thread Vinod Kumar
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.

can i access tile definition name directly in browser

2006-09-27 Thread Vinod Kumar
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.

Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-27 Thread Vinod Kumar
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

Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-26 Thread Vinod Kumar
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. > &

cannot get value using request.getParameter in struts tiles layout file

2006-09-26 Thread Vinod Kumar
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. **