oohh great thankx ----- Original Message ----- From: "Kwok Peng Tuck" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 2:01 PM Subject: Re: One JAVA Question?
> Under the commons project. > jakarta.apache.org > > Abhijeet Mahalkar wrote: > > >Thankx dear for ur imme. reply > > > >will you pls tell me where will i find this commons-httpclient in which jar > >etc... ? > > > >thankx again > >abhijeet > >----- Original Message ----- > >From: "Kwok Peng Tuck" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Sent: Wednesday, November 19, 2003 1:45 PM > >Subject: Re: One JAVA Question? > > > > > > > > > >>Maybe you can use commons-httpclient to connect to the url, see if you > >>get a 404 or 200 for the response ? > >>If you get a 200, you are good to go, 404, means file not found. > >> > >> > >>Abhijeet Mahalkar wrote: > >> > >> > >> > >>>hi All > >>>Sorry for this out of forum question. But i want to check thru http > >>> > >>> > >protocol > > > > > >>>whether the a.txt file exists on the specified Location or not... > >>> > >>>e.g. http://1.1.1.1/test/poll/SimpleHTML.html > >>> > >>>i want to check whether "SimpleHTML.html" file exist at the > >>>1.1.1.1/test/coll location or not ? > >>> > >>>I tried URL URLClassloader, File etc URL classes but i am not able to > >>> > >>> > >find > > > > > >>>the solution for this. > >>>Is there anybody who had such requirement previously and can GUIDE me for > >>>the same. > >>> > >>>thankx in advance.. > >>> > >>>abhijeet > >>> > >>> > >>>----- Original Message ----- > >>>From: "Mohd Fadhly" <[EMAIL PROTECTED]> > >>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >>>Sent: Wednesday, November 19, 2003 1:01 PM > >>>Subject: Re: Typical edit page > >>> > >>> > >>> > >>> > >>> > >>> > >>>>hi again, > >>>> > >>>>lets say im going to use JSTL, how to change this into JSTL? > >>>><input type="radio" name="name" value="<bean:write name="mpd" > >>>>property="name" />"> > >>>> > >>>>so izzit like this? > >>>><html:radio property="name" value="${mpd.name}" /> > >>>> > >>>>& do i need to include the tlds (c.tld etc) libraries (jstl.jar & > >>>>standard.jar) > >>>>please help im a JSTL newbie. im trying my best not to use ant > >>>>scriptlets inside the app. > >>>> > >>>>thanks > >>>> > >>>>Richard Yee wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>Mohd, > >>>>>No. Struts does not do anything with any of the static parts of your > >>>>>page. Why can't you use the html:text tag? You can put a JSP or JSTL > >>>>>expression as the value of the 'value' attribute too. > >>>>> > >>>>> > >>>>> > >>>>>-Richard > >>>>> > >>>>> > >>>>>At 01:37 AM 11/15/2003, you wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Thanks for your help > >>>>>> > >>>>>>there is a situation where i cant use <html:text> to render a text > >>>>>>input, i use normal html tag <input>, is struts will know to display > >>>>>>the values inside a normal <input> tag? > >>>>>> > >>>>>>Richard Yee wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Mohd, > >>>>>>>You need to retrieve the user's current settings and set the > >>>>>>>appropriate fields in your ActionForm from your Action class. If you > >>>>>>>do that, the fields will be populated when you display the form. Are > >>>>>>>you using html:select with html:options ? You might want to look > >>>>>>>at the html:optionsCollection tag too. > >>>>>>> > >>>>>>>-Richard > >>>>>>> > >>>>>>>At 06:56 PM 11/14/2003, you wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>hi > >>>>>>>> > >>>>>>>>is there any automatic way that i can polulate all the fields > >>>>>>>>(including html:select with html:options) in a typical edit/update > >>>>>>>>page? coz right now im doing it manually. & im basically stuck when > >>>>>>>>try to select the option saved previously. im using html:options > >>>>>>>>with the labelValueBean > >>>>>>>> > >>>>>>>>any help is greatly appreciated > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>--------------------------------------------------------------------- > >>>>>>> > >>>>>>> > >>>>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>>>>For additional commands, e-mail: [EMAIL PROTECTED] > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>>--------------------------------------------------------------------- > >>>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>>>For additional commands, e-mail: [EMAIL PROTECTED] > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>--------------------------------------------------------------------- > >>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>>For additional commands, e-mail: [EMAIL PROTECTED] > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>--------------------------------------------------------------------- > >>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>For additional commands, e-mail: [EMAIL PROTECTED] > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>--------------------------------------------------------------------- > >>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>> > >>>> > >>>> > >>>> > >>>--------------------------------------------------------------------- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]