Newbie jsp question
Hello, I am coming from php, and I was looking for a server side language I could use, but would also hide the source code(meaning i can give people a binary to put on there servers liek with regular java,c,or c++). I searched around for information reagrding this and jsp, and I am unable to tell if i can just give the jsp server a compiled app to run. I am interestd in writing some simple webapps such as a webmial interface, do you think that js pis too overboard for a project like that? Do you guys know of any other server side langauges that might be more useful to me in a situation like that, but can also run off compiled programs instead of reading a script like php and perl? Sincerely,
Jason
java binaries (bytecode) do not hide implementation. All that is lost in compiling java sources are tho comments and variable names. Even more, if compiled without the parameter -g:none, some debuging info is left in the bytecode, so it is possible to determine the name of the local variables. For someone who is familiar to java, reading a decompiled source is not very difficult.
Similar Messages
-
General place for newbie datamodeler questions?
With the production release of SQL Developer Data Modeler I'd assume that this forum will draw a bunch of new users. Is there a better place to ask some pretty simple, newbie like questions that won't bother the more seasoned members?
For instance, I am working in a Rails environment, which has some stringent naming conventions, one of which is that all of the primary key columns are numeric and called "id", with the foreign key linked columns called <table_name>_id. When engineering a logical model to a relational model, the added foreign key columns are all "id#". Is there a way I can define a naming rule to keep me from having to redo the relation column names?
Also, we have a standard set of columns (mostly Rails related) which appear in every table. Can I define a generation rule which automatically includes these tables?
ThanksThank you. I will try changing that setting.
IS there a setting which tells the relational model to automatically create pk and fk indexes? I haven't seen one, and manually setting them up is a tedious task. --sw -
Newbie script question... consecutive numbers with update.
complete newbie type question... this is also my first post. ( I am using CS3)
does anyone have a script which can make it so I can add numbers into the text consecutively.
for example, if this is my text "the big fat dog sat on the very wide mat, but was then displaced by a unfriendly cat."
and I wanted to place a number 1, number 2, 3, etc at points in the text so it read, "the big fat dog1 sat on the very wide mat2, but was then displaced by a unfriendly cat3." but later wanted to add another number and have later numbers update themselves, so the text then said, "the big fat dog1 sat on the very wide mat2, but was then displaced3 by a unfriendly cat.4".
by inserting the three, the previous three became four.
Has anyone got something which might be useful in this regard.
Many thanks
Stevei wanted to avoid footnotes as they leave a bar at the bottom of each page.
i wanted a script to do something similar to footnotes but not much further.
does anyone have just a simple script that can do what I asked?
Steve -
Newbie XSan question - authenticating a computer from XSan Admin
Hello - I have a very newbie XSan question!
I have 2 computers that connect to an XSan. 1 I am having no problems with. The other I am unable to connect with.
When I look in XSan Admin the 2nd computer (the one that is not working) is not authenticated.
So I click on it and choose Authenticate. I enter what I know is an Admin username and password for the computer I am attempting to connect. The dot next to the computers IP turns green with 3 dots in it and then it turns gray again. It just does not connect.
What is the problem?
Is it licensing?
Thanks
TajYou need a different license ID for each machine, plus the admin machine. Do you have that?
-
Which forum should I use if I have JSP questions?
Hi, pals!
Which forum should I use if I have JSP questions?
Cheers,
Georgehttp://forum.java.sun.com/forum.jsp?forum=45
-
Newbie JSP/Servlet general question
Hi,
I am currently studying the life cycle of a JSP page from the Java EE 5 Tutorial (http://java.sun.com/javaee/5/docs/tutorial/doc/bnahe.html). This document says that: "+If an instance of the JSP pages servlet does not exist, the container loads the JSP pages servlet class, instantiates an instance of the servlet class, initializes the servlet instance by calling the jspInit method+".
My two questions are:
i) Does this JSP servlet implement the HttpJspPage interface defined in javax.servlet.jsp?
ii) Does Struts and Spring MVC provide such JSP servlet Java classes implementations or are these part of other packages? If not, which packages offer such implementations?
Thanks,
J.Jrm wrote:
Hi,
I am currently studying the life cycle of a JSP page from the Java EE 5 Tutorial (http://java.sun.com/javaee/5/docs/tutorial/doc/bnahe.html). This document says that: "+If an instance of the JSP page’s servlet does not exist, the container loads the JSP page’s servlet class, instantiates an instance of the servlet class, initializes the servlet instance by calling the jspInit method+".
My two questions are:
i) Does this JSP servlet implement the HttpJspPage interface defined in javax.servlet.jsp?Yes.
>
ii) Does Struts and Spring MVC provide such JSP servlet Java classes implementations or are these part of other packages? If not, which packages offer such implementations?No, the implementation for the JSP servlet is usually provided by the Servlet Container, not a framework, since the Servlet Container is responsible for creating and compiling the JSP.
>
Thanks,
J. -
Simple JSP question (newbie)
Hi all,
firstly I hope this is the right place to post this question, if not, please accept my apologies,
I am putting together my first set of JSP pages with Tomcat, and so far everything is going very well, but I am having one small problem.
I have 1 JSP page at the moment, and that in turn uses 1 JavaBean thing bit of code to do something.
The problem I am having is passing an integer variable from my JSP page to my JavaBean page, I can't seem to find the right syntax for it. The following code (from the JSP page) will make this ten times clearer...
<%! int score; %>
<%! String scoreAsString; %>
<%
scoreAsString = request.getParameter("score");
score = Integer.valueOf(scoreAsString).intValue();
out.println("Your score of " +score +"was received, thanks very much!");
%>
<jsp:useBean id="converter" class="scoreApp.SaveScoreBean"/>
<jsp:setProperty name="converter" property="scoreToSave" value="${score}" /> As you might see, the problem comes in that last line of code - I want to pass the "score" integer I've received off to the bean, but I don't know the syntax for this. I've tried "value=score", "value="score"", "value="$score"", "value="${score}"" etc. but to no avail.
You can see this is a super-simple problem :)
... but my if it isn't becoming frustrating :)
Any help at all will be most welcome, and gratefully received.
Many thanks,
PetertechnologyMan wrote:
I am learning jsp now. You´re actually at the JSF forum here.
Now, i am a textfield control on jsp as textField1. You are? Really?
I have created this control from Palette. in java code i am writing "textbox1." but there is no action, no intellisense while pressing ctrl + space.
How the control is accessing from java code? Maybe my logic with visual studio .net. but i want to learn jsp logic.Uh, just write code accordingly? You can use h:commandButton/h:commandLink for that.
Anyway, if you want to start with JSF, I can recommend you the following sources:
Java EE tutorial part II, JSF starts at chapter 10: [http://java.sun.com/javaee/5/docs/tutorial/doc/]
Good kickoff tutorial: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html]
The JSF taglib documentation: [http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/]
The JSF API documentation: [http://java.sun.com/javaee/javaserverfaces/1.2/docs/api/overview-summary.html] -
I installed Tomcat 4.0.3 and I had IIS running on my Win2k system. I thought I could make JSP work using IIS but I read somewhere that you have to make some modifications to get it to work. Then I realized that I had Apache 1.3 installed on my system. I know that Apache is running ok because I can successfully get to the default home page. However, after installing TomCat, the instructions tell you to browse http://localhost:8080 to get to the TomCat default page but I get a page not found error. Any ideas?
After looking at it further, your right, the Tomcat server didn't start. I thought it was running but it is not. I run the startup.bat file and it launches a window but it closes too quick to show me the error msg. I tried launching the shutdown command anyway and got this for an error:
C:\Jakarta\jakarta-tomcat-4.0.3\bin>shutdown
Using CATALINA_BASE: C:\Jakarta\jakarta-tomcat-4.0.3\
Using CATALINA_HOME: C:\Jakarta\jakarta-tomcat-4.0.3\
Using CATALINA_TMPDIR: C:\Jakarta\jakarta-tomcat-4.0.3\\temp
Using JAVA_HOME: C:\j2sdk1.4.0_01\
Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardC
sLoader.java:1127)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardC
sLoader.java:992)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218) -
Hi there. I am a newbie to Apple. I purchased the iBook last month and of course, when the MacBook (which had the features I wanted) came out, I rushed out and got one and I'm very pleased with my purchase - but I have a few "newbie" questions:
1) Printing on a PC based Linksys seems to be a nightmare. I can't get anything printed on the shared HP 2600N and HP1012 printers. I literally have to disconnect them from the PC and plug the USB directly to my MacBook to print. It seems like there should be a better, easier and MacFriendly way of doing this - anyone have an easy solution?
2) I'm going to purchase Windows XP so I can run my windows programs on this computer. Does anyone have any pre-installation advice?
3) I have a blackberry device that worked fine with my iBook, but does not work with my MacBook - any suggestions or is there a software compatibility patch?
4) I transferred everything from my old Mac to my new Mac with no problem. How can I migrate my contacts from Entourage to the Address Book?
5) I notice that sometimes the MacBook "stalls" or doesn't work fast in some functions...is it just me - I expect the machine to jump quickly...but sometimes I get that annoying pinwheel when opening programs.
Thanks for your help!1) Printing on a PC based Linksys seems to be a
nightmare. I can't get anything printed on the
shared HP 2600N and HP1012 printers. I literally
have to disconnect them from the PC and plug the USB
directly to my MacBook to print. It seems like
there should be a better, easier and MacFriendly way
of doing this - anyone have an easy solution?
The problem is probably a driver issue.
Printing to a printer on a XP PC from a Mac running 10.4.x
http://www.ifelix.co.uk/tech/3015.html
You may need to use a third-party driver such as the HPIJS drivers or the Gimp-Print drivers, but this is not the case with all printers.
2) I'm going to purchase Windows XP so I can run my
windows programs on this computer. Does anyone have
any pre-installation advice?
Ensure you get a full version (not an upgrade version) and it comes with XP SP2 already.
Do not install Boot Camp on a critical machine and make regular backups of your data, this is beta software and there are bugs and issues.
5) I notice that sometimes the MacBook "stalls" or
doesn't work fast in some functions...is it just me -
I expect the machine to jump quickly...but sometimes
I get that annoying pinwheel when opening programs.
Are these Universal or PPC only applications?
iFelix -
Newb setup question re: 500 cannot compile error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
This is on the default index.jsp page that installs with Apache Tomcat/4.1.18... at http://localhost:8080/index.jsp which maps to C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\index.jsp
by now I have way too many java sdks installed...
C:\Program Files\Java\j2re1.4.1_01
C:\Program Files\Java\j2re1.4.0_03
C:\j2sdk1.4.0_03
C:\j2sdkee1.4
The first one I tried got me the same error I am getting now.. and since I have tried different versions changing JAVA_HOME
Right now..
JAVA_HOME = C:\j2sdkee1.4
CATALINA_HOME = C:\Program Files\Apache Group\Tomcat 4.1
I have no idea what's going on here not having much experience in settting up web servers or java SDKs. But in order to learn the stuff I have planned to I need teh following to get up and running on Win2K.. any help is greatly appreciated.
Java JDK 1.4.
Tomcat servlet\JSP engine 4.0.1.
MySQL database 3.23.46
If I stick a standard html page in the tomcat root it will show just fine.. so I suspect the whole Java thing is buggin for some reason.
Here's the full text of the returned error followed by the text of the index.jsp file
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Unknown Source)
Apache Tomcat/4.1.18
<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><%= application.getServerInfo() %></title>
<style type="text/css">
<!--
body {
color: #000000;
background-color: #FFFFFF;
font-family: Arial, "Times New Roman", Times;
font-size: 16px;
A:link {
color: blue
A:visited {
color: blue
td {
color: #000000;
font-family: Arial, "Times New Roman", Times;
font-size: 16px;
.code {
color: #000000;
font-family: "Courier New", Courier;
font-size: 16px;
-->
</style>
</head>
<body>
<!-- Header -->
<table width="100%">
<tr>
<td align="left" width="130"><img src="tomcat.gif" height="92" width="130" border="0" alt="The Mighty Tomcat - MEOW!"></td>
<td align="left" valign="top">
<table>
<tr><td align="left" valign="top"><b><%= application.getServerInfo() %></b></td></tr>
</table>
</td>
<td align="right"><img src="jakarta-banner.gif" height="48" width="505" border="0" alt="The Jakarta Project"></td>
</tr>
</table>
<br>
<table>
<tr>
<!-- Table of Contents -->
<td valign="top">
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
<tr>
<td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
<font face="Verdana" size="+1"><i>Administration</i> </font>
</td>
</tr>
<tr>
<td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
Tomcat Administration<br>
Tomcat Manager<br>
</td>
</tr>
</table>
<br>
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
<tr>
<td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
<font face="Verdana" size="+1"><i>Documentation</i> </font>
</td>
</tr>
<tr>
<td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
Tomcat Documentation<br>
</td>
</tr>
</table>
<br>
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
<tr>
<td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
<font face="Verdana" size="+1"><i>Tomcat Online</i> </font>
</td>
</tr>
<tr>
<td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
Home Page<br>
Bug Database<br>
Users Mailing List<br>
Developers Mailing List<br>
IRC<br>
</td>
</tr>
</table>
<br>
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
<tr>
<td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
<font face="Verdana" size="+1"><i>Examples</i> </font>
</td>
</tr>
<tr>
<td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
JSP Examples<br>
Servlet Examples<br>
WebDAV capabilities<br>
</td>
</tr>
</table>
<br>
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
<tr>
<td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
<font face="Verdana" size="+1"><i>Miscellaneous</i> </font>
</td>
</tr>
<tr>
<td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
Sun's Java Server Pages Site<br>
Sun's Servlet Site<br>
</td>
</tr>
</table>
</td>
<td> </td>
<!-- Body -->
<td align="left" valign="top">
<p><center><b>If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</b></center></p>
<p>As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:
<blockquote>
<p class="code">$CATALINA_HOME/webapps/ROOT/index.html</p>
</blockquote>
</p>
<p>where "$CATALINA_HOME" is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then either you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the Tomcat Documentation for more detailed setup and administration information than is found in the INSTALL file.</p>
<p><b>NOTE: For security reasons, using the administration webapp
is restricted to users with role "admin". The manager webapp
is restricted to users with role "manager".</b>
Users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.</p>
<p>Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation (including the Servlet 2.3 and JSP 1.2 API JavaDoc), and an introductory guide to developing web applications.</p>
<p>Tomcat mailing lists are available at the Jakarta project web site:</p>
<ul>
<li><b>[email protected]</b> for general questions related to configuring and using Tomcat</li>
<li><b>[email protected]</b> for developers working on Tomcat</li>
</ul>
<p>Thanks for using Tomcat!</p>
<p align="right"><font size=-1><img src="tomcat-power.gif" width="77" height="80"></font><br>
<font size=-1>Copyright © 1999-2002 Apache Software Foundation</font><br>
<font size=-1>All Rights Reserved</font> <br>
</p>
<p align="right"> </p>
</td>
</tr>
</table>
</body>
</html>I ended up uninstalling every java this and that.. and tomcat.
Then installing only the j2sdk1.4.0_03 SDK.
Then set up JAVA_HOME for all users and modified the path with full path to the bin (c:\j2sdk1.4.0_03\bin)
Lastly I reinstalled tomcat and, voila, everything was working.
It can be quite maddening when you THINK you did everything by the boook and something doesn't work. When you replied and confirmed that I was on the right track.. uninstalling and trying yet again became les frustrating an option.
Thanks.
BTW- I needed this env to do the projects in what sems to be a very interesting book.. "macromedia Flash MC application design and development" by Jessica Speigel .. published by New Riders.
Her flash help website is at www.were-here.com.. the projects in the book are for flash-based multiplayer games and multi-user formums and such. -
Newbie - JSP and TAG library problem
I am trying to execute a JSP program on a server with
jakarta-tomcat-4.1.29.
Here is a program:
<%@ taglib uri="testTagURL" prefix="testTagPrefix" %>
<testTagPrefix:myFirstTag/>
in web.xml I have definition:
<taglib>
<taglib-uri>testTagURL</taglib-uri>
<taglib-location>/WEB-INF/tld/testTag.tld</taglib-location>
</taglib>
I have testTag.tld file located at: /WEB-INF/tld
When I execute my program I am getting:
org.apache.jasper.JasperException: File "/test-jsp/testTagURL" not
found
My question: how come my program is looking for "/test-jsp/testTagURL" and
not for "/WEB-INF/tld/testTag.tld"?
Thanks,
Zalekmeans what it says.
If you look in the file WEB-INF/displaytag.tld you'll see it
has a definition for a custom tag, I'm guessing it's called column.
The tld states that this tag has an attribute called "value". ie that
in a jsp file you would write
<display:column value="SomeSuperValue" /> However the java class that implements that custom tag
does not have a setter method for value. ie. the class
org.displaytag.tags.ColumnTag is missing the method
public void setValue(String value) { .... } -
I'm really new at jsp, and have a frustratingly simple question. All I'm trying to do is get a .jsp page to display in internet explorer. So I create the file and put this in it:
<%
String test = "this is a test";
%>
<html>
<%=test%>
</html>
And nothing displays!!! I've also tried not using "Sting" before the variable, but it still shows nothing when I open the file in Internet Explorer. Any explanation would be appreciated.all I did was download and install j2sdkee1.2.1 from java.sun.com. (already having jdk 1.2.2 on my system) and then ran j2ee.bat (in ROOT:\j2sdkee1.2.1\bin). This started the J2ee server. Then all I did was put my .jsp files in the ROOT:\j2sdkee1.2.1\public_html folder and point my browser to http://localhost:8000/<name of jsp>.jsp.
So do I need to get Tomcat? -
Newbie: JSP Setup (WBL6) ? _ TIA
Hello, I am trying to test a simple JSP page i created ( JSP code =
"<%= "Hello" %>", but i am getting an error page (Error Message
described below)
I probably didn't set up correctly but I couldn't find anything on the
edocs about setting JSP.
This is what I did:
- Install Weblogic 6
- Found the path to index.html (http://localhost:7001/index.html)
- Created the sample JSP page and placed it on the same path as
INDEX.HTML
- Replaced index.html for mypage.JSP
(http://localhost:7001/mypage.jsp)
- Received error message.
- Thanks in advance for all your help
*** ERROR MESSAGE STARTS ******
Compilation of
'D:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_001.java'
failed:
D:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_001.java
error=2
Full compiler error(s):
java.io.IOException: CreateProcess: javac -classpath
D:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver;D:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver;d:\bea\jdk130\jre\lib\rt.jar;d:\bea\jdk130\jre\lib\i18n.jar;d:\bea\jdk130\jre\lib\sunrsasign.jar;d:\bea\jdk130\jre\classes;.;d:\bea\wlserver6.0\lib\weblogic_sp.jar;d:\bea\wlserver6.0\lib\weblogic.jar;null
-d
D:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver
D:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_001.java
error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:144)
at weblogic.utils.Executable.exec(Executable.java:108)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:359)
at
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:148)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:306)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
********* ERROR MESSAGE ENDS ************************
This might sound very silly, but when i download tomcat? do I need to upload that to my web space? Or jsp pages just won't work if my web space provider didn't offer that?
Do i need to install tomcat so that I can view it? or others can view it?
Sorry for the silly questions, but I am just so confused right now. Thanks for all the help. -
Newbie wireless question (slightly off-topic)
I didn't want to post this here as it's not entirely an Airport-specific question. I posted this to the iBook forums, but nobody there has answered so my apologies if this is not welcome here. (Any moderators can remove it if that's the case.)
I've been using computers extensively for over a decade, but I'm a total newbie to wifi. I just set up a wireless network in my house and would appreciate some advice/feedback.
My main concerns are whether or not my network is reasonably secure. I know there is no such thing as perfect security, but I don't know if what I've done is good enough or not.
I don't have an Airport base station, but I do have a D-Link Airplus G and an Airport card in my iBook. I have WEP set up on the router and I have enabled MAC filtering, listing only my desktop and my iBook, excluding all others from the network.
I'm fairly certain that nobody in my neighborhood is going to get into my machines this way or be able to sniff my network data stream, but am I right in assuming that nobody can "piggyback" on my Internet connection too? Presumably, if everyone but my own machines are MAC-filtered and kept out, then the Internet connection is also protected. Is that how it works?WEP and MAC filtering are better than nothing, but you can do better. These are my suggestions:
1. Use WPA with a pre-shared key (PSK) and TKIP encryption on your Netgear router, along with an alphanumeric passphrase of at least eight characters not found in any dictionary. The equivalent setting on your Mac is "WPA Personal". Unlike WEP security (which an expert can crack in under half an hour), WPA security is currently unhackable by any practical means as long as you use a non-dictionary passphrase. One last point - WPA security requires all your wireless Macs to be running MacOS 10.3 or newer.
2. MAC filtering is (these days) essentially useless as a wireless security method. Using "packet sniffing" of traffic on your wireless network to find out what MAC addresses are used by computers on your network, and a PC that allows its MAC address to be cloned so that it is identical to the MAC address of one your own wireless computers (which is possible with most PC wireless network adapters) even an amateur hacker can defeat MAC address filtering in minutes.
By the way - I don't think your posted message here is off topic. In my opinion, the Airport discussion forums are the best place to post any questions related to usage of wireless networks. Questions of this nature are virtually never specific to any Mac model. -
Abstract portal component and JSP question
Can we use htmlb components in abstractportal components.
I am using isolatedhtmlcontainer in abstractportal component and it is not compiling. It works fine with Dynpage component
Also one more question can we just write a JSP to get the userid of the portal. I tried typecasting request object to IPortalComponentRequest , but iam not able to get the userid . Can anyone suggest anything . I want get the userid from the jsp and pass this userid to asp as query string
Thanks
LAKYes you can create a JSPDynPage and define the component type as NativeJSP in portalapp.xml for e.g.
<i> <property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/YourJSP.jsp"/></i>
The explicit object for IPortalComponentRequest is componentRequest in JSP. The other way to get componentRequest is
IPortalComponentRequest currentRequest = (IPortalComponentRequest) pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST );
to get the user further just call currentRequest.getUser()
Maybe you are looking for
-
I'm not receiving e-mail on my iPad (3). I want to try deleting my yahoo mail account and reinstalling it, but when I go to settings to do this, it appears that I will lose my notes, calendars, reminders, etc. Is this right, or is there another way
-
List of GL Accounts with open item management
Hi Gurus, I want to see the list of GL accounts which is open item managed in my chart of accounts.Is there any table for this ? please reply soon its urgent.. Regards Jahnavi
-
Beginner trying to get my beans to work with jsp on tomcat
Please help me open my eyes! I know this is a stupid oversight on my part, but I've been working for days on getting other things to work on my tomcat server, so I'm out of ideas on this one. I've followed all the tomcat docs instructions on where to
-
Mobile homes unreliable and unstable
We are having major problems with Apple's mobile home sync. I hope you can help. I will also contact Apple support. When I hear something useful from them I will get back to this topic and add the info. We have a studio of 20 graphical workstations a
-
Hello, The application navigator in my JDev 10g stoped displaying the nodes extensions, like .jws or .jpr. Any ideas on how to fix it? Thanks for the help, Arie.