How do I make my picture an avatar?
Using JSP example
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Java Programming > Using JSP example 24 June 2002 14:32:08

  Top users: 
  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

Using JSP example

M G 21 June 2002 20:48:40
 
Hello.

I am new to itext and going through the tutorial. I am trying to work with the pdf.jsp example written by Tal Liron and I am getting the following message.

-------------------­--------------------­--------------------­--------------------­---- ERROR BELOW -------------------­--------------------­-------------

IO exception reaised during forward to destinateion, in cygent.portla.frame­.jsp.GoServlet

INITIAL EXCEPTION: java.net .ProtocolException : Exceeded stated content-length for URI: /ua/jsp/MIXHierarch­yEdit/PDF.jsp of: 816 bytes

INITIAL EXCEPTION STACKRACE: java.net.ProtocolEx­ception: Exceeded stated content-length for URI: /ua/jsp/MIXHierarch­yEdit/PDF.jsp of: 816 bytes

at weblogic.servlet.in­ternal.ServletOutput­StreamImpl.write(Ser­vletOutputStreamImpl­.java:139)

at java.io.DataOutpuSt­reamwriteByte (Unknown Source)

at jsp_servlet._ua._js­p._mihierarchyedit._­pdf._jspService(_pdf­.java:111)

-------------------­--------------------­--------------------­--------------------­--------------------­--------------------­--------------------­-----





-------------------­--------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
Add comment
Bruno 24 June 2002 14:32:08 permanent link ]
 Quoting m g <itext2002@yahoo.co­m>:
Hello.>
I am new to itext and going through the tutorial. I am trying to work with> the pdf.jsp example written by Tal Liron and I am getting the following> message.

First of all: it is never a good idea to generate PDF with JSP.
JSP doesn't handle binary data very will (encoding problems).

In your case, I think you have added newlines, spaces,...
to the original code without knowing it.
As you can see in the code, the content-length-head­er is set
because of an MSIE problem. Maybe you are adding extra content
(more than the length) by adding 'unvisible' characters...

Anyway, if you get the code from CVS the right way,
you should see something like this:
http://www.lowagie.­com/iText/examples/p­df.jsp

best regards,
Bruno




-------------------­--------------------­----------------
Sponsored by:
ThinkGeek at http://www.ThinkGee­k.com/
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Java Programming > Using JSP example 24 June 2002 14:32:08

see also:
print over prior print
Password Generator
pass tests:
see also:
love
hello
Тест: Do you really know yourself?i...

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .