This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes weblogic output stream HELP!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "weblogic output stream HELP!!!!" Watch "weblogic output stream HELP!!!!" New topic

weblogic output stream HELP!!!!

david chiu

Joined: Aug 28, 2001
Posts: 1
Why does the following code work on Tomcat but gives me a 500 error on weblogic?
<%@ page import="*,*"%>
//returns the replay info
String gameid = request.getParameter("gameid");
String playernum = request.getParameter("playernum");
ReplayInfo ri = new ReplayInfo();
byte[] replayBytes = ri.getReplayInfo(gameid,playernum);
if (replayBytes == null)
replayBytes = new byte[1];
replayBytes[0] = (byte)0;
OutputStream outputs = response.getOutputStream();
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Problably because this package: and it�s classes were created by you and you�re not deploying your web application in a war file, so you have to set the classpath to point to the package
It is sorta covered in the JavaRanch Style Guide.
subject: weblogic output stream HELP!!!!
Similar Threads
problem during create thread in jsp
jstl c:out tag does not display the value in the list
Retreving PDF File from Database using Java
Problem in BIRT (Report ) when run in weblogic error is " org.mozil....l "
Struts logic:iterate + html:link