[OT] RE: Sending New Line Characters and ; in URL
you can't have new line characters in URLs, you'll need to get rid of them with a regular expression for what you are doing I think. Allistair. > -Original Message- > From: inr [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 14:29 > To: Tomcat Users List > Subject: Re: Sending New Line Characters and ; in URL > > > Hi Peter Crowther, > > I am using the POST Method , The problem is not loss > of data, it is > about the new Line Character and ' , ; charcters when > setting as below, > > > Window.location="mailto:[EMAIL PROTECTED];[EMAIL PROTECTED] > ail.com;?CC=ik > [EMAIL PROTECTED] &Subject=This Raise Error > > > > ?Body= sdf ' ' > '' > > > This is SAmple Message '''' > '; > > > The above are the line i set in the URL of the Window.location; > > Thanks for ever, > > inr > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sending New Line Characters and ; in URL
Hi Peter Crowther, I am using the POST Method , The problem is not loss of data, it is about the new Line Character and ' , ; charcters when setting as below, Window.location="mailto:[EMAIL PROTECTED];[EMAIL PROTECTED];?CC=ik [EMAIL PROTECTED] &Subject=This Raise Error ?Body= sdf ' ' '' This is SAmple Message '; The above are the line i set in the URL of the Window.location; Thanks for ever, inr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Sending New Line Characters and ; in URL
> From: inr [mailto:[EMAIL PROTECTED] >I like to send new Line character and ; characters in URL. > In hmtl I am using a Form [as like mail box] To address, > From address and > Message.. > When the form is submitted to servlet the information is set to its > window.location in servlet response, there by outlook express > opens now. If you set the form method to 'post' instead of 'get', you will be able to transfer this content. In general, using 'get' and encoding the content in the URL is a Very Bad Idea for long content such as messages. - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sending New Line Characters and ; in URL
Hai all, I like to send new Line character and ; characters in URL. In hmtl I am using a Form [as like mail box] To address, From address and Message.. When the form is submitted to servlet the information is set to its window.location in servlet response, there by outlook express opens now. Problem is--: But my problem is when i use new Line Charcter or ; , ' charcters i am getting Unterminated String Error. I want the messages to be displayed in Outlook Express as i typed in Html Text Area . What is the Solution for this. Thanks for ever, inr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]