i am implementing a news forum whereby users can upload attachments for a message. While at the moment i can successfully iterate through the list of attachments in the page context and display them as checkboxes, i need some way of being able to remove attachments. so when the remove button is...
i am using a jsp page to do this. And yes i do know the details of the posted form elements. But without using javascript how do i loop around these checkboxes and remove them, and the files themselves.
if for example i have the following file name:
232323231_test_file.txt
but only want to get test_file.txt back how can i make sure that when i get to the first instance of the '_' character i take whatever is after it and return it.
regards,
cajchris
i am making a site whereby on some news forum page there is the ability to add attachments to messages. While it is a simple case of getting the already attached files from some list saved in the page context to show the check boxes, how would i go about having a remove attachment button which...
is there any way i can timestamp a file name, so as to avoid conflict in files with the same name. I am implementing a forum attachment upload facility and want to ensure no uploads share the same name.
regards
cajchris
I am writing some functionality for a site which deals with newsletters, and the sending of them to their subscribers. When an email is successfully sent the subscriber entry in a file is checked as sent, however if one is not sent, how can i determine between different error codes for smpt...
is there any way though that i can store this as a string somewhere? as i need to apply a particular style sheet depending on what the url contains
regards,
cajchris
hi,
can someone please tell me how i can get the current url as it appears in the address bar.
is there someway in html i can do this? or do i need to use javascript or some other way?
regards,
cajchris
i am developing this site using infoglue which uses velocity templates for accessing java objects, in order to make http requests and the like.
regards,
cajchris
thats good to know, cheers manarth but what if this is a client requirement that they have a print this page link which shows the page as it will be printed.
regards,
cajchris
i am not wanting the activation of the link to print the page. i am wanting to give a view to the user of the page that could be printed. thats why i dont think i should be using the media="print" thing.
regards,
cajchris
ok,
I have a web page with a print this page link on it. At the top of the page i have specified 1 style sheet as a default, and another as an alternative one (the print one). when the user clicks the link a call is made to the javascript which will switch the active style sheet.
I am wanting...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.