Bean write problem on emebedding an image

2005-11-11 Thread vineesh . kumar
Hi all, I am trying to create a page, so that based on some crieterial the image to be displayed is selected. So i made an Form bean in which i initialize a class array and i am using logic itereate and bean write to display the image accordingly so i wrote " /> so i am gettin

Creating a session with predefined values

2005-10-06 Thread vineesh . kumar
Hi all, I have to maintain some information throuh out whole session from a user login to user logout. For accomplishing this, I hav to maintain a userid and permission values throughout the whole session. So what i need to know is, is there any way so that i can create a session with thes

Re: Question on conditionally changing action is html:form

2005-02-24 Thread vineesh . kumar
  try instead On Wed, 23 Feb 2005 Nandita Rajagopalan wrote : >I have the following piece of code : > > > ><% if (myform.getFlag()) { %> > > > ><% } else { %> > > > ><% } %> > > > >The above gives the error: > > > >Unterminated > > >There is a in my jsp- so not sur

Some stupid question

2004-09-28 Thread vineesh . kumar
Helo all, can anyone explain the overall flow of a struts appliction?. It should include how a request comes frm the browser, how it frwded to the form, how it further forwarded to the action etc. also if there is only an action and no forms how the request is processed. thanks

Re: and

2004-09-28 Thread vineesh . kumar
use http://google.co.in";>Google On Tue, 28 Sep 2004 Caroline Jen wrote : >I am working on one of my Struts JSPs. I am trying to >put a link (not a link to invoke an action); something >equivalent to: > >http://www.google.com";>Google > >I want user to be at the Google's web site when they

Re: suggestion needed.

2004-09-17 Thread vineesh . kumar
I do not under stand ur problem. when u accessing the database some error occured? then plz specify the errorstring On Fri, 17 Sep 2004 viji.george wrote : > > hello people, > >can anyone suggest a site where i can find a sample application or the >solution to the problem in accessing the

Custom jsp tags

2004-09-13 Thread vineesh . kumar
I want to create a cudtom jsp tag which accesses a Vector object in the request scope and displays it in a specified format. So i wrote a tld with a single attribute name and my setName method looks like private String name; public void setName(String name) { this.name=name; } and i tried

Re: Re: [Gmail] - All gone,

2004-09-13 Thread vineesh . kumar
Dear sir, can u help me on getting a gmail account? vinu On Mon, 13 Sep 2004 Emmanouil Batsis wrote : >Ruben Cepeda wrote: > >>Guys, >> >>I just ran out. > > >No you didn't. I already have one so I'm not going to use your invitation... thanks! > > >Manos > >

creating tld(help)

2004-09-12 Thread vineesh . kumar
Can someone suggest a good example of creating a jsp custom tag and using it?. Actually i want to access a vector object at the request scope and tried to write a tld and the class. my tld has the attribute name and at in the tld handling class i tried like this Vector vect=(Vector)page

problem with jsp:include

2004-08-31 Thread vineesh . kumar
hi all, I had written the code in a.jsp like: Accounts Contacts Deals Tasks Reports and i included this page in another jsp file like (offcourse with apropriate taglibs) but the html:link tags are not rendered y this is happening? Thanks in advance vinu

Re: [OT] Help files as Static HTML Content

2004-08-25 Thread vineesh . kumar
U simply copy the html file at ur jsp form directory. So that the u can refer to ur static html page as /form/urhtml.html On Thu, 26 Aug 2004 Towers,Stuart G wrote : >Hi Group, > > > >I'm trying to add some static HTML pages to my Struts application >(running under Tomcat) as Help files. I

Re: RE: Accessing collections in jsp

2004-08-18 Thread vineesh . kumar
complete?? > >With this code, you would already get an nllpointerexception on the v variable! > >Aren't you missing something? > >Otherwise: try Vector v=new Vector(); > >-Original Message- > From: vineesh . kumar [mailto:[EMAIL PROTECTED] >Sent: woensdag

Accessing collections in jsp

2004-08-18 Thread vineesh . kumar
To pass a range of values i used in PassAction.java Vector v=null; v.add("somestring"); v.add("someotherstring"); request.setAttribute("name",v); and in the jsp i tried to access it like Element Value: but i got an error saying javax.servlet.Serv

Re: Re: Re: passing a dynamic range of values to jsp page

2004-08-17 Thread vineesh . kumar
sir, can u specify some code snippet or a link which leads to the example code? thanking u, vinu On Tue, 17 Aug 2004 Pavel Kolesnikov wrote : >On Tue, 17 Aug 2004, vineesh . kumar wrote: > > > the problem is that, i may hav just one recordset or may have hundred &

Re: Re: passing a dynamic range of values to jsp page

2004-08-17 Thread vineesh . kumar
te in the reuest and how a jsp can dynamically handle it? Thank u vinu On Tue, 17 Aug 2004 Pavel Kolesnikov wrote : >On Tue, 17 Aug 2004, vineesh . kumar wrote: > > > I want to pass a range of values which is dynamic(values retrieved from > > a database using a dynamic query)

passing a dynamic range of values to jsp page

2004-08-17 Thread vineesh . kumar
Hi all, I want to pass a range of values which is dynamic(values retrieved from a database using a dynamic query) from an action class to corresponding jsp page. I hav to access it from the jsp page and dispaly. How can i do this in struts. Thanks, vinu

Accessing Session attribute from action

2004-08-16 Thread vineesh . kumar
Hi all, I wanna do store two values in the session when one logs in and i have to access the two values throughout the pages.also i have to access these two variables from some action classes. How can i do this thanks, vinu

Re: Re: Database connectivity

2004-08-10 Thread vineesh . kumar
my database connection class looks like package com.c2rmnet.struts.database; import org.apache.struts.action.Action; import javax.servlet.http.HttpServletRequest; import java.sql.SQLException; import java.sql.Connection; import java.sql.Statement; import javax.sql.DataSource; import java.sql.Re

Database connectivity

2004-08-09 Thread vineesh . kumar
Dear sir(s), I tried to connect to the database at 192.168.1.1:/crm through by configuring struts-config.xml. this is actualy my local system. I am using postgresql as my database back end. it is running on the default port of postgresql 5432. I am using pgjdbc.jar(for org.postgrsql.Dri