File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes jsp format problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp format problems" Watch "jsp format problems" New topic
Author

jsp format problems

Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
ok i'm trying to do this, and it works just fine



but when i try to add those in bold, i get format problems like
the page doesn't display the rest of the page and shows <td colspan="4" rowspan="2" in my browser


what's wrong? i can't find anything wrong with the code
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

Do a View Source from the browser to see what formatting problems may be present in the HTML.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jherald Lacambra
Ranch Hand

Joined: Feb 02, 2005
Posts: 129
can you paste here what is showing in the browser?


jherald
Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
i can't post images so i'll just describe:

with the 1st code, everything works well,
my form with the textboxes and all, displays until the end

but with the second code, the form does not continue to display, it stops loading the textboxes and it inserts <td colspan="4" rowspan="2"

i looked at the view source and for some reason, it stops here <td colspan="4" rowspan="2" and does not continue showing the rest of the html code
Jherald Lacambra
Ranch Hand

Joined: Feb 02, 2005
Posts: 129
Originally posted by shuini gustav:
String[] proc = rm.getProcess(cat);


What is this suppose to do populate your array?
Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
yes
Jherald Lacambra
Ranch Hand

Joined: Feb 02, 2005
Posts: 129
Can you do this if it will work

Just putting static value
replace the rm.getProcess();
String[] proc = {sample}
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

Originally posted by shuini gustav:

i looked at the view source and for some reason, it stops here <td colspan="4" rowspan="2" and does not continue showing the rest of the html code


This is indicative that your code threw an exception after some output has been flushed from the buffer. Look into your log files for the details of the exception.
[ March 01, 2006: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp format problems
 
Similar Threads
Struts: Getting a blank page instead of the form
captcha is reloading
Newbie wrestles with scope and includes
My bean doesn't quite work
Returning a result set in an html form