|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
configure web server to serve jsp and wml!?!
ok im tryin to view jsp on my openwave simulatir and it doesnt work, so i installed Tomcat5.5 sever to my pc..problem is im not sure wht to do now
ive heard i have to change MIME types..how do i do that??wheer shoudl i cchange it in which file/folder? and secondly i found the following:---------------------------------------------------------- you have to make sure you have JDK and well as SDK environment installed in your pc.. then... edit the autoexec.bat file.. with the following commands, change which ever directory that applies.. set TOMCAT_HOME=c:\tomcat set JAVA_HOME=c:\jdk1.3 path=%path%;c:\jdk1.3\bin;c:\jdk1.3\lib SET PATH=%TOMCAT_HOME%\bin;%PATH% set CLASSPATH=c:\jdk1.3\lib\tools.jar;%CLASSPATH% set classpath=c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\servlet.jar ----------------------------------------------------------- wheer can i edit to make the changes above as i cant seem to find an auotexec.bat file i dnt have JDK insatlled only J2re 1.4.2_05 and j2re 1.4.2_06 in the folder C:\Program Files\Java\j2re1.4.2_06how do i amke cnges so that i can view jsp on my openwave sim?? PLease help i am very confused!! Thanks guys xx ![]() |
|
#2
|
|||
|
|||
|
as for me, you just need to install java, tomcat,
and set the environment variables that you say... TOMCAT_HOME JAVA_HOME path=%path%;c:\jdk1.3\bin;c:\jdk1.3\lib PATH CLASSPATH classpath=c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\servlet.jar (you can do it :right clic in My Computer if you re in Windows,properties. then advanced options, there it is first try to get it in IExplorer before checking in openwave- if it work in IE, check your WML code, it is very sensitive. Good luck |
|
#3
|
|||
|
|||
|
there are no current envrionemnt variables, so do i need to create new variables with the above paths etc you suggested??
sorry i have never configured a server before, hence the 101 questions ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > configure web server to serve jsp and wml!?! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|